-
Notifications
You must be signed in to change notification settings - Fork 598
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
Bracket alignment issue #266
Comments
I think it is something with TTFAutohint. Perhaps you could use this tool (again!) to re-calculate or remove the hints and try out. |
cc. @lemzwerg |
Yes, chances are high that this is a hinting issue. Reason is that |
@lemzwerg |
@lemzwerg |
Correct. Alignment zones are limited to script-specific characters, and right now there are no custom alignment zones. Patches are welcome to improve that :-) |
@lemzwerg |
There are ideas to add 'character knowledge' to FreeType's auto-hinter (and thus to ttfautohint), for example that 'i' has a dot which must be always separated, or '~' which needs a wiggle at least two pixels high, etc., etc. The symmetry properties of brackets might also be part of that knowledge database. I won't work on such a feature in the near future; I would be glad if anyone could help... |
@TonCherAmi |
@be5invis sounds good, I'd be glad to test it out. |
@be5invis hey, I've tried the unhinted build and there doesn't appear to be any difference. However if I switch |
@TonCherAmi You used Freetype's auto hint? |
@be5invis, well, I'm not really sure, I have |
@TonCherAmi Your image is inconsistent with my results (taken from VTT). So maybe Freetype affected your hints. |
@be5invis so is Iosevka supposed to be used with all Freetype hinting disabled? It looks really blurry that way (both hinted and unhinted builds). |
@TonCherAmi |
1.14.1
Iosevka
withcv37
enabledGentoo Linux ~amd64
There appears to be an issue with vertical bracket alignment when using Iosevka with certain character heights.
Namely, when using GNU Emacs with character height of 14 (set by evaluating expression
(set-frame-font "Iosevka:pixelsize=14")
):As well as st with the same character height:
The issue seems to disappear if the character height is increased to 16:
In Emacs:
As well as st:
I have also not encountered this problem in any other font I tried:
e.g,
Pragmata Pro Mono
in Emacs, character height of 14:Monaco
in Emacs, same character height:Hopefully this can be fixed, as it is quite an eyesore and makes working with certain languages a rather unpleasant experience.
The text was updated successfully, but these errors were encountered: