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

S9:Latin-1 Supplement aren't displayed correctly by drawString or TextLayout

XMLWordPrintable

    • 2d
    • sparc
    • solaris_9

      ============================================================================
      Merlin build : beta_refresh-b68
      Solaris9 build : s81_40 with "Entire distribution OEM support" installing
      locale : ja, ja_JP.PCK, ja_JP.UTF8, c
      CDE version : 1.5_40
      ============================================================================

      > java -version
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b68)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b68, mixed mode)

      > uname -a
      SunOS ronrico 5.9 s81_40 sun4u sparc SUNW,Ultra-5_10

      > uname -a
      SunOS bombay 5.9 s81_40 i86pc i386 i86pc

      Latin-1 Supplement(\u00A0 - \u00FF) are not displayed correctly using drawString and TextLayout.draw with any font, size, style and antialias OFF on Solaris9 s81_40 Sparc and x86 for ja, ja_JP.PCK, ja_JP.UTF8 and C locale using Merlin beta-refresh b68.
      However, changing Antialias ON, their code are dispalyed correctly.

      To reproduce;

      1. Launch Font2D demo on Solaris9(s81-40)
         ($JAVAHOME/jdk1.4/demo/jfc/Font2DTest/Font2DTest.jar)
      2. Select Dialog or DialogInput or Serif or Sanserif or Monospaced from Font
      3. Select Latin-1 Supplement from Range
      4. Select drawString or TextLayout.draw from DrawMethod.
      Then, you can see that Latin-1 Supplement code are not displayd correctly.

      Other code are displayed as Latin-1 Supplement code.
      Please see the attached two gif files.
      (s9_sparc_drawString_anti-OFF.gif, s9_x86_TextLayout_anti-OFF.gif)

      Howerver, cheking Antialias ON, their code are displayed properly.
      Please see the attached two gif files.
      (s9_sparc_drawString_anti-ON.gif, s9_x86_TextLayout_anti-ON.gif)

      Latin-1 Supplement code were displayed correclty with Antialias ON/OFF on Solaris9(s81_39) build using Merlin beta-refresh b67.

      This problem may be a solaris problem....

      [rieko.suzuki@Japan 2001-06-19]

            dougfelt Doug Felt (Inactive)
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: