Updated the code I used for testing to generate the file containing all glyphs in TM and all glyphs but one in TMW.

This commit is contained in:
dchandler 2003-11-24 05:59:32 +00:00
parent 8d18ac53cb
commit b8608797aa
1 changed files with 2 additions and 2 deletions

View File

@ -1348,7 +1348,7 @@ public class TibetanDocument extends DefaultStyledDocument {
/** I used this to create a document that helped me validate the
TM->TMW conversion. */
private void insertAllTMGlyphs2(MutableAttributeSet roman) {
private void insertAllTMGlyphs2() {
int font;
int ord;
DuffData[] equivalent = new DuffData[1];
@ -1383,7 +1383,7 @@ public class TibetanDocument extends DefaultStyledDocument {
}
try {
String s = " font " + (font+1) + "; ord " + ord + "\n";
insertString(count, s, roman);
insertString(count, s, getRomanAttributeSet());
count += s.length();
} catch (BadLocationException e) {
throw new Error("badness");