Ximalaya is not nearly as nice as Tibetan Machine Uni, so use the latter.

This commit is contained in:
dchandler 2005-01-04 02:20:59 +00:00
parent 88ebeaed3b
commit 0b0af67ed9
4 changed files with 7 additions and 7 deletions

View file

@ -333,7 +333,7 @@ public class TibetanMachineWeb implements THDLWylieConstants {
defaultUnicodeFontAttributeSet = new SimpleAttributeSet();
StyleConstants.setFontFamily(defaultUnicodeFontAttributeSet,
"Ximalaya");
"Tibetan Machine Uni");
webFontAttributeSet[0] = null;
for (int i=1; i<webFontAttributeSet.length; i++) {
@ -873,12 +873,12 @@ public static SimpleAttributeSet getAttributeSet(int font) {
* order to be able to put styled text into {@link TibetanDocument
* TibetanDocument}.
* @param unicodeFont the interned name of the Unicode font to use;
* defaults to Ximalaya if null
* defaults to Tibetan Machine Uni if null
* @return a SimpleAttributeSet for the Unicode font - that is, a way
* of encoding the font itself */
public static SimpleAttributeSet getUnicodeAttributeSet(String unicodeFont) {
if (null == unicodeFont
|| "Ximalaya" == unicodeFont)
|| "Tibetan Machine Uni" == unicodeFont)
return defaultUnicodeFontAttributeSet;
else {
SimpleAttributeSet cached