Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Guest
Sep 06, 2016 Sep 06, 2016

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

TOPICS
Acrobat SDK and JavaScript , Windows
2.4K
Translate
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
Community Expert ,
Sep 06, 2016 Sep 06, 2016

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

Translate
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
Guest
Sep 06, 2016 Sep 06, 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?

Translate
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
Community Expert ,
Sep 06, 2016 Sep 06, 2016
LATEST

Not possible with Acrobat JavaScript.

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

Translate
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