RFR: 8246104: Some complex text doesn't render correctly on macOS
Phil Race
prr at openjdk.org
Tue Apr 4 20:39:10 UTC 2023
On Tue, 4 Apr 2023 18:49:41 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> Thai does not render for me on Ventura 13.3/M1
>
> 
On macOS 12 Thai uses Thonburi from /System/Library/Fonts/Thonburi.ttc
But on macOS 13 Ventura, layout now says it uses a "dot" font version of it
.ThonburiUI Regular Regular filename=/System/Library/Fonts/ThonburiUI.ttc
That's OK .. except it has "Regular" twice for no reason I can see, whereas the name
I see by opening the font file is just ".ThonburiUI Regular". So we think we can't find it.
This looks like an Apple bug. Many fonts have "Regular" in their full name, but
only this one has it twice - something in macOS is incorrectly extra appending it.
Looks like the easiest thing to do is to check for this and handle as a special case.
Kevin has Ventura and we just verified it solves it on his system so I'll be updating the PR shortly.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1067#issuecomment-1496573282
More information about the openjfx-dev
mailing list