#28467

You need to pass either a directory name of the font dir
pd4ml.useTTF(“/windows/fonts”,true);
or refer to a resource, available via the classloader (distinguished by “java:” prefix)
pd4ml.useTTF(“java:fonts”,true);

In both cases pd4fonts.properties file has to be generated in advance with
java -jar pd4ml.jar -configure.fonts …
call.