[DejaVu-bugs] [Bug 44624] New: Incorrect height (ascent and descent) for font

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 10 02:59:08 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=44624

             Bug #: 44624
           Summary: Incorrect height (ascent and descent) for font
    Classification: Unclassified
           Product: DejaVu
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mono Sans
        AssignedTo: dejavu-bugs at lists.freedesktop.org
        ReportedBy: pierre-bugzilla at ossman.eu


This originated in Red Hat's bugzilla as bug 752538:

https://bugzilla.redhat.com/show_bug.cgi?id=752538

Quick summary:

Freetype <= 2.4.5 rendered DejaVu Mono in a way that looked decent, but was
technically incorrect. Freetype >= 2.4.6 follows the TTF specification more
properly, but causes DejaVu Mono to be rendered with an incorrect height.

To clearly see that that the height is incorrect, we can examine glyph U+2551
(two vertical bars), which is supposed to span exactly one line. This glyph has
an ascent of 1992 and a descent of 618. But the font's meta data states an
ascent of 1901 and a descent 483.

The practical issue of this is too much overlap of glyphs, and even when there
is no overlap the lack of space between lines is very displeasing to look at
(IMO).

(Note: I have no idea if the other DejaVu fonts also need to be adjusted)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the DejaVu-bugs mailing list