united security providers Logs

Fonts

It is possible to embed custom TrueType fonts into a PDF file. However, some fonts may not be embeddable due to copyright restrictions. In such cases, PDFDoclet usually stops processing with an error message pointing to the source of the problem.

Currently, only two custom fonts can be embedded, one replacing the standard text font and the other the standard fixed font (for preformatted text parts).

Configure the standard text font like this:

        font.text.name=<relative path of .ttf file>
        # optional: define encoding of font
        font.text.enc=<encoding>
	

For example

        font.text.name=fonts/Windows/Vera.ttf
        font.text.enc=UTF-8
	

Configure the standard preformatted (fixed-with) font like this:

        font.code.name=<relative path of .ttf file>
        # optional: define encoding of font
        font.code.enc=<encoding>
	

For example

        font.code.name=fonts/SF Arch Rival v1.0/SF Arch Rival.ttf
        font.code.enc=UTF-8