Poor quality font rendering
Felipe Heidrich
felipe.heidrich at oracle.com
Thu Aug 29 08:38:16 PDT 2013
I need to know what is been tested (the code snippet that created the JFX sample) and native app that produced the other sample.
I think what is going on there is that in JFX we are producing our own subpixel glyphs in the shader (instead using DW to produce subpixel glyph images).
Note the current JDK approach as an a big advantage that we only need to store a single glyph image in the glyph cache's texture.
Using DW to produces subpixel images we will use 3 or 4 times more texture space.
Please, add the screenshot information to https://javafx-jira.kenai.com/browse/RT-14187 so I can look at it.
Thank you
Felipe
On Aug 29, 2013, at 12:27 AM, John C. Turnbull wrote:
> These observations are consistent with what I have been experiencing and
> trying to describe.
>
> There is still quite a difference between native text and JavaFX text with
> native text certainly looking better.
>
> Is there any hope that this will improve? It may sound petty/minor but to
> me this is critical to fix.
>
> -jct
>
> -----Original Message-----
> From: openjfx-dev-bounces at openjdk.java.net
> [mailto:openjfx-dev-bounces at openjdk.java.net] On Behalf Of Robert Fisher
> Sent: Thursday, 29 August 2013 17:21
> To: openjfx-dev at openjdk.java.net
> Subject: RE: Poor quality font rendering
>
> Ok so apparently I can't send .bmp attachments to this list. Here's an imgur
> link:
>
> http://imgur.com/d5AiHFk
>
> It looks identical to the .bmp, as far as I can tell.
>
> Cheers,
> Rob
>
>
> -----Ursprüngliche Nachricht-----
> Von: openjfx-dev-bounces at openjdk.java.net
> [mailto:openjfx-dev-bounces at openjdk.java.net] Im Auftrag von Robert Fisher
> Gesendet: Donnerstag, 29. August 2013 09:07
> An: openjfx-dev at openjdk.java.net
> Betreff: RE: Poor quality font rendering
>
> Hi all,
>
> I've done a few tests to compare font rendering between JavaFX and something
> native on my 64bit Windows 7 machine. I used Firefox to test native font
> rendering, and JavaFX 8 b100 (my apologies if something's been fixed since
> then), using the code Phil just posted to create a Label, explicitly
> specifying black text & a white background. The font is the default one:
> Segoe UI, size 12.
>
> I've attached a screenshot of the word 'Entry' blown up 400%, with the
> native text on the left. They are similar but the native text is slightly
> darker. This is actually quite significant - when viewed at 100% the native
> text looks clearer and more vibrant.
>
> The right side of the 'r' is also cut off in the JavaFX case. Is this
> related to https://javafx-jira.kenai.com/browse/RT-14187 ? And is there
> anything I can do to increase the 'blackness' of my JavaFX text and make it
> more like the native text?
>
> Thanks for the help.
>
> Rob
>
>
>
>
>
>
More information about the openjfx-dev
mailing list