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

Some JA composite font chars does not draw correctly with TextLayout drawing

XMLWordPrintable

    • 2d
    • beta
    • generic, sparc
    • generic, solaris_7
    • Verified

      On all Merlin beta builds since b16, some characters cannot be displayed
      or shows differnt glyphs using TextLayout with composite fonts on JA locale.
      This happens on both Win32 and Solaris.

      To see this:
      1) Run Font2DTest with any build after Merlin b16 on Japanese system
      2) Select "Other..." from Unicode Range and enter
         3000 (CJK Symbols and Punctuation) into the Unicode base.
      3) Switch the Draw Method between TextLayout.draw and drawString or drawChars.
         Many characters that gets drawn with drawString and drawChars are
         missing or drawn incorrectly with TextLayout.draw.

         You can also see similar effects on Solaris with
         Selecting Greek or Cyrillic Unicode range.
         These fonts (mostly) shows characters fine on Win32.

      shinsuke.fukuda@Eng 2000-08-03

      It seems that almost all ranges beyond 0x00FF is prone to this problem,
      although the problem shows up diiferently depending on the system.
      The following ranges (as far as I can tell) have either wrong or missing glyphs
      with default "dialog" fonts on Japanese system:

      On Both : Latin Extended-A (0100-017F)
                  Latin Extended-B (0180-01FF)
                  Greek (0370-03FF)
                  General Punctuation (2000-206F)
                  Letterlike Symbols (2100-214F)
                  Number Forms (2150-218F)
                  Arrows (2190-21FF)
                  Mathematical Operators (2200-22FF)
                  Enclosed Alphanumerics (2460-24FF)
                  Box Drawing (2500-257F)
                  Block Elements (2580-259F)
                  Geometric Shapes (25A0-25FF)
                  Miscellaneous Symbols (2600-26C5)
                  Dingbats (2700-27BF)
                  CJK Symbols and Punctuations (3000-303F)
      On Windows: IPA Extension (0250-02AF)
                  Spacing Modifier Letters (02B0-02FF)
      On Solaris: Cyrillic (0400-04FF)
                  JIS0212 chars in CJK Unifide Ideographs (4E00-9FAF)
                  Halfwidth and Fullwidth Forms (FF00-FFEF)

      shinsuke.fukuda@Eng 2000-08-04

            dougfelt Doug Felt
            sfukudasunw Shinsuke Fukuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: