You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… resulting in overlaps not being removed in the OTF file.
The attached UFO file (c/o @rbmntjs) has a singe AE glyph, drawn with overlaps.
Nevertheless, it does not make it through the FDK workflow, and I have finally found out why:
Consider the following steps:
① remove overlap
$ checkoutlinesufo -e SerifText-Bold.ufo
AE There is an overlap.Done with font
checkoutlinesufo recoginzes the overlap – great!
② generate OTF
$ makeotf -f SerifText-Bold.ufo/
makeotf [Warning] Could not find default features file at 'None'. Font will be built without any layout features.
makeotfexe [NOTE] Adding glyph .notdef, SID 0.
Built development mode font 'SerifText-Bold.otf'.
The new UFO still has the overlaps in it, which means they are present in the OTF as well.
By coincidence I found out the reason for this is the glyphname-to-filename writer in checkoutlinesufo.
As is obvious, A_E_.glif is not equivalent to AE_.glif, which is why makeotf does not recognize them as equivalent. When I rename the latter to A_E_.glif (and re-wire in contents.plist), everything works as expected.
I suggest for makeotf to compare the glif files through the contents.plist rather than their file names.
An intermediate solution for Robin might be normalizing the UFO file before running checkoutlinesUFO.
AFAICT checkoutlinesUFO is not doing anything wrong; the GLIF files it writes in glyphs.com.adobe.type.processedglyphs have a normalized filename, but that's a good thing, I think.
I'll leave this issue open until #740 is fixed.
… resulting in overlaps not being removed in the OTF file.
The attached UFO file (c/o @rbmntjs) has a singe AE glyph, drawn with overlaps.
Nevertheless, it does not make it through the FDK workflow, and I have finally found out why:
Consider the following steps:
① remove overlap
checkoutlinesufo recoginzes the overlap – great!
② generate OTF
③ convert back to UFO
The new UFO still has the overlaps in it, which means they are present in the OTF as well.
By coincidence I found out the reason for this is the glyphname-to-filename writer in
checkoutlinesufo
.This is the original file tree of the UFO file:
Here is how it looks after running checkoutlinesufo:
As is obvious,
A_E_.glif
is not equivalent toAE_.glif
, which is whymakeotf
does not recognize them as equivalent. When I rename the latter to A_E_.glif (and re-wire in contents.plist), everything works as expected.I suggest for makeotf to compare the glif files through the contents.plist rather than their file names.
An intermediate solution for Robin might be normalizing the UFO file before running checkoutlinesUFO.
SerifText-Bold.ufo.zip
The text was updated successfully, but these errors were encountered: