RFR: 8246104: Some complex text doesn't render correctly on macOS

Johan Vos jvos at openjdk.java.net
Fri Jul 2 18:47:53 UTC 2021


On Fri, 2 Jul 2021 18:29:40 GMT, Phil Race <prr at openjdk.org> wrote:

>> When you say "public" you mean in the lists that the implementation searches for a match ?
>> This could get tricky. I don't have a complete answer off the top of my head.
>> Could we at least filter the returned list of full and family names to exclude them ?
>> Then explicit searches would work but no one will be seeing them in a list of fonts available to apps.
>
> the filter would be macOS only and exlude fonts with a name beginning with "."

That is possible yes. An alternative is that we don't store the {name/file} info for the fonts that we explicitly load in the same map as the one created by `MacFontFinder.populateFontFileNameMap` but in a separate Map, that is macOS-specific and only used when a FontResource is requested by a call that can be considered originating from a native request (since those should have access to the internal fonts).

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

PR: https://git.openjdk.java.net/jfx/pull/547


More information about the openjfx-dev mailing list