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

Enhance logging when reading the fontconfig info file

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • client-libs
    • None
    • 2d
    • b19
    • generic
    • generic

      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>"

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

              Created:
              Updated:
              Resolved: