Linux:2D.drawString() with MonoSpaced/DialogInput can't draw strings completely

XMLWordPrintable

    • 2d
    • x86
    • linux


      Kestrel-Linux rc-b14 on RedHat6.1J and 6.1Jupdate


      A string which includes Japanese characters can not be drawn completely with 2D.drawString() with both of MonoSpaced and DialogInput.
      Some characters from the end of the string can not be drawn.

      This phenomenon does not occur with Serif, SansSerif and Dialog.

      This is not reproducible with the previous build, rc-b12.
      This is a regression.


      To reproduce,

      1. Extract attached FontEffectTest.tar
      2. Compile *java under extracted directory, FontEffectTest.
      CodePanel.java
      DrawRoot.java
      FontEffectTest3.java
      FontSetPanel.java
      PrintButton.java
      RenderingSetPanel.java

      3. Run FontEffectTest3
      4. Input code for Japanese characters like 3040 or 4e00 in "Hex Unicode" TextField.
      5. Select Monospaced or DialogInput from Font Menu.

      Then, you can see the phenomenon described above occurs with any styles.



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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: