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

Letter spacing is ugly as we do not sub-pixel position

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: fx2.1
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      None

      Description

      You can see in the attached screenshot that the spacing between the "P" and "a" of "Pane" are completely different which looks really ugly. That is just one of 100% of places where this shows up in the SceneBuilder tool.

      I believe that this is because we use fractional metrics to calculate the letter positions but then snap the rendered layer to pixel boundaries. The result of this is the letter spacing is randomly all over the place and looks really ugly. This needs to be fixed in both LCD and Grayscale modes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prr Philip Race
              Reporter:
              jasper Jasper Potts (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: