O'Reilly logo

DITA for Print by Leigh W. White

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Select basic fonts for your plugin

Indicate, in your custom PDF plugin, which fonts you’re going to use.

The first step in setting up your plugin to use certain fonts is to map the three default logical fonts to corresponding physical fonts. FOP automatically looks for fonts in a default location, depending on your operating system. For Windows, this location is the Fonts folder. For Macintosh, there are two locations: the Library/Font folder and the Library/Fonts folder in your Users folder. For Linux, the location varies depending on your Linux distribution (the most common location is /usr/share/fonts).

  1. Open font-mappings.xml.

    This file, as the name suggests, maps physical fonts onto logical fonts. A physical font is an actual font in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required