-
Notifications
You must be signed in to change notification settings - Fork 126
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
vnstati images in HiDPI res #226
Comments
The For the "images are too small" situation there are already two options available that can also be combined if needed:
In addition, try the |
Thanks for getting back. Yes, on second thought, blurriness is not what I'd describe the appearance on high res screens. While I do use a scaled resolution, the issue is still that they look more "at home" on standard non-HD displays. This includes the font in the images that look pixelated on hi res screens. On a 1366x768 monitor, where I use a 90% zoom, images and text look blurry, but at 100% zoom it looks great. |
The image output uses the built-in fonts from the graphics library (LibGD). All of those fonts are monospaced bitmap fonts and there's only few sizes available. That's why it's not possible to make the images any larger than what the The alternative would be to use TrueType fonts which LibGD supports too. However, with those the problem is that none is provided by default so at least some font would then need to somehow packaged with the distribution, which again adds more dependencies and possible licensing issues to think of. Having the possibility of providing any font would also result in much of the image output implementation needing to be rewritten to dynamically calculate the size of each image and element location depending on the spacing and size of the used fonts. That alone isn't a simple task and I've always hated non-bitmap fonts looking blurry when small point sizes are used so there hasn't really been motivation to push this forward. I suspect non-bitmap fonts wouldn't anyway solve the issue of images looking blurry when scaled to less than 100% of their original size. |
With high res monitors being the norm these days, vnstati images look blurry.
Can it be updated to generate high res images?
The text was updated successfully, but these errors were encountered: