FXCanvas looks blurry on HiDPI [message #1827148] |
Fri, 08 May 2020 05:28  |
Eclipse User |
|
|
|
Hey everybody.
I have an Eclipse 4 RCP (using Java 8) based tool in which JavaFX is embedded using FXCanvas. SWT is scaling fine on Windows HiDPI but the FXCanvas scaling seems to be messed up and looks very blurry (especially the font sizes).
The JavaFX content is defined by fxml and css. The css style already uses em for font sizes so I would have expected to have at least a nicely scaled font.
My main question is, what is probably causing this messed up scaling? Is it on SWT side or is it JavaFX? When I turn off SWT autoscaling, it looks way much better.
Maybe someone has an advice for me here. I already did a lot of research on this whole scaling topic and I feel like I ran into a dead end. Most of the information were either about only SWT or JavaFX but not for a mixed up application.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03192 seconds