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

en_US.UTF-8 locale broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • 2d
    • beta
    • sparc
    • solaris_8

      Merlin b52 does not appear to handle the en_US.UTF-8 locale correctly.
      Characters which are not part of ISO-8859-1 are not drawing at all in
      lightweight components. Characters are rendered fine in heavyweight components.
      b49 was hanging during font initialization, but that problems appears to be
      gone. Now a test application comes up, but doesn't render text correctly. This
      is a regression from the ladybird behavior.

      Test case is attached.

      To reproduce, run test on Solaris 2.8 machine with the en_US.UTF-8 locale
      installed. I also have the following font packages installed:

      system SUNW1251f Russian 1251 fonts
      system SUNWarrf X11 Arabic required fonts
      system SUNWeugrf X11 sun_eu_greek fonts
      system SUNWi13rf X11 ISO-8859-13 required fonts
      system SUNWi15rf X11 ISO-8859-15 required fonts
      system SUNWi2of X11 ISO-8859-2 optional fonts
      system SUNWi2rf X11 ISO-8859-2 required fonts
      system SUNWi4of X11 ISO-8859-4 optional fonts
      system SUNWi4rf X11 ISO-8859-4 required fonts
      system SUNWi5of X11 ISO-8859-5 optional fonts
      system SUNWi5rf X11 ISO-8859-5 required fonts
      system SUNWi7of X11 ISO-8859-7 optional fonts
      system SUNWi7rf X11 ISO-8859-7 required fonts
      system SUNWi8rf X11 iso8859-8 required fonts
      system SUNWi9of X11 ISO-8859-9 optional fonts
      system SUNWi9rf X11 ISO-8859-9 required fonts
      system SUNWjxcft Japanese X Window System common fonts
      system SUNWkoi8f X11 KOI8-R fonts
      system SUNWxwcft X Window System common (not required) fonts
      system SUNWxwfnt X Window System platform required fonts
      system SUNWxwoft X Window System optional fonts
      ALE SUNW5ttf Traditional Chinese BIG5 True Type Fonts Package
      ALE SUNW5xmft Chinese/Taiwan BIG5 X Windows Platform minimum required Fonts Package
      ALE SUNWcttf Simplified Chinese (EUC) True Type Fonts
      ALE SUNWcufnt Simplified Chinese (UTF-8) X Windows Platform required Fonts Package
      ALE SUNWcxmft Simplified Chinese (EUC) X Windows Platform minimum Required Fonts
      ALE SUNWgttf Simplified Chinese (GBK) True Type Fonts
      ALE SUNWgxfnt Simplified Chinese (GBK) X Windows Platform required Fonts Package
      ALE SUNWhttf Traditional Chinese True Type Fonts Package
      ALE SUNWhufnt Traditional Chinese (UTF-8) X Windows Platform required Fonts Package
      ALE SUNWhxfnt Traditional Chinese X Windows Platform required Fonts Package
      system SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts
      system SUNWjxmft Japanese X Window System Minimum Required Fonts
      ALE SUNWkttf Korean True Type Fonts
      ALE SUNWkxfnt Korean X Windows Platform Required Fonts
      ALE SUNWkxmft Korean UTF-8 X Windows Platform minimum Required Fonts
      system SUNWtdft Thai L10N for CDE Fonts
      system SUNWtxfnt Thai X Windows Platform required Fonts Package


      % setenv LANG en_US.UTF-8
      % setenv LC_ALL en_US.UTF-8
      % java TestText

            sherman Xueming Shen
            dmendenhsunw David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: