Hello, first of all i must praise your PDFBox api, it's really well for a this current version (0.0.8) and works very well.
Like in the subject, i want to add a TrueTypeFont (TTF) to an existing PDF file. In the file several paragraphs uses for example Arial Black (but which font there is used is not clear). Now i want insert these font (if i could found it in my font library) or replace it with a default font (yes, i know that the font weights will be different and that the result will not be displayed correctly). Is this possible with PDFBox? And how? IMHO it must be possible to search all used fonts and add the missed TTF or change the font. The references of all paragraphs could be the same. Or, if this is not possible it's also okay for me to "re-reference" all text-items again to the new font-definitions and let the old fonts unreferenced. I searched already in the PDDocument.getDocumentCatalog tree, but i didn't really understand /how/ to find there the fonts? (Well, i've seen the font-names when i go recusriv over the directories. Is this the correct way and how could i identify font attributes? Another way that i already tried was "PDDocument.getDocument().getObjectsByType(COSName.FONT);". But the returned COSObject has only the method getObject() which return itself. Could some of you help me with some sample codes or any hint? Thank you! And best regards, Christoph Jerolimov