QR Invoice supports Arial, Helvetica and Liberation Sans. Liberation Sans is the only font with a license that allows the font to be embedded and thus shipped with the library.

For Arial and Helvetica it is required to locate the actual TTF file on the system.

FontManager is responsible for doing so. Depending on the operating system it looks at different default file system paths for TTF files and loads the matching ones.

If the desired font is not located at one of the default paths (please look at FontManager or its log output for paths), a client application can specify an additional file system location.

For this, simple specify System Property QrInvoice.FontDirectory

java ... -DQrInvoice.FontDirectory=/path/to/a/fontdirectory