-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 17, 21, 25, 27
-
Component/s: client-libs
-
None
-
generic
-
generic
java/awt/font/TextLayout/FormatCharAdvanceTest.java has 2 fonts with same familyname, style, size and FontRenderContext but their Font format is different.
Even when second font(TrueType) is set on Graphics2D object, we continue to use cached and invalid FontMetrics of Type1 font.
We should update the FontMetrics caching logic so that it differentiates between such fonts.
Even when second font(TrueType) is set on Graphics2D object, we continue to use cached and invalid FontMetrics of Type1 font.
We should update the FontMetrics caching logic so that it differentiates between such fonts.