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:
amontano 2002-11-23 21:13:47 +00:00
parent 5432168694
commit 93eeae2118

View file

@ -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;