Description

Fonts used in SVG images need to be available in C:\WINNT\Fonts (or: OS font system). Due to font license restrictions, some fonts only are allowed to be available for our Java application and not OS wide. Therefore, I copied the TTF fonts in a custom directory which works well with Apache FOP. I tried to set a custom font configuration for the Java application via

java -Dsun.awt.fontconfig ...

and this basically works in a test application as I am able to create a Font object with the correct family name and sub name. But Batik seems to ignore this.