Am 09.12.2015 um 15:19 schrieb Christian Schmitt:
I know how to extract them, however adding them seems to be the „bigger“ problem, since mostly I can’t just embed them with a command. The problem relies on where I should put the font file, currently I have a folder with all the necessary fonts and could create font objects with that and also I know which fonts are missing inside my pdf, but now the problem relies on attach the file i.e. embed the font.

You need to understand the COS data types (COSDictionary, COSStream, COSArray, COSBase etc), then insert a COSStream (that has your font file) at the correct place in the font descriptor (type COSDictionary) with the correct key. The key is FontFile1, FontFile2 or FontFile3 depending on the type of font.

Tilman



Beste Grüße / Best Regards






Christian Schmitt
Entwickler / Developer



Am 08.12.2015 um 18:49 schrieb Tilman Hausherr <[email protected] <mailto:[email protected]>>:

PDFDebugger


Reply via email to