add stamp/free text annotation to existing document inc. save, extract embedded font warning comment
- April 19, 2021
- 2 replies
- 3267 views
Hello, thank you in advance for offering a place for the users to ask questions.
My problem is a bit technical - I am modifying a PDF file, adding some stamp (or FreeText - tried both) annotations with embedded subset fonts. I am using incremental save, but this doesn't appear to be related. I have tried multiple fonts too. No matter what I do, the text I draw in the appearance stream of the custom annotation, using a subset font, causes Acrobat Reader DC to show a warning "Cannot extract the embedded font 'XXXXXX+FontName' ...".
IMPORTANT: This warning appears only when I open the Comments pane - when it is not selected to be open by default when "a document with comments is open", a user might not any warnings at all.
I have tried various combinations of options but cannot come up with what is actually needed. I have checked and saw this problem appears in at least 2021.001.20149 and 2020.012.20043 versions. Specifically in the last version, it appears inconsistently - probably because of some caching going on.
Should I use a different annotation type? Is it an expected behavior, because stamps are supposed to be pictures, or some other reason?
I am attaching two examples, one with free text annotation, and another with rubber stamp annotation and greek text. The documents were generated by Microsoft Word 2016 -> Export To PDF/XPS Document. The appending of the annotations and the incremental save were done using Apache PDFBOX v2.0.23.
Acrobat DC Preflight searching for possible Font problems shows no problems. The documents are usable, it is just there is this nagging error box that appears and indicates that something is going wrong. I just wanted to make sure that I am indeed doing something wrong - or this is something expected.
Thank you - and if it is not the right place for such types of questions, I will accept that.
