--- a/jdk/src/java.desktop/share/classes/sun/font/NullFontScaler.java Mon Oct 24 13:19:05 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/sun/font/NullFontScaler.java Tue Oct 25 09:56:40 2016 -0700
@@ -36,8 +36,8 @@
boolean supportsCJK, int filesize) {}
StrikeMetrics getFontMetrics(long pScalerContext) {
- return new StrikeMetrics(0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,
- 0xf0,0xf0,0xf0,0xf0);
+ return new StrikeMetrics(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,
+ 0.0f, 0.0f, 0.0f, 0.0f);
}
float getGlyphAdvance(long pScalerContext, int glyphCode) {
@@ -71,7 +71,7 @@
return getNullScalerContext();
}
- void invalidateScalerContext(long ppScalerContext) {
+ void invalidateScalerContext(long pScalerContext) {
//nothing to do
}