[MacPorts] #55626: freetype 2.8x : restore line height as it was in 2.7.1 and earlier
MacPorts
noreply at macports.org
Mon Jan 1 22:41:28 UTC 2018
#55626: freetype 2.8x : restore line height as it was in 2.7.1 and earlier
----------------------+----------------------
Reporter: RJVB | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: freetype
----------------------+----------------------
Freetype 2.8 introduced a fix for an old regression I never even noticed
but with a very noticeable side-effect: it causes an almost 10% reduction
in the number of lines that will be displayed in editors, terminals, etc.
(e.g. 70 instead of 76 using Ubuntu Mono 12pt). This difference can be
observed by overlaying screenshots of applications using FT 2.7.1 and
2.8/2.8.1 in semi-transparant mode; individual lines overlap perfectly but
not more than 1 at a time.
I found a fix online:
https://bbs.archlinux.org/viewtopic.php?pid=1717280#p1717280 and prepared
the attached patch that applies to both 2.8 and 2.8.1 . This patch clearly
affects almost exclusively the vertical (y) metrics and indeed I notice no
other changes.
Vertical screen space is at a much more important premium than horizontal
space so I would suggest providing this "legacy" mode via a build variant.
--
Ticket URL: <https://trac.macports.org/ticket/55626>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list