Skip to main content
JR Boulay
Community Expert
Community Expert
February 4, 2021
Answered

Search-replace a font using JavaScript

  • February 4, 2021
  • 1 reply
  • 633 views

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?

This topic has been closed for replies.
Correct answer try67

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

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
February 4, 2021

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