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

RFE: internal private API to specify logical fallback font for physical fonts

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.0, 1.4.1
    • client-libs
    • 2d
    • tiger
    • x86, sparc
    • solaris_7, windows_2000

      Problem: Swing's WindowsLookAndFeel has been changed to pick up its font choices from the desktop. Unfortunately some of these fonts do not contain glyphs for sets of characters that users have come to expect and in fact we have come across a couple of bugs on this.
      Perhaps if we had an API along the lines of:

      font.setFallback(Font);

      which indicates that if a glyph is not found, the fallback Font will be used. I could certainly envision more complicated APIs for setting specific Fonts for specific characters, but we don't need API like this.

            prr Philip Race
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: