mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 11:23:48 +01:00
register fonts
This commit is contained in:
parent
e660a70d00
commit
14f8239ba3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user