Font size, dpi and text crispness (snapping to pixels)

Jeff Hain jeffhain at
Mon Apr 20 19:46:18 UTC 2015

Matthieu BROUILLARD wrote :>myText.setFontSmoothingType(FontSmoothingType.LCD)

Tried it, but it didn't give consistent results across 90 degrees rotations (using GraphicsContext.transform(...)),i.e. text for 90 and 270 degrees is in some places quite thicker (well, quite = 1 pixel, but easy to see)than text for 0 and 180, whereas with FontSmoothingType.GRAY (the default) text remains quite alikeacross all these rotations.
(was using Lucida Console, size 20)



More information about the openjfx-dev mailing list