Provide APIs to query and specify additional OpenType font feature support

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8, 11, 17, 19, 20, 21
    • Component/s: client-libs
    • 2d
    • generic
    • os_x

      See the screen shot where font size less than 101 rendered incorrectly and font size greater than 100 rendered correctly.

              Font font = new Font(fontName, Font.PLAIN, 100);
              label2.setFont(font);
              Font fontWithSizeGreaterThan100 = new Font(fontName, Font.PLAIN, 101);
              label3.setFont(fontWithSizeGreaterThan100);


      Fonts with feature contextual alternates:

          https://bboxtype.com/typefaces/Krikikrak
          http://www.glukfonts.pl/font.php?font=Kleymissky

      OS: macOS 12.6.3
      The same issue has been reported on other OSs and JDKs.
      https://github.com/corretto/corretto-11/issues/307

            Assignee:
            Philip Race
            Reporter:
            Yi-Fan Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: