[DejaVu-bugs] [Bug 44624] Incorrect height (ascent and descent) for font
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 10 03:03:11 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=44624
--- Comment #1 from Pierre Ossman <pierre-bugzilla at ossman.eu> 2012-01-10 03:03:11 PST ---
I did a quick attempt at trying to fix this, but I'm clearly missing some
details here. I did this:
Index: src/DejaVuSansMono.sfd
===================================================================
--- src/DejaVuSansMono.sfd (revision 2503)
+++ src/DejaVuSansMono.sfd (working copy)
@@ -29,13 +29,13 @@
OS2TypoDescent: -492
OS2TypoDOffset: 0
OS2TypoLinegap: 410
-OS2WinAscent: 1901
+OS2WinAscent: 1992
OS2WinAOffset: 0
-OS2WinDescent: 483
+OS2WinDescent: 618
OS2WinDOffset: 0
-HheadAscent: 1901
+HheadAscent: 1992
HheadAOffset: 0
-HheadDescent: -483
+HheadDescent: -618
HheadDOffset: 0
OS2Vendor: 'PfEd'
Lookup: 1 0 0 "'locl' Localized Forms in Latin lookup 0" {"'locl' Localized
Forms in Latin lookup 0-1" } ['locl' ('latn' <'ISM ' 'KSM ' 'LSM ' 'NSM ' 'SKS
' 'SSM ' > ) ]
Which definitely increased the height of the font. Unfortunately it increased
it too much, which gives a bit of a gap for U+2551.
I also don't know how the other ascent and descent values should be adjusted.
Apply the same offset? Or is there also a scale involved?
--
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