1 Reply Latest reply: Nov 11, 2014 6:55 AM by Test Screen Name RSS

    CIDFont and PDF

    JamieLaManger Community Member

      Hi,

      thanks to the lrosenth for the help with my question about support for CID keyed Type1 fonts in PDF.

      I will make sure that I read the ISO PDF spec - it is more clear.

       

      Sadly, I have another question:

      I have a valid CIDFont (consists of a readable PS part and also binary data which I believe is _parts_ of a CFF font program, not the whole program).

      The readable PS part has info like byte offsets to CharStrings and also the table that  maps CID values to font/glyph (CIDMap)

      The FreeType library will render glyphs from this font.

      The binary parts appear to  be the CIDMap and CharStrings etc - but not the usual CFF header stuff - ie. just the bits you need.

       

      My question:  Am I right that you cant put such a CIDFont in a PDF file as an embedded font program (as part of a composite CIDFontType0) ?

       

      From my reading of the spec, a composite font (Type0) in PDF references a CIDFont dict that doesn't have any of the info that the PS CIDFont contains (such as byte offsets to charstring data etc)

      and so it needs the complete CFF program - specified as /FontFile3 in the font descriptor.

       

      regards

      JLM