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

RFE: Use libfontconfig to create/synthesise a fontconfig.properties

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b33
    • CPU:
      generic, x86
    • OS:
      generic, solaris_2.5.1
    • Verification:
      Not verified

      Backports

        Description

        JDK's logical fonts are statically specified in fontconfig.properties files.
        This works well on stable platforms (Solaris and Windows).
        On Linux variants there is no assurance of the presence of particular fonts
        to support particular locales (CJK for example).
        For many "supported" variants we have provided carefully tuned fontconfig.properties
        files, but on other variants we may default to just the basic support provided
        by the JDK's fonts.
        It should be possible to greatly improve matters on such platforms by using
        libfontconfig to identify suitable fonts. The details of whether this information
        is installed ito the JRE, or a per-user location, or always generated at run time
        is TBD.

          Issue Links

            Activity

            Hide
            prr Philip Race added a comment -
            BT2:EVALUATION

            This has been implemented for JDK 7. On "unrecognised" Linux platforms, and
            also on OpenSolaris, JDK will use libfontconfig to select fonts to use for
            the logical fonts. It does not exactly synthesise a fontconfig.properties file,
            but the result is the same. There will no longer be a need to create to
            manually create and distribute these files to support new linux versions.
            Show
            prr Philip Race added a comment - BT2:EVALUATION This has been implemented for JDK 7. On "unrecognised" Linux platforms, and also on OpenSolaris, JDK will use libfontconfig to select fonts to use for the logical fonts. It does not exactly synthesise a fontconfig.properties file, but the result is the same. There will no longer be a need to create to manually create and distribute these files to support new linux versions.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: