Fixed bug that recently made it crash.
Enabled the property thdl.rely.on.system.tmw.fonts before the production of TibetanMachineWeb HTML. This avoids the call to readInFontFiles() within the TibetanMachineWeb class (which raises an exception when it cannot find for whatever reason the fonts). The servlet doesn't need to load the fonts anyway!
This commit is contained in:
parent
5432168694
commit
93eeae2118
1 changed files with 2 additions and 0 deletions
|
@ -49,7 +49,9 @@ public class OnLineScannerFilter extends HttpServlet {
|
|||
HttpServletResponse response)
|
||||
throws IOException, ServletException
|
||||
{
|
||||
// if this line is included in the constructor, it works on the iris server but not on wyllie!
|
||||
ThdlOptions.setUserPreference("thdl.rely.on.system.tmw.fonts", true);
|
||||
|
||||
response.setContentType("text/html");
|
||||
PrintWriter out = response.getWriter();
|
||||
String parrafo = request.getParameter("parrafo"), checkboxName, script;
|
||||
|
|
Loading…
Reference in a new issue