mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6720240: IOB exception when getting font metrics of hershey font
Reviewed-by: bae, prr
This commit is contained in:
parent
36d2406edc
commit
6acd06f8b5
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class NullFontScaler extends FontScaler {
|
||||||
}
|
}
|
||||||
|
|
||||||
int getNumGlyphs() throws FontScalerException {
|
int getNumGlyphs() throws FontScalerException {
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int getMissingGlyphCode() throws FontScalerException {
|
int getMissingGlyphCode() throws FontScalerException {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue