QR_INVOICE_FONT_PATH=c:/path/to/a/fontdirectory
The QR Invoice Solutions resolve the actual TTF files on the file system. Due to license restrictions only Liberation Sans can be packaged and delivered along with QR Invoice Solutions.
The font_manager
is responsible for resolving the TTF files. Currently it looks for specific file names in the current directory.
Font Family | File name regular |
File name bold |
---|---|---|
Liberation Sans |
LiberationSans-Regular.ttf |
LiberationSans-Bold.ttf |
Arial |
Arial.ttf |
ArialBd.ttf |
Helvetica |
Helvetica.ttf |
HelveticaBd.ttf |
Instead of looking for font files in the current directory a different font path can be set by means of environment variables.
QR_INVOICE_FONT_PATH=c:/path/to/a/fontdirectory
Each variant (C++ DLL, Simple API DLL and Exe) provides a way to set the font path. See the corresponding section for further information.