How to fix padding in glyphs? #874
-
I'm trying to patch codicons into Firacode and I'm having some issues. It is adding a bottom padding to the glyphs. Is there a flag or a setting I can set to adjust this and fix it? This is how I patched it:
I installed the font from brew. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
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). And to answer the concrete question: There is no flag or option to manipulate the vertical alignment. As solution you might consider using I guess in your screenshot the 'wrong' icons are the blue box and the green wrench. That would be codepoints |
Beta Was this translation helpful? Give feedback.
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
andEB65
.