Bulletproofing and debugging support.

This commit is contained in:
dchandler 2003-10-16 04:13:14 +00:00
parent 129ebccd67
commit 5f4fbfab7c
2 changed files with 12 additions and 10 deletions

View file

@ -1679,6 +1679,7 @@ public static String getHashKeyForGlyph(int font, int code) {
public static String getHashKeyForGlyph(DuffCode dc) {
int font = dc.getFontNum();
int code = dc.getCharNum()-32;
if (code < 0) return null;
return toHashKey[font][code];
}