register fonts

This commit is contained in:
Benjamin Gamard 2017-07-31 14:09:56 +02:00
parent e660a70d00
commit 14f8239ba3

View File

@ -13,6 +13,7 @@ import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
import com.lowagie.text.FontFactory;
import org.apache.log4j.Level;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.RollingFileAppender;
@ -71,6 +72,9 @@ public class RequestContextFilter implements Filter {
AppContext.getInstance();
}
});
// Register fonts
FontFactory.registerDirectories();
}
@Override