Closed guillem-catala closed 6 years ago
There is an agreement, that when some glyph is not defined, the font should map it to the glyph zero (which is usually a square).
So you can call Typr.U.codeToGlyph(font, charCode), and if it returns zero, the glyph is missing.
Hi I love this library! I have a question, is there any way to know if a glyph is missing? Some fonts have chars that are not designed and are usually represented by an square or empty space.