Skip to content

How to fix padding in glyphs? #874

Answered by Finii
augustocdias asked this question in Q&A
Discussion options

You must be logged in to vote

The padding (i.e. vertical alignment) should not be wrong. Esp if you use a pre-patched font the algorithm should calculate the cell size and midline identical to the previous run (the run that created the font you fetched via brew).
This is puzzling.

And to answer the concrete question: There is no flag or option to manipulate the vertical alignment.

As solution you might consider using v2.2.0 RC instead, as that is prepatched with Codicons 1.5. Current seems to be 1.9.

I guess in your screenshot the 'wrong' icons are the blue box and the green wrench. That would be codepoints EA8C and EB65.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@augustocdias
Comment options

@Finii
Comment options

Finii Jan 9, 2023
Collaborator

@augustocdias
Comment options

@Finii
Comment options

Finii Jan 10, 2023
Collaborator

@augustocdias
Comment options

Answer selected by augustocdias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants