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

JEditorPane: font rendering issues (undrawn text, invalid selection)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 9
    • client-libs
    • None

      Saving here the part of JDK-8148360 which isn't covered by the fix provided for JDK-8142966.
      It does not relate to hidpi as the issue is also reproducible at least with JDK8 b132 (and there is no need to set GDK_SCALE to reproduce).

      JDK9 b101 + Ubuntu 14.04 Linux
      Please run the 'FontTest.java' example from JDK-8148484 with different L&Fs (GTK, Metal, Motif).

      there are the following issues (please see the screenshots):
      1. the text somewhere isn't drawn fully
      2. invalid selection highlighting
      (and not sure if these two are bugs, but just in case)
      3. the fonts (especially italic) are rough for Motif in comparison with other L&Fs (see 'motif.png')
      4. sometimes the fonts are quite different from their HTML twins (see 'metal-2.png' for Courier)

        1. gtk.png
          gtk.png
          52 kB
        2. metal-1.png
          metal-1.png
          68 kB
        3. metal-2.png
          metal-2.png
          245 kB
        4. motif.png
          motif.png
          38 kB

            Unassigned Unassigned
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: