-
-
Notifications
You must be signed in to change notification settings - Fork 627
Underscore too thin, too low, and blurry. #98
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
Comments
How does the ttf build render for you? In general I would recommend it for screen use over the otf files on Linux. |
interesting OK. I will take a look at it. thanks for reporting this. |
@lluixhi thank you very much for all of these screenshots Aric. These are very helpful. I have other issue reports on the tilde glyph. We will definitely address all of these. I will need to look into the box glyphs to see how they align with the underscores. It looks like this is in part a vertical metrics issue (box glyph too close to the underscore) and a horizontal alignment issue (orientation of underscore to the top of the box glyph) if I understand you correctly. The tilde issue is a separate one. That appears to be related to hinting. We are working on hinting in the ttf builds in other issue threads. The otf instruction sets will be addressed once I have a solid ttf build as the TrueType files are more widely used and across most platforms will display better on the screen than the otf builds. What Linux distro are you on by the way? |
Yes, that's correct. I'm on Gentoo using Freetype 2.6. I'm using ST, the suckless terminal: http://st.suckless.org/ (That's what I took the screenshots in). I think the main reason people on Fedora, Debian, etc. see different results in the font rendering is different distro defaults. I'm pretty sure Fedora turns off the LCD filter (sub pixel rendering) by default due to potential patent issues. Ubuntu and maybe Debian turn it on by default. Fontconfig/Freetype defaults to Full Hinting and no subpixel rendering, with enabled antialiasing (i believe).. but Ubuntu uses a patched freetype that might change that behaviour. People using Infinality (a popular patched freetype) are also going to see different results because it tries to mimic rendering on OSX and Windows. |
@lluixhi headache source #1 at the moment! But a problem that we need to deal with. We will try to make it as usable as possible for everyone. It is likely to take a combination of changes in glyph shapes / alignment and hinting across the TrueType and PostScript builds. Fortunately there are developers across a broad range of renderer, editor, platform combinations who have been willing to test. |
The position of the underscore is too low in the source and it is off center. I will correct these and plan for this change to be in the next release. Let me get some additional feedback about the vertical width of the underscore stroke on other platforms before we introduce this change. |
New test build v2.014 is available that addresses this issue. Vertical metrics were updated, the underscores were made slightly larger in the vertical dimension and they were properly centered. Files are available in #111. Please let me know what you think. |
Closing as solved. Please feel free to reopen if the current build does not address your issue. Thanks for the report. |
I'm using Linux with the OTF version 2.0.13. My editor is NeoVim.
When lines containing the underscore are right above a cursor, or another character that fills a box (cell?), they're almost indistinguishable from spaces.
And as said in #97, it looks like the right hand spacing is too big. (They're not centered!)
The text was updated successfully, but these errors were encountered: