Skip to content
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

Font size for Linux probably incorrect #4

Open
navid-zamani opened this issue Oct 16, 2024 · 1 comment
Open

Font size for Linux probably incorrect #4

navid-zamani opened this issue Oct 16, 2024 · 1 comment

Comments

@navid-zamani
Copy link

Hey, is there a reason it's different between different OSes?
Or a properly configured system, 72pt is 1 inch, no matter what, right?
So for there even be any differences, the OSes must be misconfigured.

On my Linux system, the xrandr knows the precise screen dimensions and hence DPI. So it knows exactly how many pixels there are in one inch. This is normal for graphical virtual terminals on all Linux systems for at least 15 years. For textual virtual terminals, outside of X, only raster fonts are accepted anyway AFAIK, so this font won’t work.

So the suggested font size should be whatever is the native size of the font, that it was designed for. In pt or px, depending on what it was designed for. And please do not assume any weird DPI or UI scaling or whatever. (Maybe tell people that such things can mess it up.)

Hence… Can I ask for that proper, native font size, with no presumptions?

Thank you, for the effort and attention to detail! :)

@navid-zamani
Copy link
Author

navid-zamani commented Oct 16, 2024

Oh, and the source states “Use size 20 on Mac/Linux, size 15 in Windows.”, which is more in line with which OSes typically have the correct DPI set, and different from what your README states anyway. So… did you change things?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant