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

/t5/acrobat-sdk-discussions/how-to-find-the-font-name-and-size-in-pdf-with-javascript/td-p/8522912
Sep 06, 2016
Sep 06, 2016
Copy link to clipboard
Copied
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/acrobat-sdk-discussions/how-to-find-the-font-name-and-size-in-pdf-with-javascript/m-p/8522913#M45322
Sep 06, 2016
Sep 06, 2016
Copy link to clipboard
Copied
With JavaScript you can't access font name and font size.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/acrobat-sdk-discussions/how-to-find-the-font-name-and-size-in-pdf-with-javascript/m-p/8522914#M45323
Sep 06, 2016
Sep 06, 2016
Copy link to clipboard
Copied
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?
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-sdk-discussions/how-to-find-the-font-name-and-size-in-pdf-with-javascript/m-p/8522915#M45324
Sep 06, 2016
Sep 06, 2016
Copy link to clipboard
Copied
Not possible with Acrobat JavaScript.
Possible with a Acrobat plugin (written in C/C++).
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

