corrected several errors around type 1 fonts with custom encoding that define the 0 glyph for something other than .notdef. This screws with the order of glyphs in the FreeType scheme, making it inconsistent with the embedding code (which used font glyph indexing). the correction is carried out through doing a mapping between glyph index at font and at free type based on glyph names, or use glyph name where possible