Hello,
According to a spec simple (not CID) CFF font is one byte code and uses Encodings and Charsets to fetch a glyph. Meanwhile CFF font can be a table a table in an OTF font. OTF font according to spec again has to have CMAP table which should map unicode to glyph encoding (I am speaking about Format 4 now CMAP now). I have a couple of questions regarding this:
1. How do correlate between themselves CMAP in OTF file and Encodings-Charsets in CFF?
2. Is it possible to fetch somehow glyphs form OTF using CMAP only?
3. Again, CFF(simple) is one byte code, but CMAP is 2-bytes table. So is it possible to create a CMAP file in the way to map 2-bytes codes into glyphs in a CFF? E,g, let's say i have a CFF simple font that has standard ASCIIs in low 128 and a cyrilic glyps in upper 128. Will I be able using CMAP to map Unicode values that correspond to a cyrilic alphabet to the high 128 glyphs in CFF? Or it is impossible due to Encoding limitations of CFF?
Any help will be appritiated,
Thanks in advance,
Alex