When creating PDF it is required to resolve the actual TTF file on the current system, because due to license restrictions TTF files cannot be embedded into the QR Invoice library.

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