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

Hebrew characters are not rendered on OEL 5.6

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b06
    • CPU:
      x86
    • OS:
      linux_oracle_5.6
    • Verification:
      Verified

      Backports

        Description

        Hebrew characters are not rendered on OEL 5.6. To reproduce the symptom, run the Font2DTest demo and select the Hebrew range.

        The Java runtime generates synthesized font properties files because there's no font confing file provided for OEL 5.6. The generated font properties files don't contain any fonts for Hebrew.

        This problem was found when looking into 7042148.

          Issue Links

            Activity

            Hide
            prr Philip Race added a comment -
            BT2:EVALUATION

            The synthesised font properties files skip Type 1 fonts which are not
            optimum for desktop rendering. This really an extension of skipping
            bitmap fonts. For some reason all the Hebrew fonts
            on RHEL/OEL 5.6 are Type 1. And its just Hebrew. The only Type 1
            fonts shown up in a call to "fc-match -s sans" on OEL 6 that
            are of any interest are these Hebrew fonts.
            There are two options
            1) Stop skipping Type 1 fonts. Seems attractive except that Type 1 fonts
            are not optimum for screen rendering and on some distros I've seen
            these pop up as the default Latin font. Arguably a distro bug as when
            there are TrueType fonts they should always be preferred.
            2) Append the JRE's Lucida fonts. Perhaps even just add Lucida Sans
            as the fall back for all the logical fonts as we do in the custom
            fontconfig case. Although this doesn't help openjdk.
            Show
            prr Philip Race added a comment - BT2:EVALUATION The synthesised font properties files skip Type 1 fonts which are not optimum for desktop rendering. This really an extension of skipping bitmap fonts. For some reason all the Hebrew fonts on RHEL/OEL 5.6 are Type 1. And its just Hebrew. The only Type 1 fonts shown up in a call to "fc-match -s sans" on OEL 6 that are of any interest are these Hebrew fonts. There are two options 1) Stop skipping Type 1 fonts. Seems attractive except that Type 1 fonts are not optimum for screen rendering and on some distros I've seen these pop up as the default Latin font. Arguably a distro bug as when there are TrueType fonts they should always be preferred. 2) Append the JRE's Lucida fonts. Perhaps even just add Lucida Sans as the fall back for all the logical fonts as we do in the custom fontconfig case. Although this doesn't help openjdk.
            Hide
            prr Philip Race added a comment -
            BT2:EVALUATION

            Went with option 1. If the distros use Type1 fonts so will we.
            Show
            prr Philip Race added a comment - BT2:EVALUATION Went with option 1. If the distros use Type1 fonts so will we.
            Hide
            prr Philip Race added a comment -
            BT2:PUBLIC COMMENTS

            Verifying this fix needs to be done on a RHEL/OEL 5.6 system with
            appropriate Hebrew Type 1 fonts as shown via "fc-match -s sans"
            Show
            prr Philip Race added a comment - BT2:PUBLIC COMMENTS Verifying this fix needs to be done on a RHEL/OEL 5.6 system with appropriate Hebrew Type 1 fonts as shown via "fc-match -s sans"

              People

              • Assignee:
                prr Philip Race
                Reporter:
                okutsu Masayoshi Okutsu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: