Text differences between OSes

Tom Eugelink tbee at tbee.org
Sat Dec 26 22:05:34 UTC 2015


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