Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8244621

[macos10.15] Garbled FX printing plus CoreText warnings on Catalina when building with Xcode 11

    XMLWordPrintable

Details

    • 2d
    • b27
    • os_x_10.15

    Backports

      Description

        To reproduce this do the following on macOS 10.15 Catalina:

        1. Build the jdk with Xcode 11 and MacOSX SDK 10.15.

        2. Run any Java program that draws text, for example, the attached Simple.java program:

        $ java -version
        java version "15-internal" 2020-09-15
        Java(TM) SE Runtime Environment (build 15-internal+0-2020-05-07-1853296.kcr...)
        Java HotSpot(TM) 64-Bit Server VM (build 15-internal+0-2020-05-07-1853296.kcr..., mixed mode, sharing)

        $ java Simple
        2020-05-07 13:18:45.444 java[16424:4942077] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
        2020-05-07 13:18:45.444 java[16424:4942077] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
        2020-05-07 13:18:45.445 java[16424:4942077] CoreText note: Client requested name ".SFNS-Bold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
        2020-05-07 13:18:45.446 java[16424:4942077] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
        2020-05-07 13:18:45.452 java[16424:4942077] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
        2020-05-07 13:18:45.453 java[16424:4942077] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
        2020-05-07 13:18:45.458 java[16424:4942077] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
        2020-05-07 13:18:45.458 java[16424:4942077] CoreText note: Client requested name ".SFNS-Bold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].

        Attachments

          Issue Links

            Activity

              People

                prr Philip Race
                kcr Kevin Rushforth
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: