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
Compiling NotoSansArabicUI fails because of feaLib #447
Comments
by "shine through" you mean the semitransparent "cloud of accents" that is displayed as you click on an anchor in Glyphs.app, right? This issue is also somewhat related to this one because those glyphs you mentioned should not be considered mark glyphs by the mere fact that they contain some |
@punchcutter slightly unrelated question: what do you expect to happen for those glyphs only used as components in other composite glyphs and which are marked as non-export? That the composite glyphs that use them will be decomposed? |
No, “shine through” is the Glyphs term for using anchors from a component, the anchor propagation thing. I don’t know how Glyphs determines what should be propagated and what shouldn’t which is why I mention that as something to consider in a situation like this where a non exporting glyph is used as a component. Right, the way Glyphs handles non exporting components is to decompose them on export as far as I can tell. But the problem I see in this particular situation is that a glyph set to |
Getting a similar issue here whilst trying to generate comfortaa using fontmake v1.5.1
It genned fine using fontmake v1.3.0. I'll keep digging :-). I'm guessing this has been caused by the recent efforts to support abvm, blwm feats in ufo2ft. |
no need to dig, the issue is the same I pointed to above: |
Thank you. I'll revert to using v.1.4.0 for the time being. |
as I said, this is also related to googlefonts/ufo2ft#261 because that "tonos" glyph in Comfortaa should not be included in the mark feature, as it's not a Nonspacing combining mark, but it's a spacing mark. The current method is to treat as "marks" anything that contains some _ prefixed anchor. But apparently this is too "greedy", and may lead to that error, now that we are no longer creating separate lookups for each mark class. |
Eugh, Glyphsapp thinks it is one. In GlyphData.xml
Whilst it's actually a Symbol modifier I'll see what Georg says about this, https://forum.glyphsapp.com/t/glyphdata-xml-revise-mark-category-glyphs/9234 |
the subCategory for tonos is Spacing. |
GDEF GlyphClassDef 3 is for "combining marks" only (those with 0 advance width that are positioned via GPOS mark/mkmk), not any mark glyphs |
This is really a ufo2ft and/or fontTools.feaLib issue, but I'm not sure where this should be handled since it seems to rely on Glyphs-specific behavior.
What happens is that there are non-exporting glyphs in the font that have anchors on them. These are added to the UFO, but since they are not exported the anchors should be ignored when building the GPOS. Since they are read by feaLib there are conflicts like this:
fontTools.feaLib.error.FeatureLibError: <features>:1956:9: Glyph twodotsverticalabove-ar.small cannot be in both @MC_top and @MC_center
This glyph is only used as a component so isn't exported, but it has some anchors on it (here it has both a 'top' and a 'center' anchor). In this particular case those anchors are totally pointless, but in many cases non-exporting glyphs might have anchors that "shine through" in Glyphs app so might be needed. But these should never be put in the GPOS for glyphs that will not export.
The text was updated successfully, but these errors were encountered: