Please choose a menu option
Visit the IDRsolutions WebSite

Show PDF fonts used in a PDF file

Description Display PDF font details for PDF file and if they are embedded fonts
Jar Path org.jpedal.examples.ShowIfEmbeddedFontsUsed

Click for source code link

How to run the code

Windows: java -cp %jpedalDir%/jpedal.jar org/jpedal/examples/ShowIfEmbeddedFontsUsed inputValue
MacOS X Linux: java -cp $jpedalDir/jpedal.jar org/jpedal/examples/ShowIfEmbeddedFontsUsed inputValue

Click here for help on running Java programs from the command line

 

An explanation of the input value

This example expects one input value.

Input value: The PDF filename (including the path if needed) of the PDF file to open and count. If it contains spaces it must be enclosed by double quotes (ie "C:/Path with spaces/").

 

Other details/screenshot

Provides printout of PDF font data, showing what PDF fonts are contained and if they are embedded fonts.

 

Links to related articles

Getting started tutorial
Java PDF Viewer includes a menu option to show PDF document properties.
Additional optional libraries lists items which may be needed for some PDF files or functionality.
JVM options available on startup to customise PDF library and examples.
PDF Font substitution options explains how to see fonts used in the PDF viewer and how JPedal can use Java and external fonts to handle non-embedded PDF fonts

 

Return to main PDF support section

Click here for the main PDF support area with lots of java examples, PDF tutorials and useful information to get the most out of the JPedal PDF library

 


PDF viewer