Got it, thanks! On another note, is there any script that toggles the mask/reverse option without having to select the components in each and every layer?
for l in Font.selectedLayers:
count = 0
for c in l.components:
if c.attributeForKey_("mask"):
count += 1
c.removeAttributeForKey_("mask")
c.setAttribute_forKey_(1, "reversePaths")
print("%s: %i components reversed." % (l.parent.name,count))
print("Done.")
It will turn Mask off and Reverse on for all components with the Mask option in selected glyphs.
Hi there, I wanted to follow up on this as Reversed components don’t seem to export as they should in variable fonts. Any clue why? It used to work just fine till the latest export and it affect 6 out of 9 numbers.
You are using the .dnom figures inversed on black background. In all instances in Font Info > Exports, remove the Filter and add a PreFilter with the following code:
Thanks for the hint! This solves the .otf overlaps but doesn’t apply to the VF instance, in which the figures are still not exporting. I could remove overlaps manually but the shapes would change in the interpolations.