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

Path to DejaVu italic font in fontconfig.Ubuntu.properties is incorrect

XMLWordPrintable

    • 2d
    • x86
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      10.0.2 / Ubuntu 18.04 LTS

      A DESCRIPTION OF THE PROBLEM :
      $JAVA_HOME/lib/fontconfig.Ubuntu.properties is new for Java 10, and contains an incorrect path to the italic and bold-italic version of the "DejaVu" fonts.




      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Set the font in Java to an italic version of Serif; the output will actually be sans-serif.


      CUSTOMER SUBMITTED WORKAROUND :
      The lines

      filename.DejaVu_Serif_Oblique=/usr/share/fonts/truetype/dejavu/DejaVuSerif-Oblique.ttf
      filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldOblique.ttf

      in fontconfig.Ubuntu.properties should be replaced with

      filename.DejaVu_Serif_Oblique=/usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf
      filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf


      FREQUENCY : always


            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: