cffGlyphLoader top-level property
Implementation
Function cffGlyphLoader = (font, index, parseCFFCharstring, charstring) {
return () {
var glyph = new Glyph({"index": index, "font": font});
glyph.path = () {
var path = parseCFFCharstring(font, glyph, charstring);
path.unitsPerEm = font.unitsPerEm;
return path;
};
return glyph;
};
};