Skip to main content
September 6, 2016
Question

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

  • September 6, 2016
  • 3 replies
  • 2461 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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

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++).