6720240: IOB exception when getting font metrics of hershey font
authorigor
Tue Jul 15 16:04:08 2008 +0400 (20 months ago)
changeset 429c1e0755434eb
parent 4285755fe417a12
child 4303efc003bf097
6720240: IOB exception when getting font metrics of hershey font
Reviewed-by: bae, prr
src/share/classes/sun/font/NullFontScaler.java
--- a/src/share/classes/sun/font/NullFontScaler.java Mon Jun 23 13:00:19 2008 -0700
+++ b/src/share/classes/sun/font/NullFontScaler.java Tue Jul 15 16:04:08 2008 +0400
@@ -76,7 +76,7 @@ class NullFontScaler extends FontScaler
}
int getNumGlyphs() throws FontScalerException {
- return 0;
+ return 1;
}
int getMissingGlyphCode() throws FontScalerException {