Replace all uses of a specific font

The issue: there is a PDF we are sending to a printer which contains the Helvetica font, which is not embedded in the PDF. However the printer also does not have the Helvetica font available, so it’s refusing to print the PDF.

The question: is there any way to replace all uses of the Helvetica font in a PDF with something else?

@omnom

You can surely change the fonts in the PDF document before further processing. Please check and try below sample article(s) and code sample(s) to work with Fonts in the PDF document and let us know if you still notice any issues:

I tried setting a default font name when saving, however it didn’t have any effect. The unembedded Helvetica font is still listed when I check the fonts in the document properties in Adobe.

@omnom

Would you please share your sample PDF document so that we can test the scenario in our environment and address it accordingly.

test.pdf (1.7 KB)

See attached.

@omnom

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-44171

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.