Text differences between OSes

Hervé Girod herve.girod at gmail.com
Sat Dec 26 22:24:18 UTC 2015


In my memory the point size in Unix systems and Windows do not consider the same default screen density. See this for example: http://www.rfwilmut.clara.net/about/fonts.html

Hervé

Sent from my iPhone

> On Dec 26, 2015, at 23:05, Tom Eugelink <tbee at tbee.org> wrote:
> 
> Maybe someone can help me get going on this: my 'unit' tests on some of the component in JFXtras fail when run on different operating systems; right now I'm running Debian next to Windows and rending the same Text node has different results: on Windows it is 847 pixels wide, on Linux it is 1083 pixels.
> 
> So I suspected that a different default font was the cause, so I setup Google Roboto on both systems, but even then I have 1786 vs 2000 pixels (13.64 vs 15.26 for a single "0" with Roboto Medium on font-size 24). What else besides the font can cause this difference?
> 
> Tom
> 


More information about the openjfx-dev mailing list