Bulletproofing and debugging support.
This commit is contained in:
parent
129ebccd67
commit
5f4fbfab7c
2 changed files with 12 additions and 10 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue