Re: [OpenJDK 2D-Dev] Possible solution for font-rendering issues in Windows

2019-05-14 Thread Phil Race
It was very deliberate that advances from the JDK's rasteriser was used because many applications were very sensitive to metrics. This was back in the T2K days and it just carried over to freetype. It worked out just fine with T2K but not so much with freetype I don't think I want to just take

Re: [OpenJDK 2D-Dev] Possible solution for font-rendering issues in Windows

2019-05-14 Thread Dmitry Batrak
Hello, > I'm speculating here, but perhaps the issue is that glyphs are being positioned using Freetype while the actual glyph rendering is using GDI, and there is a disagreement between the two systems re: kerning? > The issue does seem to be limited to the kerning between glyphs and not the actu

Re: [OpenJDK 2D-Dev] Possible solution for font-rendering issues in Windows

2019-04-30 Thread Judith Rohloff
ag, 28. April 2019 17:26 An: 2d-dev@openjdk.java.net Betreff: [OpenJDK 2D-Dev] Possible solution for font-rendering issues in Windows Apologies if this is not the correct channel for this email. From what I can tell, Freetype 2.7 contained a change in hint processing that led to poorer quality font ren

Re: [OpenJDK 2D-Dev] Possible solution for font-rendering issues in Windows

2019-04-28 Thread Peter Harvey
On Sun, Apr 28, 2019 at 1:05 PM Phil Race wrote: > One thing to add is that Swing on Windows will use LCD text in all cases I > can think of and that is rendered by Windows/GDI not free type. > Line and glyph spacing may still be affected (come from freetype) but not > the glyph image itself. > S

Re: [OpenJDK 2D-Dev] Possible solution for font-rendering issues in Windows

2019-04-28 Thread Phil Race
One thing to add is that Swing on Windows will use LCD text in all cases I can think of and that is rendered by Windows/GDI not free type. Line and glyph spacing may still be affected (come from freetype) but not the glyph image itself. So it would have to be some custom rendering in another mode

Re: [OpenJDK 2D-Dev] Possible solution for font-rendering issues in Windows

2019-04-28 Thread Philip Race
On 4/28/19, 8:25 AM, Peter Harvey wrote: Apologies if this is not the correct channel for this email. It is, but if you want to send any more emails to this list, you will need to subscribe. From what I can tell, Freetype 2.7 contained a change in hint processing that led to poorer qualit

[OpenJDK 2D-Dev] Possible solution for font-rendering issues in Windows

2019-04-28 Thread Peter Harvey
Apologies if this is not the correct channel for this email. >From what I can tell, Freetype 2.7 contained a change in hint processing that led to poorer quality font rendering on Windows. Any OpenJDK distribution using Freetype 2.7 or higher (ie. most distributions) will have poorer quality font