0
Community Expert
,
/t5/acrobat-discussions/search-replace-a-font-using-javascript/td-p/11808509
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?
Acrobate du PDF, InDesigner et Photoshopographe
TOPICS
Edit and convert PDFs
,
How to
,
JavaScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 ACCEPTED SOLUTION
Community Expert
,
LATEST
/t5/acrobat-discussions/search-replace-a-font-using-javascript/m-p/11809230#M296612
Feb 04, 2021
Feb 04, 2021
Copy link to clipboard
Copied
No. JS has no ability to change the fonts (or even find out what they are!) of the static text in the file.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-discussions/search-replace-a-font-using-javascript/m-p/11809230#M296612
Feb 04, 2021
Feb 04, 2021
Copy link to clipboard
Copied
No. JS has no ability to change the fonts (or even find out what they are!) of the static text in the file.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

