On Tue, 4 Apr 2023 18:49:41 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

> Thai does not render for me on Ventura 13.3/M1
> 
> ![Screenshot 2023-04-04 at 11 49 
> 03](https://user-images.githubusercontent.com/107069028/229891044-3ff3d365-6c51-48d0-8c30-759f8f376ec9.png)

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

Reply via email to