mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-19 04:13:07 +00:00
6562489: Font-Renderer should ignore invisible characters \u2062 and \u2063
Reviewed-by: avu, prr
This commit is contained in:
parent
7a0832f548
commit
b8576eb48e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user