RFR: 8208377: Soft hyphens render if not using TextLayout [v3]

Daniel Gredler dgredler at openjdk.org
Tue Feb 11 01:44:23 UTC 2025


On Tue, 24 Dec 2024 19:48:08 GMT, Phil Race <prr at openjdk.org> wrote:

>> Daniel Gredler has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add more info about test fonts and default-ignorable chars
>
> src/java.desktop/share/classes/sun/font/FontUtilities.java line 366:
> 
>> 364:                 case 0x20: return (charCode >= 0x200B && charCode <= 0x200F) ||
>> 365:                                   (charCode >= 0x202A && charCode <= 0x202E) ||
>> 366:                                   (charCode >= 0x2060 && charCode <= 0x206F);
> 
> I just noticed this really old open bug
> https://bugs.openjdk.org/browse/JDK-6562489 : Font-Renderer should ignore invisible characters \u2062 and \u2063

Thanks for the pointer, I've created PR #23547 to verify that JDK-6562489 is also fixed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22670#discussion_r1950122686


More information about the client-libs-dev mailing list