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

drawString().transform():Transformed Japanese character's width is not equal

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      beta
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Verified

      Description

      Tested with jdk1.3.1 b08 on Japanese Windows 95 and NT.

      Diagonal and horizon Japanese characters's width are not equal under 20 size point.
      In plain style, diagonal Japanese characters' width is wider than horizon.

      To reproduce:
      1. extract attached test program
      2. compile,
         % javac *.java
      3. execute,
         % java FontEffectTest2
      4. Select one of the font among "Sanserif","Monospaced", "Dialog" and "DialogInput", except "serif"
      5. Select "20" point.
      6. Select "Plain"
      7. Please input japanese code like "\u3040", "\u3050", "\u3060","\u3070" "\u3080"... from Hex Unicode.
      8. Select "Default rendering method" and "Default antialiasing rendaring mode".

      You can see diagonal and horizon japanese character's width are not equal in drawString().transform().

         

        Attachments

          Activity

            People

            Assignee:
            pkejriwasunw Parry Kejriwal (Inactive)
            Reporter:
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: