#30092

> Does it store the fonts files into temp folders some where on the linux server or does it load it into RAM memory and then tries to fetch it from there?

PD4ML loads the resources via the class loader:

[language=java:e8qjhinq]URL url = Thread.currentThread().getContextClassLoader().getResource(resourcePath);

if (url == null) {
url = ClassResourceProvider.class.getClassLoader().getResource(resourcePath);
}

if (url == null) {
ClassLoader cl = callingClass.getClassLoader();
if (cl != null) {
url = cl.getResource(resourcePath);
}
}[/language:e8qjhinq]

In some environments the above code does not work as expected. For example when the resource JAR is placed to WAR, EAR etc the classloader may fail with a TTF load. Usually appserver configuration adjustment (something like “unpack JARs to work directory”) helps.