Name

xmlgraphics-fop-fontlist

Synopsis

Classname: org.apache.fop.tools.fontlist.FontListMain

xmlgraphics-fop-fontlist [-c CONFIG_FILE] [-f MIME] [ [ output-dir | output-file ] [font-family] ]

Options

The following options in alphabetical order are available:

-c CONFIG_FILE

an optional FOP configuration file

-f MIME

MIME type of the output format for which to create the font list (defaults to application/pdf)

output-dir

creates one sample PDF per font-family

output-file

writes the list as file (valid file extensions: xml, fo, and pdf)

font-family

filters to a single font family

Examples

  • prints all detected fonts to the console:

    xmlgraphics-fop-fontlist
  • same as before, but outputs it into a PDF file:

    xmlgraphics-fop-fontlist system-fonts.pdf
  • Generates a single PDF containing a sample of all configured fonts:

    xmlgraphics-fop-fontlist -c userconfig.xml all-fonts.pdf