RFR: 8273358: macOS Monterey does not have the font Times needed by Serif
Phil Race
prr at openjdk.java.net
Thu Sep 9 19:06:10 UTC 2021
On Thu, 9 Sep 2021 16:56:57 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> src/java.desktop/macosx/classes/sun/font/CFontManager.java line 228:
>>
>>> 226:
>>> 227: setupLogicalFonts("Dialog", defaultFont, defaultFallback);
>>> 228: setupLogicalFonts("Serif", "Times", "Times New Roman");
>>
>> Can we do it under macos >= Monterey check so that we are sure it's not affecting older releases just as we do for JTabbedPane legibility issue using JRSUIUtils.isMacOSBigSurOrAbove() check?
>> I see we have both Times and Times New Roman in "Font Book"...BTW, did you try "Restore Standard fonts" option in Font Book to see if "Times" font somehow comes back?
>
> Just to clarify, I see those 2 fonts in BigSur and Catalina..
i see no reason to do that.
it was dumb to make Times the fall back for Times on any release.
The restore option doesn't do that - it removes non-standard fonts.
And even if there were the answer we can't expect users to seek it out in order that Java work properly.
This is how the clean macOS 12 installs come.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5420
More information about the client-libs-dev
mailing list