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

Fix width of glyph 'grave' #11

Merged
merged 1 commit into from
Oct 23, 2019
Merged

Conversation

Finii
Copy link
Collaborator

@Finii Finii commented Oct 22, 2019

[why]
On Applications that can work with ligatures and non-monospaced fonts
the grave accent is handled as if it has zero width. The next character
is drawn directly on top of the accent, resulting in an accented letter
(where there is none) or only one accent if there are many consecutive
ones.

[how]
It is not clear why the character fails to have any width, but if the
glyph type is set to handle this glyph as ordinary character the
handling is ok. Somehow the autodetection of glyph type is broken?

Fixes: #5
Signed-off-by: Fini Jastrow ulf.fini.jastrow@desy.de

[why]
On Applications that can work with ligatures and non-monospaced fonts
the grave accent is handled as if it has zero width. The next character
is drawn directly on top of the accent, resulting in an accented letter
(where there is none) or only one accent if there are many consecutive
ones.

[how]
It is not clear why the character fails to have any width, but if the
glyph type is set to handle this glyph as ordinary character the
handling is ok. Somehow the autodetection of glyph type is broken?

Fixes: 5
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@adam7 adam7 merged commit 847fd53 into adam7:master Oct 23, 2019
@adam7
Copy link
Owner

adam7 commented Oct 23, 2019

@Finii Thanks for this and the other fixes 🙇‍♂️

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

Successfully merging this pull request may close these issues.

VSCode: wrong display 3 backtick characters
2 participants