Skip to content

Vertial Mis-Alignment of Characters #2

Description

@erwin

I'm using the Hack Nerd Font. I've checked with kitty's --debug-font-fallback that it contains glphys for every unicode codepoint that I'm using.

Somehow the vertical alignment of some glphys is off.

Here is the .SVG after embedding the Hack Nerd Font
image

Notice how the alignment of some of the glphys is off...
image

image

Yet in the terminal with the same Hack Nerd Font everything is aligned properly.
image

I also tried this with FiraCode, but the results were about the same.

It's almost like the SVG can't find the glphy from these codepoints and is grabbing them from a different font, or maybe just rendering some codepoints at the wrong size...

SVG with Hack font embedded

220908-5Oey

SVG before font embedding

220908-5Oey-nofont

ASCIICast used to produce SVG

220908-5Oey.cast.zip

Font file embedded in SVG

Hack Regular Nerd Font Complete Windows Compatible.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions