-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ligatures not working in some situations after patching Iosevka #1000
Comments
I'm unable to reproduce this anymore with the latest version of the font patcher. I'm not sure if it was previously caused by a problem with my setup or the patcher itself. |
On August it worked well with the following versions: But ligations disappeared when I upgrade iosevka to 16.6.0, after also upgrade Nerd Fonts to v2.3.0-RC (3.2.1) on master branch. I patch ttf fonts using for f in `find iosevka0828 -type f`; do ./nerd-fonts/font-patcher $f --complete --quiet --windows --mono --outputdir ./iosevka0828nf 2>/dev/null 1>&2; done and add flag for f in `find iosevka0828 -type f`; do ./nerd-fonts/font-patcher $f --complete --quiet --windows --mono --makegroups --outputdir ./iosevka0828nf 2>/dev/null 1>&2; done I didn't remember how I patched Iosevka on August, I will try again with 16.0.1 version later. Compile failed with Iosevka 16.0.1 so I tried 16.3.6 and ligations worked well! |
Maybe you should raise a new Issue, or are the details the same? If this is the same as Bahnschrift's: (Usual questions, answer all that are relevant)
When self-patching (except when using docker) which version of Please add description of concrete problem, best with screenshot. Any links to your font files? |
When this worked for me 2 days ago, I was using Iosevka 16.5.0 and font patcher 2.3.0 (3.2.1? not sure how the versions work), which were both the latest releases at the time. |
@Bahnschrift thank you. The first number is the "Nerd Font Release" number (at the moment 2.3.0-release_candidate), while the second number is independent from that the version of the patcher itself (because it is updated far more often then there are releases). My questions above were for @realth000
|
Yes, I checked again, the same. Font name'Iosevka1204 Extended Nerd Font Complete Windows Compatible Bold Italic.ttf''Iosevka1204 Extended Nerd Font Complete Windows Compatible Bold.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible ExtraBold Italic.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible ExtraBold.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible ExtraLight Italic.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible ExtraLight.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Heavy Italic.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Heavy.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Italic.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Light Italic.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Light.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Medium Italic.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Medium.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible SemiBold Italic.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible SemiBold.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Thin Italic.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible Thin.ttf' 'Iosevka1204 Extended Nerd Font Complete Windows Compatible.ttf' Download not patched Iosevka fonts I patched fonts with:
Patch command (already use for f in `find iosevka1204-1205 -type f`; do ./nerd-fonts/font-patcher $f --complete --quiet --windows --makegroups --careful --outputdir ./iosevka1204-1205NF-2 1>log 2>&1; done Patch command log: I use patched fonts in:
|
There was a bug in Edit: Correct release name (swap month and year) |
@realth000 Thanks for the detailed report with all the files. I downloaded one set as example... [...] .... Lots of errors in the version you patched when opening in but none after patching with Unfortunately we can not detect the errors from script side. That is purely a bug in Edit: Add this image where the command lines can be seen: |
That (the internal fontforge error message window) is the same error as @Bahnschrift described in the original Issue description. So maybe that is also a hint for Bahnschrift to use a more recent fontforge. |
Back when it wasn't working for me, I tried with both the March 2022 release of fontforge (at least, I'm fairly sure I did) and with fontforge built straight from the main branch of the source. As far as I can tell, it was either updating my copy of iosevka or the patcher script that fixed it for me. |
Just for the protocol:
It can be missleading to call it such, because they have
(Yes, with the order differnt 😬) This looks like any pre March 2022 Release export. You can in principle not tell |
I should probably add that when I did get it to work, I was using fontforge built from this commit. |
I built latest fontforge and it works well with latest Iosevka. Thanks!!! @Finii @Bahnschrift |
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:
Font ligatures are not working in some environments on a patched custom build of Iosevka. They seem to show up fine in Windows Terminal, but don't work at all in IntelliJ or VSCode, even with the appropriate settings to enable font ligatures. Ligatures work fine with the unpatched font.
🔧 Your Setup
I'm using the following Iosevka build plan:
I've also uploaded the
.ttc
here. I'm patching the font on WSL with./font-patcher iosevka-custom-sans.ttc --complete --mono
.★ Screenshots
When opening the patched font in fontforge, I get this message:
I'm not sure whether it is related or not, but I'll include it here just in case.
The text was updated successfully, but these errors were encountered: