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

2015-04-20 Thread Jeff Hain
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

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

2015-04-16 Thread Jeff Martin
I should have included a smiley when I suggested a 5k Retina monitor as a “workaround”. :-) Also, I should have mentioned that I was able to improve my text rendering significantly with: myText.setFontSmoothingType(FontSmoothingType.LCD) It isn’t as crisp as Eclipse, but I believe the

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

2015-04-16 Thread Mike
This has caused us a lot of sleepless days Blur issue and fonts Cross platform scaling Sent from my iPhone > On Apr 16, 2015, at 3:24 PM, Matthieu BROUILLARD > wrote: > > In my company at least in the business (healthcare in hospitals) we target > JavaFX for (as a replacement of old app

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

2015-04-16 Thread Matthieu BROUILLARD
In my company at least in the business (healthcare in hospitals) we target JavaFX for (as a replacement of old app in Swing) we for sure cannot ask our clients to change their computers/screen to have HiDPI... so having 5K screens, yes in 2045 perhaps. On Thu, Apr 16, 2015 at 7:12 PM, Jeff Martin

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

2015-04-16 Thread Jeff Martin
I’m surprised about the font size problem - If I create a font with new Font(“Monaco”, 10), text shows up the same size as it does in Eclipse. I don’t think there is a solution for the blurry problem, however, because there is no way to disable Antialiasing. In Swing, I was able to get crisp re

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

2015-04-16 Thread Phil Race
https://docs.oracle.com/javase/8/javafx/api/javafx/scene/text/Font.html#getDefault-- Gets the default font which will be from the family "System", and typically the style "Regular", and be of a size consistent with the user's desktop environment, to the extent that can be determined. -phil.

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

2015-04-16 Thread Damien Dudouit
Hello, I'm experimenting with Java FX on a Windows 7 machine, using Java 1.8.0_40. The *javafx.scene.text.*Font javadoc says : *The size of a Font is described as being specified in points which are a real world measurement of approximately 1/72 inch. * *[...] Note that the real world distances