Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589800 - media-libs/freetype-2.6.5 +infinality font rendering regression
Summary: media-libs/freetype-2.6.5 +infinality font rendering regression
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
Keywords: PullRequest
Depends on:
Reported: 2016-07-27 05:51 UTC by Mark R. Pariente
Modified: 2021-03-29 08:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

freetype-2.6.5 hinting 0..3 (freetype-2.6.5-4hinting.patch,1.80 KB, patch)
2016-08-01 15:58 UTC, Denis Kaganovich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark R. Pariente 2016-07-27 05:51:47 UTC
After upgrading to media-libs/freetype-2.6.5[+infinality] from 2.6.3-r1 my fonts started looking way worse (as if infinality isn't working). I'm also using infinality-ultimate-meta, but I tried without it as well and got the same results.

Looking online I see that arch folks patched up freetype to be configured via environment variables:

It looks like the gentoo ebuild retains:

in ftoption.h which causes the v40 interpreter to be selected by the driver in ttobj.c

    driver->interpreter_version = TT_INTERPRETER_VERSION_40;

I think the gentoo ebuild should patch this out so the VERSION_38 interpreter is selected for USE +infinality and the VERSION_40 interpreter is selected for USE +cleartype_hinting. Unfortunately I tried this way of patching, and while it helped (fonts looked better) it still didn't achieve the same quality as freetype 2.6.3 did.

There's also a related looking funtoo bug:
Comment 1 Denis Kaganovich 2016-08-01 15:58:25 UTC
Created attachment 442202 [details, diff]
freetype-2.6.5 hinting 0..3

Yes, +infinality & +cleartype_hinting must be cumulative, but TT_CONFIG_OPTION_SUBPIXEL_HINTING=0 (or just defined) is looks option too. This is too subjective, so you can try attached ebuild patch and 4 combinations:
USE="hinting -infinality -cleartype_hinting"
USE="hinting infinality -cleartype_hinting"
USE="hinting -infinality cleartype_hinting"
USE="hinting infinality cleartype_hinting"
Comment 2 Larry the Git Cow gentoo-dev 2021-03-29 08:06:26 UTC
The bug has been referenced in the following commit(s):

commit 66953420fd03b7ea1ed815e1db08d76737a5bbb8
Author:     Andreas Sturmlechner <>
AuthorDate: 2021-03-27 13:27:42 +0000
Commit:     Lars Wendler <>
CommitDate: 2021-03-29 08:06:15 +0000

    profiles: Mask media-libs/fontconfig-infinality +friends for removal
    Dead upstream.
    Signed-off-by: Andreas Sturmlechner <>
    Signed-off-by: Lars Wendler <>

 profiles/package.mask | 9 +++++++++
 1 file changed, 9 insertions(+)