Skip to content

Commit cc83111

Browse files
committed
Update documentation regarding extra font naming
1 parent 89a852f commit cc83111

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,7 @@ If your report includes external resources (i.e. images), place these below the
5757

5858
If you may have a very large amount of input data, the report generation might result in a very large output file. This can lead to an Out-of-memory exception. To handle this, a "Virtualizer" could be used, which will cut the report into different files and save them on the hard drive during the generation process. The result generally makes the generation of the report a bit slower but it will solve the memory exception. To use a "JRSwapFileVirtualizer" for report generation, the `virtualizer` configuration has to be set (see example below).
5959

60-
If your report requires extra fonts, place the `*.ttfs` below the `src/fonts` directory (when running locally) resp. mount them inside the `/srv/qwc_service/fonts/` when running as docker container. Font names must respect the following naming convention:
61-
62-
- Regular: `<FontName>.ttf` or `<FontName>-Regular.ttf`
63-
- Bold: `<FontName>-Bold.ttf`
64-
- Italic: `<FontName>-Italic.ttf`
65-
- BoldItalic: `<FontName>-BoldItalic.ttf`
60+
If your report requires extra fonts, place the `*.ttfs` below the `src/fonts` directory (when running locally) resp. mount them inside the `/srv/qwc_service/fonts/` when running as docker container. The font names and faces are read from the `*.tff` file metadata. Currently only static TTFs are supported, not variable font TTFs.
6661

6762
Set `FLASK_DEBUG=1` to get additional logging output.
6863

0 commit comments

Comments
 (0)