From e42d76b3b8102e5c6386674c1a43745d9439ce9a Mon Sep 17 00:00:00 2001 From: dchandler Date: Sun, 7 Sep 2003 22:08:35 +0000 Subject: [PATCH] Nicer default Latin font for ACIP->* conversions. Performance improvement in non-color-coding mode. --- source/org/thdl/tib/text/ttt/ACIPConverter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/org/thdl/tib/text/ttt/ACIPConverter.java b/source/org/thdl/tib/text/ttt/ACIPConverter.java index ced2d28..18a0b1c 100644 --- a/source/org/thdl/tib/text/ttt/ACIPConverter.java +++ b/source/org/thdl/tib/text/ttt/ACIPConverter.java @@ -259,10 +259,10 @@ public class ACIPConverter { if (null != tdoc) { String latinFont = ThdlOptions.getStringOption("thdl.acip.to.x.latin.font", - "Courier New"); + "Times New Roman"); int latinFontSize = ThdlOptions.getIntegerOption("thdl.acip.to.x.latin.font.size", - 20); + 18); tdoc.setRomanAttributeSet(latinFont, latinFontSize); regularFontSize = tdoc.getTibetanFontSize(); @@ -404,9 +404,9 @@ public class ACIPConverter { } if (null != tdoc) { duff = sl.getDuff(); - if (sl.isLegalTshegBar(true).isLegal && !sl.isLegalTshegBar(false).isLegal) { + if (colors && sl.isLegalTshegBar(true).isLegal && !sl.isLegalTshegBar(false).isLegal) { color = Color.YELLOW; - } else if (sl.isLegalTshegBar(false).isLegal) { + } else if (colors && sl.isLegalTshegBar(false).isLegal) { color = Color.BLACK; } else { // Sanskrit