Closed Mano-Liaoyan closed 1 year ago
Sorry to hear of your problem.
Maybe https://github.com/ryanoasis/nerd-fonts/issues/850#issuecomment-1500428279 can help you?
Which version of the patcher did you use (Nerd Fonts version number but more importantly the additional version in parens)?
Maybe we should add a commandline option to select one of the three different heights...
Also compare
Thank you for your kind reply Finii! I've followed the instruction for font-line, however, even if I tuned the percent value to 1, it also shifts down a bit and makes the whole format look so tight.
Looks good in fontforge
But not in terminal
In Windows:
You can see the j and f are not shown correctly
I wonder if there are other solutions. Thx.
Btw, Nerd Fonts version:
I have only the demo here... (also downloaded from myfonts)
The problem with this font is that it has 'contradicting' baseline to baseline distances encoded:
The problem is in these metrixes
[OS/2] TypoAscender: 800
[OS/2] TypoDescender: -200
[OS/2] WinAscent: 1136
[OS/2] WinDescent: 331
[hhea] Ascent: 1136
[hhea] Descent: -331
[hhea] LineGap: 200
[OS/2] TypoLineGap: 200
When I patch I get this output:
Needed to help with one of my kids homework :grimacing: Let me examine your new comment...
Oh, you use v2.3.3 (3.5.1)
, but there is a bug exactly causing your problem that has been fixed with 3.5.7
see https://github.com/ryanoasis/nerd-fonts/issues/850#issuecomment-1431787822. Current is 3.6.1
.
Haha, have fun with your kids! It's not emergence here :) . I also get the warning that reminds the vertical metrics are not consistent,
However, when I used the linegap version, the warning disappear,
If you don't mind, I can send an email to you that contains the font files
This is the font-patcher
version I use:
If you can update to at least 3.5.7
you should be able to patch yourself. If not, feel free to mail me the file(s) and I can patch them for you with v2.3.3
style or v3.0.0
;-D
(Please specify which options you need, probably -wc
.)
Btw, if you patch more than one font (e.g. Medium and Bold or Medium and Medium-Italic, or even more) you should add --makegroups
to avoid the broken old naming scheme.
Edit: Well, in fact you should always add that
You seem to not-use the docker image. Probably you use the zip file.
The up-to-date master
zip is not on the Release page but here https://github.com/ryanoasis/nerd-fonts/blob/master/FontPatcher.zip
You seem to not-use the docker image. Probably you use the zip file. The up-to-date
master
zip is not on the Release page but here https://github.com/ryanoasis/nerd-fonts/blob/master/FontPatcher.zip
Great! I have all the work done! Thanks a lot for your generous help!
All the icons are presented and fonts are correctly displayed! To you with all my sincere respect! Have a great day!
@Mano-Liaoyan I have the same issue and I'm failing to understand how you've set the correct line height
This is using the latest version of font-patcher
(it results in too much space between lines)
edit: I just saw you're using 2.3.3
edit2: I tried with but also got an error :
this time it looks like the lines are too thin compared to the size of the characters
@remiconnesson Apologized for letting you wait for sooo long. I have not noticed this reply at all QAQ.
It seems that your command is different from mine.
Maby you can try the script above?
fontforge font-patcher -wc --makegroups *.otf
@remiconnesson
Ah I see from the WARNING that there might be a problem with the metrics source in your case. The PR
would enable you to patch the height as you want. Not sure why I did not pull that yet :thinking:
Because the line height is not consistent in that ComicCode it depends on your platform which line height is displayed for the unpatched font. Nerd Fonts unifies the line height (it can not possibly work if the line height is unknown or can vary platform to platform), so it has to choose one.
Please ping me if #1300 is not pulled soon ;-) I might forget it.
Also if you specify --debug 2
on your runs I will possibly more debug infos in your screenshots to work with.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.
🗹 Requirements
🎯 Subject of the issue
Experienced behavior:
The line height is different after patching, but you can see longer characters display incorrectly
Expected behavior:
Example symbols:
🔧 Your Setup
Anonymice Powerline Nerd Font Complete.ttf
)?iterm2
,urxvt
,gnome
,konsole
)?★ Screenshots (Optional)