From b8576eb48e6aae96f9bad1caeedaeb4b5b675e34 Mon Sep 17 00:00:00 2001 From: Daniel Gredler Date: Wed, 12 Feb 2025 22:15:37 +0000 Subject: [PATCH] 6562489: Font-Renderer should ignore invisible characters \u2062 and \u2063 Reviewed-by: avu, prr --- test/jdk/java/awt/font/TextLayout/FormatCharAdvanceTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/jdk/java/awt/font/TextLayout/FormatCharAdvanceTest.java b/test/jdk/java/awt/font/TextLayout/FormatCharAdvanceTest.java index b8972206cfd..d166a1b824b 100644 --- a/test/jdk/java/awt/font/TextLayout/FormatCharAdvanceTest.java +++ b/test/jdk/java/awt/font/TextLayout/FormatCharAdvanceTest.java @@ -23,7 +23,7 @@ /** * @test - * @bug 8208377 + * @bug 8208377 6562489 * @summary Confirm that format-category glyphs are not rendered or measured. */ @@ -174,6 +174,9 @@ public class FormatCharAdvanceTest { testChar('\u202D', image, g2d, font); // left-to-right override (LRO) testChar('\u202E', image, g2d, font); // right-to-left override (RLO) testChar('\u2060', image, g2d, font); // word joiner (WJ) + testChar('\u2061', image, g2d, font); // function application + testChar('\u2062', image, g2d, font); // invisible times + testChar('\u2063', image, g2d, font); // invisible separator testChar('\u2066', image, g2d, font); // left-to-right isolate (LRI) testChar('\u2067', image, g2d, font); // right-to-left isolate (RLI) testChar('\u2068', image, g2d, font); // first strong isolate (FSI)