Skip to content
Permalink
Browse files
8263124: Missed initialization of baselineY in sun.font.StrikeMetrics
Reviewed-by: azvegint, kizune, pbansal
  • Loading branch information
Phil Race committed May 4, 2021
1 parent 4e96b31 commit 9c4efddb4aa724d9297947423320f1a7bbe15dd0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java.desktop/share/classes/sun/font/StrikeMetrics.java
@@ -88,7 +88,7 @@
StrikeMetrics() {
ascentX = ascentY = Integer.MAX_VALUE;
descentX = descentY = leadingX = leadingY = Integer.MIN_VALUE;
baselineX = baselineX = maxAdvanceX = maxAdvanceY = Integer.MIN_VALUE;
baselineX = baselineY = maxAdvanceX = maxAdvanceY = Integer.MIN_VALUE;
}

StrikeMetrics(float ax, float ay, float dx, float dy, float bx, float by,

0 comments on commit 9c4efdd

Please sign in to comment.