JetBrains / JetBrainsMono

JetBrains Mono – the free and open-source typeface for developers
https://jetbrains.com/mono
SIL Open Font License 1.1
10.57k stars 299 forks source link

Problem with feature freezing of ss19 #590

Closed th-bu closed 1 year ago

th-bu commented 1 year ago

I want to use the new ss19 ligatures as default so I tried to freeze this style set with OpenType Feature Freezer.

I used the following command:

pyftfeatfreeze.exe -f 'ss19,zero' -S -U ss19_zero JetBrainsMono-Regular.ttf ss19_zero_JetBrainsMono-Regular_z.ttf

and get the following errors:

WARNING: [applySubstitutions] Cannot remap 'exclam_equal.liga' -> 'exclam_equal.liga.ss19' because neither has a Unicode value assigned in any of the cmap tables.
WARNING: [applySubstitutions] Cannot remap 'exclam_equal_equal.liga' -> 'exclam_equal_equal.liga.ss19' because neither has a Unicode value assigned in any of the cmap tables.
WARNING: [applySubstitutions] Cannot remap 'equal_equal.liga' -> 'equal_equal.liga.ss19' because neither has a Unicode value assigned in any of the cmap tables.
WARNING: [applySubstitutions] Cannot remap 'equal_equal_equal.liga' -> 'equal_equal_equal.liga.ss19' because neither has a Unicode value assigned in any of the cmap tables.

I don't know if that is something that you can fix in the font. If not, then please close this issue.

th-bu commented 1 year ago

I would build myself a version with the ss19 ligatures as default but I just can't get gftools to run under windows 😕.

th-bu commented 1 year ago

I just read a little bit into how the feature freezer works and this can't be fixed in the font as this is just how the tool works.

Maybe we can get a version with the new ligatures as default someday as there is currently no way to use them in the JetBrains IDEs.

th-bu commented 1 year ago

I used https://mutsuntsai.github.io/fontfreeze/ for now so I guess this can be closed.