-
-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make UMS fully DPI aware #4437
Comments
|
This can be checked in the last v14.
|
renderers images on A note according to the readme : I see that some renderers images are not compliant with that. |
done in v14 |
Since Java9, Java take care of HDPI, by resizing fonts and images to keep the size ratio.
As fonts are dynamics, it handle it well.
For images, it will need a MultiResolutionImage with the main image that have the requested normal size (say16x16), and other images that have HDPI sizes (32x32 for a 200% dpi and so on).
For now, the 16x16 is just resized to 32x32 for 200%, ending in a blurry image, and even more blurry when the scale factor is 125% for example.
Now that I implemented
SvgMultiResolutionImage
that give a well sized image on demand, it can be easy to have a fully HDPI aware java GUI.We just need to change
PNG
GUI images toSVG
(Scalable Vector Graphics) one, that are scalable by essence.It will also solve this :
* @todo choose better icons for these
.The text was updated successfully, but these errors were encountered: