Hello,
I try to programmatically embed a full font into PDf in order to let the later editing of a document. What I do now is scanning through a font file and writing all the glyphs from the ttf into font stream. Also I create and write CMap using /ToUnicode entry. The size of output pdf is quite big (7 mb vs 17k for the same source file with subsetting), but when I try to edit this document I get a warning: Since the original font is not available a substituted font for editing is used.
Does it mean that I succeded to embed the complete font? Is there any mtehod or tool to verify if the font is completely embedded in a document? Otherwise, what do I lose? Maybe there excist any additional documents/refernces/guidlines for embedding the whole font besides the PDF format spec?
Thanks in advance,
Alex