mirror of
https://github.com/sismics/docs.git
synced 2025-01-03 08:43:49 +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.ServletResponse;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.lowagie.text.FontFactory;
|
||||||
import org.apache.log4j.Level;
|
import org.apache.log4j.Level;
|
||||||
import org.apache.log4j.PatternLayout;
|
import org.apache.log4j.PatternLayout;
|
||||||
import org.apache.log4j.RollingFileAppender;
|
import org.apache.log4j.RollingFileAppender;
|
||||||
@ -71,6 +72,9 @@ public class RequestContextFilter implements Filter {
|
|||||||
AppContext.getInstance();
|
AppContext.getInstance();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Register fonts
|
||||||
|
FontFactory.registerDirectories();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user