6720240: IOB exception when getting font metrics of hershey font
authorigor
Tue, 15 Jul 2008 16:04:08 +0400
changeset 886 7eb22e81bb28
parent 885 cdf589db9213
child 887 0aab8d3fa11a
6720240: IOB exception when getting font metrics of hershey font Reviewed-by: bae, prr
jdk/src/share/classes/sun/font/NullFontScaler.java
--- a/jdk/src/share/classes/sun/font/NullFontScaler.java	Mon Jun 23 13:00:19 2008 -0700
+++ b/jdk/src/share/classes/sun/font/NullFontScaler.java	Tue Jul 15 16:04:08 2008 +0400
@@ -76,7 +76,7 @@
     }
 
     int getNumGlyphs() throws FontScalerException {
-        return 0;
+        return 1;
     }
 
     int getMissingGlyphCode() throws FontScalerException {