Open emmamarichal opened 3 days ago
This looks like a bug in the font sources.
When we compile a font we have some features - kern
, dist
, mark
, mkmk
, abvm
, blwm
- which are not normally written explicitly as feature code. Normally, we generate these features from the kerning tables and anchors in the font sources. So the question is, what happens if you want the attachment rules from the anchors and you want to write your own attachment rules?
The way ufo2ft/fontmake works is that if you provide your own "manual" feature code for any of these features, this is used instead of the automatically generated code. If you want to use both the data from the anchors in the glyphs and also manual feature code, you need to ask for it. So in your kern
, mark
and mkmk
features, write this:
# Automatic Code Start
e.g. in mark
:
# Automatic Code Start
pos @afrcNumerators' lookup MARK_LKP_1 @afrcBars @afrcDenominators @afrcDenominators @afrcDenominators @afrcDenominators @afrcDenominators @afrcDenominators @afrcDenominators @afrcDenominators @afrcDenominators @afrcDenominators;
This will tell fontmake where to place the automatically generated rules. (Because you might want the automatic rules before or after your manual rules.)
@simoncozens Ok I see, thank you! I'll try this 👌
Hello!
cc @simoncozens @vv-monsalve I post the issue here, since I have the same result with
gftools builder
, but a different one by exporting from Glyphs.This concern the fail:
🔥 FAIL Shapes languages in all GF glyphsets
.When I export the font from Glyphs, this is the list I got:
🔥 FAIL Shapes languages in all GF glyphsets.
GF_Phonetics_SinoExt glyphset:
GF_Phonetics_SinoExt glyphset:
But, when exporting with fontmake or gftools builder, I got a very long list I can't even copy/paste here. -> report.md.zip
The file has some complex anchors like this, but even if I simplify them, it doesn't solve the fail.
Here you can find: