Skip to main content
September 6, 2016
Question

How to find the font name and size in PDF with javascript

  • September 6, 2016
  • 1 reply
  • 2459 views

Hi,

I want to find out the font size of the pdf document and I wanted to bookmark if font size is equals 14.  Is there any to find out the font size?

Ariv

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
September 6, 2016

With JavaScript you can't access font name and font size.

September 6, 2016

I can able to change this manually by using Tools -> Edit PDF and in Format I can able to get the font name and size.  is this possible through Javascript?

Bernd Alheit
Community Expert
Community Expert
September 6, 2016

Not possible with Acrobat JavaScript.

Possible with a Acrobat plugin (written in C/C++).