Search-replace a font using JavaScript

Adobe Community Professional ,
Feb 04, 2021 Feb 04, 2021

Copy link to clipboard

Copied

Hi

 

I need to search-replace a font in many PDF files, it doesn't matter if the result is visually disastrous as it is in order to recover data in a later process.

 

These text and fonts are in the layout of the file, I can't find anything related in the JS API reference nor in the Preflight fixups of Acrobat Pro.

 

Is this possible?

TOPICS
Edit and convert PDFs, How to, JavaScript

Views

57

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Most Valuable Participant , Feb 04, 2021 Feb 04, 2021
No. JS has no ability to change the fonts (or even find out what they are!) of the static text in the file.

Likes

Translate

Translate
Most Valuable Participant ,
Feb 04, 2021 Feb 04, 2021

Copy link to clipboard

Copied

LATEST

No. JS has no ability to change the fonts (or even find out what they are!) of the static text in the file.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines