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

1.5.0 Regression: TextLayout on windows doesn't print Devanagari correctly

XMLWordPrintable

    • 2d
    • b54
    • generic
    • generic

      When JTable contains text from unicode ranges such as Devanagari or Thai, the text are not rendered properly. The same text is printed fine by using drawString.

      Compile and run PrintSample.java
      The first PrintDialog is from JTable Printing, print this.
      Second PrintDialog pops up with 2D Printing, print this.
      Compare first and second output. Its seen that JTable output
      does not handle the combining of unicode characters properly.

      Attached is prn files for reference.

      JTable printing is an important tiger feature and it has to work fine.

            prr Philip Race
            rmenonsunw Rakesh Menon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: