John H: In JFX we decided to go with sub-pixel positioned text (as opposite to pixel grid aligned).
That said, on Windows for grayscale text, we are not doing that (yet). Are you running Windows, with D3D pipeline ? I would need to see a picture to be sure I understand the problem you describe. Felipe On Aug 21, 2013, at 10:19 AM, John Hendrikx wrote: > I think I also noticed a change in font rendering around b99 somewhere... the > fonts seem to be thinner than before, or perhaps more poorly aligned with > pixel boundaries. I'd prefer glyphs laid out in the same way each time, ie. > letters are always on a new pixel boundary, so the same letter will look the > same regardless of what preceeds it. I have LCD rendering turned off as I > donot appreciate colored fringes on my glyphs. > > On 21/08/2013 14:53, John C. Turnbull wrote: >> I have only really tested JavaFX extensively on Windows so my comments here >> apply mainly to that platform. >> >> >> >> It seems that even with a font smoothing type of LCD, font rendering in >> JavaFX is not at the same level of quality of native applications. My >> current experiences are with JavaFX 8 b103 and I find that all rendered text >> in JavaFX appears of a significantly poorer quality than that which I would >> see in Word for example or even in IE10 (which I believe uses the same text >> rendering engine). Also, these observations are based on text in "standard" >> controls and the quality of font rendering is dramatically worse within the >> Canvas control. >> >> >> >> I am not an expert in font technology but I have read many times that the >> levels of antialiasing for text that can be achieved in a GPU-based renderer >> are always going to be less than that achieved in a CPU-based renderer. >> This is often explained on the basis of graphics card drivers being >> optimised for performance and the rapid rendering of triangles commonly >> required in games rather than for rendering quality when it comes to text. >> >> >> >> Is this the reason why JavaFX font rendering appears less legible and of a >> lower quality than native apps? >> >> If so, how does IE10 for example achieve a higher quality of rendering when >> it seems to also use DirectWrite? >> >> Is the quality of JavaFX font rendering ever going to improve? >> >> >> >> Thanks, >> >> >> >> -jct >> >