Poor font rendering..

Robert Fisher rfisher at tesis.de
Thu Mar 6 01:21:09 PST 2014


Hi all,

I think there is still room for improvement in terms of the 'contrast' or 'vibrancy' of fonts in JavaFX. Take a look at this example:

http://i.imgur.com/6qSamTO.png

I'm running Windows 7. What you are seeing is a screenshot of the default font, zoomed in 600%. The top text is JavaFX 8 (latest build as of 3 days ago). The bottom text is Outlook but could just as easily have been Firefox, Chrome, Word, or Eclipse SWT - they're all indistinguishable to me.

The JavaFX text doesn't look as vibrant. In particular the smoothing algorithm seems to be making poor colour choices for the vertical strokes. At 100% the difference is subtle but important.

I have the text fill set to Color.BLACK and the font smoothing type set to LCD. Is there something else I can configure to get more vibrant-looking fonts?

Cheers!
Rob


-----Ursprüngliche Nachricht-----
Von: openjfx-dev-bounces at openjdk.java.net [mailto:openjfx-dev-bounces at openjdk.java.net] Im Auftrag von Stephen F Northover
Gesendet: Mittwoch, 5. März 2014 18:30
An: Pedro Duque Vieira; OpenJFX Mailing List
Betreff: Re: Poor font rendering..

Hi Pedro,

Font rendering in FX8 is using the native rasterizer so the glyphs should be identical to what the operating system is rendering.  That said, we may have a bug. Please enter a JIRA with sample code and a screen shot of the bad rendering.  That will give us something concrete to work with.

Thanks,
Steve

On 2014-03-05 12:10 PM, Pedro Duque Vieira wrote:
> Hi,
>
> As evidenced by the screenshots in http://pixelduke.wordpress.com/ 
> blog posts about JMetro, javafx as noticeably poor font rendering 
> visuals. The most recent screenshots were taken on a windows 8.1 
> machine and the older ones on windows 7, using Segoe UI (windows 7 & 8 system font).
>
> 1- As this been reported?
>
> 2- Is the javafx team working on it?
>
> 3- Is there something the developer can do to increase font rendering 
> quality?
>
> Thanks!
> Best regards,
>
>




More information about the openjfx-dev mailing list