Why does adding a CIDFontType2 result in a CIDFontType0?


When I use the Font.CreateTrueTypeFont passing in the path to a ttf file, it gets inserted into the PDF as a CIDFontType0 and not as a CIDFontType2 as I would expect.

My steps are

  1. Create pdftron.PDF.Font object via Font.createTrueTypeFont() passing in a path to a .tff file. Specify to subset embed.
  2. Create a ElementReader/ElementWriter to step through a temporary page to update the glyphs for subsetting
  3. Place the SDFObj of the newly created Font object into the fonts dictionary.


When you choose to Embed AND Subset a font, it is always generated as a CIDFontType0 when saving. This as designed.