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

FontMetrics.getLeading() may be negative in freetype-based OpenJDK builds

    • 2d
    • b100
    • generic
    • generic
    • Not verified

        A small test program showed that 12 pt Deja Vu Sans was reporting
        FontMetrice.getLeading() of -1, but only in OpenJDK freetype-based builds.

        This is caused by freetype doing premature rounding of ascent,
        descent and height, thus losing the raw data used to infer the leading.

        For the full saga, see the March, May and June threads here:
        http://mail.openjdk.java.net/pipermail/2d-dev/2010-March/001214.html
        http://mail.openjdk.java.net/pipermail/2d-dev/2010-May/001242.html
        http://mail.openjdk.java.net/pipermail/2d-dev/2010-June/001293.html

              prr Philip Race
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: