FXCanvas looks blurry on HiDPI [message #1827148] |
Fri, 08 May 2020 09: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.
|
|
|
|
Re: FXCanvas looks blurry on HiDPI [message #1827176 is a reply to message #1827153] |
Sat, 09 May 2020 10:44   |
Eclipse User |
|
|
|
But one warning - performance degrades dramatically because you now need to up and down and upload twice as many pixels. So we built other solutions for our customers, providing much better performance and fix even the HiDPI problem in a Java8 world.
|
|
|
Re: FXCanvas looks blurry on HiDPI [message #1827226 is a reply to message #1827176] |
Mon, 11 May 2020 06:19   |
Eclipse User |
|
|
|
Thomas Schindl wrote on Sat, 09 May 2020 10:44But one warning - performance degrades dramatically because you now need to up and down and upload twice as many pixels. So we built other solutions for our customers, providing much better performance and fix even the HiDPI problem in a Java8 world.
Thank you for your answer.
What other solutions are you talking about? Where can I find them?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03013 seconds