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

Linux:Japanese characters can not displayed correctly with Monospaced/Bold

    XMLWordPrintable

Details

    • linux-beta
    • x86
    • linux
    • Verified

    Description



      Tested on RedHat6.1J with Cricket for Linux build K, L and L without JIT.

      Japanese characters can not displayed correctly on TextArea and TextField
      wiht a font "MonoSpaced" and a shape "Bold".

      To reproduce,

      1. Compile attached programs "CharView.java" and "FontView.java"
      and run "CharView".
      2. Select "TextField" and "Bold" in eachu menu.
      3. Input 3000 for HIRAGANA or 4E00 for KANJI in textfield and hit a return key.
      Then, Japanese characters can not displayed correctly.


      A wrong description is found in "font.properties.ja", line 227;

      -b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-,1
      At the end of the line, "," and "1" is in reverse order.
      Correcting it and testing again, the characters can displayed correctly.


      Attachments

        Activity

          People

            sherman Xueming Shen
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: