-
Notifications
You must be signed in to change notification settings - Fork 72
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 should be optimized for common default grid sizes #41
Comments
Can you attach a screenshot, along with details on the monitor, resolution and OS? |
I don't think I'll be able to make it as sharp as a bit-mapped font. What I could try is to include the original x3270 bitmaps for the point sizes it provides, but I'm not sure how to do it. I now have the tooling to add custom grids to the working copy of the font, so some grid optimization is now easier to do. I'll mark this as an enhancement and leave it in the roadmap. |
I for one wouldn't want the jaggedness of the bitmap font; those who want it can install it already (xfonts-x3270-misc). As for blurriness of antialiasing, you can adjust it. A typical desktop environment offers four levels of hinting: "none" (most accurate but blurry), "slight", "medium", "full". You also need to make sure the subpixel layout matches that of your monitor: I see you have it set to RGB, which matches most LCDs in landscape mode, but fails badly if the screen is rotated. Generally, subpixel gives a significant improvement so you'd want it to be on: for example, my left screen is RGB so your sample looks sharp horizontally but my primary is VRGB so your sample is blurry like hell. |
Ok, sounds nice rbanffy. I'm looking into using gbdfed to create bitmap fonts from your ttf, but it's a huge amount of work. |
Before expending the work, you can simulate the result by disabling anti-aliasing. Doing this from the GUI affects all fonts on the system but requires the least amount of thinking; if you're satisfied with the result, you can write fontconfig configuration ( I just tried doing so, and the result is really ugly. No wonders — rbanffy's remake is meant for vector fonts, if you insist on bitmaps, you're better off installing the originals (or strictly speaking, something earlier in the chain of remakes). Package xfonts-x3270-misc appears to ship such a version (I didn't test it, though) — you won't get new glyphs rbanffy made, but it's likely the existing charset is enough for you. Note though that most GUI programs have X fonts explicitely disabled: on Debian-based distributions, to un-disable you'd want to delete |
Thanks kilobyte, |
@kilobyte is right, @tbalbers - directly generated bitmaps will be horrendous (unless I manage to add the grids and use those as guides). The xfonts-x3270-misc idea is probably a better one. I'm on a Mac now, so I don't know what is wrong with the bitmap font package and can be on no assistance until I get back to a proper computer. |
I'm not an expert on fonts, but it looks blurry on my computer when compared to the terminus font. Is this by design, and is there a way to avoid it?
The text was updated successfully, but these errors were encountered: