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

Firefly/Linux:font.properties.ja is not correct.

XMLWordPrintable

    • fcs
    • x86
    • linux
    • Verified


      Tested with jdk1.3.0_01-beta_refresh-2 on RedHatLinux6.2J
      The latest bundles are located at
      /usr/local/java/jdk1.3.0_01-beta_refresh-2/bundles/linux

      java version "1.3.0_01-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01-beta)
      Java HotSpot(TM) Client VM (build 1.3.0_01beta, mixed mode)

      locale:
      LANG=ja_JP.eucJP
      LC_CTYPE="ja_JP.eucJP"
      LC_NUMERIC="ja_JP.eucJP"
      LC_TIME="ja_JP.eucJP"
      LC_COLLATE="ja_JP.eucJP"
      LC_MONETARY="ja_JP.eucJP"
      LC_MESSAGES="ja_JP.eucJP"
      LC_ALL=


      "Font specified in font.properties not found" messages are displayed on terminal as below when some GUI application starts and no Japanese characters can not be displayed;

      Font specified in font.properties not found [-monotype-courier new-bold-i---*-%d
      -*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*
      -%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-r---*-%d
      Font specified in font.properties not found [-monotype-courier new-regular-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-bold-r---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-regular-r---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-regular-i---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-bold-i---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1]


      To reproduce,
      1. Install jdk1.3.0_01-beta_refresh-2 on RedHatLinux6.2J
      2. Excute Font2D demo ($JAVAHOME/demo/jfc/Font2DTest/Font2DTest.jar)
      You can see the messages above.
      3. Select "Dialog" (or Serif, SansSerif, Monospaced, DialogInput) in Font.
      3. Select "Other" in Unicode Range.
      4. Input "4e00" in Unicode Base to display Japanese Kanji Characnters.
      You will find that no Kanji characters can be displayed.

      *You can see the same phenomenon in launching Java Plug-in ControlPanel.
      (Please launch ControlPanel under $JAVAHOME/jre/bin/ControlPanel)

      Tested with the previous verion, jdk1.3.0_01-beta_refresh, this problem was not seen and
      Japanese characters can be displayed correctly.

      A part of the result of "diff" between font.properties.ja in jdk1.3.0_01-beta_refresh-2 and jdk1.3.0_01-beta_refresh is below;

      2c2
      < # @(#)font.properties.ja 1.10 99/10/19
      ---
      > # @(#)font.properties.ja 1.10 99/12/10
      4c4
      < # Copyright 1998 by Sun Microsystems, Inc.,
      ---
      > # Copyright 1999, 2000 by Sun Microsystems, Inc.,
      16c16
      < # AWT Font default Properties for Solaris 2.6 and higher
      ---
      > # AWT Font default Properties for Japanese Redhat Linux 6.1 and higher
      21,47c21,35
      < serif.0=-monotype-times new roman-regular-r---*-%d-*-*-p-*-iso8859-1
      < serif.1=-ricoh-hg mincho l-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
      < serif.2=-ricoh-hg mincho l-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
      < serif.3=-ricoh-heiseimin-w3-r-normal--*-%d-*-*-m-*-jisx0212.1990-0
      < serif.4=-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific
      < serif.5=-*-symbol-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific
      <
      < serif.italic.0=-monotype-times new roman-regular-i---*-%d-*-*-p-*-iso8859-1
      < serif.italic.1=-ricoh-hg mincho l-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
      < serif.italic.2=-ricoh-hg mincho l-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
      < serif.italic.3=-ricoh-heiseimin-w3-r-normal--*-%d-*-*-m-*-jisx0212.1990-0
      < serif.italic.4=-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific
      < serif.italic.5=-*-symbol-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific
      ---
      > serif.0=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
      > serif.1=-wadalab-mincho-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0
      > serif.2=-wadalab-mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
      >
      > serif.italic.0=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
      > serif.italic.1=-wadalab-mincho-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0
      > serif.italic.2=-wadalab-mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
      >
      > serif.bold.0=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
      > serif.bold.1=-wadalab-mincho-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0
      > serif.bold.2=-wadalab-mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
      >
      > serif.bolditalic.0=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
      > serif.bolditalic.1=-wadalab-mincho-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0
      > serif.bolditalic.2=-wadalab-mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0

      .............

      *The whole result is attached as a text file "fp-linux.diff".



            jmelvin James Melvin (Inactive)
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: