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

Enhance logging when reading the fontconfig info file

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • Resolved In Build:
      b19
    • CPU:
      generic
    • OS:
      generic

      Description

      When reading the fcinfo - file (fontconfig info file) we currently have very limited logging.
      This should be enhanced to get more info in case of errors , and to have at least some info in the log when -Dsun.java2d.debugfonts=true is set.

       This change added the following messages:

      "fontconfig info file <file name> does not exist"
      "IOException (<exception message>) reading from <file name>"
      "fontconfig info file version mismatch (found: <version>, expected: <version>)"
      "new, different fontconfig detected"
      "out of date cache directories detected"
      "bad non-positive .length entry in fontconfig file <file name>"
      "missing file value for key <keyname> in fontconfig file <file name>"
      "successfully parsed the fontconfig file at <file name>"

        Attachments

          Activity

            People

            Assignee:
            mbaesken Matthias Baesken
            Reporter:
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: