[OpenJDK 2D-Dev] [9] Review request for 8073400: Some Monospaced logical fonts have a different width

dmitry markov dmitry.markov at oracle.com
Fri Feb 5 11:51:28 UTC 2016


Could anyone review the fix, please?

Thanks in advance,
On 20/01/2016 12:34, dmitry markov wrote:
> Hello,
> Any volunteers to review the fix?
> Thanks,
> Dmitry
> On 14/01/2016 13:32, dmitry markov wrote:
>> Hello,
>> Could you review the fix for jdk9, please?
>>     bug: https://bugs.openjdk.java.net/browse/JDK-8073400
>>     webrev: http://cr.openjdk.java.net/~dmarkov/8073400/jdk9/webrev.00/
>> Problem description:
>> On Windows some characters (in particular, left and right double 
>> quotation marks) have width differing from other characters' widths, 
>> when Monospaced logical font is used.
>> The default monospaced font for windows platform is Courier New. It 
>> contains the desired characters, (i.e. '\u201c' and '\u201d'). 
>> However the characters are in 'exclusion ranges' for this font due to 
>> settings in windows.fontconfig.properties. So when we try to obtain 
>> glyphs for these characters and calculate their bounds, we fallback 
>> to another font (Lucida) and use its glyphs.
>> Fix:
>> Remove the following set of characters u2018 - u201F from the 
>> exclusion ranges.
>> Thanks,
>> Dmitry

More information about the 2d-dev mailing list