afdko
afdko copied to clipboard
Add uforead test for transformed nested components
Suppose you have onequarter like this:
<glyph name="onequarter" format="2">
<unicode hex="00BC"/>
<advance width="850"/>
<outline>
<component base="one.numr"/>
<component base="fraction" xOffset="370"/>
<component base="four.dnom" xOffset="480"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0,1,0.8,0.2</string>
</dict>
</lib>
</glyph>
one.numr like this:
<glyph name="one.numr" format="2">
<advance width="370"/>
<outline>
<component base="one.sups" yOffset="-153"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0,1,0.8,0.2</string>
</dict>
</lib>
</glyph>
and four.dnom analogous to one.numr. Our current tests don't seem to catch some transform logic problems when reading these nested components with offsets.