Using FreeType 2 for Type 1 and Type 1C fonts is going to be a problem.
For Type 1 fonts, FT2 sets up an "Adobe custom" cmap, which is supposed
to use whatever encoding is given in the font file, and which is exactly
what I want. Except that some embedded Type 1 fonts have a completely
bogus encoding, which is ignored in favor of the encoding given in the
PDF Font dict. T1lib lets me directly set an encoding, which is how I
got around it there. Do you know if there's any way to do this with
FT2? Also, Type 1C (CFF) fonts show 0 cmaps (face->num_charmaps after
calling FT_New_Face) - I haven't looked into this yet.