nerd-fonts icon indicating copy to clipboard operation
nerd-fonts copied to clipboard

Vertical alignment wrong?

Open Finii opened this issue 3 years ago • 0 comments

Discussed in https://github.com/ryanoasis/nerd-fonts/discussions/874

Originally posted by augustocdias August 10, 2022 I'm trying to patch codicons into Firacode and I'm having some issues. It is adding a bottom padding to the glyphs.

image

Is there a flag or a setting I can set to adjust this and fix it?

This is how I patched it:

fontforge -script font-patcher  /Users/augusto/Library/Fonts/Fira\ Code\ Retina\ Nerd\ Font\ Complete\ Mono.otf --custom codicon.ttf 

I installed the font from brew.


Additional info:

Can be reproduced with current master font-patcher, using v2.1.0 Fira Code NF and https://github.com/microsoft/vscode-codicons/blob/main/dist/codicon.ttf

Finii avatar Aug 15 '22 11:08 Finii