Hello! I’m trying to export ttf font to otf, but there is a following error:
MakeOTF error
cmap{plat=3,script=1,lang=0}: multiple glyphs (twosuperior,two.sups) mapped to code
Could you help me to find a solution to export it?
Thanks,
Daria
Hello! I’m trying to export ttf font to otf, but there is a following error:
MakeOTF error
cmap{plat=3,script=1,lang=0}: multiple glyphs (twosuperior,two.sups) mapped to code
Could you help me to find a solution to export it?
Thanks,
Daria
The glyphs “twosuperior” and “two.sups” both contain a unicode. Remove the unicode from one of them (probably from the “two.sups”).
Or simply disable or delete two.sups
. Glyphs will build the sups
feature from the *superior
glyphs.
Thank you for advices, but once I removed the unicode from “two.sups”, I got an error about “one.sup”. I removed the unicode there as well. But now I have another error:
MakeOTF error
cmap{plat=3,script=1,lang=0}: multiple glyphs (fi,f_i) mapped to code
Please try to read and understand the error message:
cmap
is the character mapping, meaning which glyph is being called when a code (Unicode) is being passed to the font. One or more Unicode values should be assigned to exactly one glyph.multiple glyphs mapped to code
means that one (Uni)code is mapped to more than one glyph. That is not allowed.(fi,f_i)
: The parentheses contain the names of the glyphs that share the same code.So in this case, it seems like you have two f-i ligatures. I would ask myself why there are two f-i ligatures, and decide if I simply want to remove one (probably the better idea), or just strip the Unicode of one of them.
What you could also do is let the application take care of it:
Read this tutorial for more things you can do: https://glyphsapp.com/tutorials/importing-existing-fonts