Diff freetype-2.13.1 with a freetype-2.13.1-r1
/usr/portage/media-libs/freetype/freetype-2.13.1-r1.ebuild 2023-10-09 14:52:31.664368405 +0300 | ||
---|---|---|
28 | 28 | |
29 | 29 |
LICENSE="|| ( FTL GPL-2+ )" |
30 | 30 |
SLOT="2" |
31 |
IUSE="X +adobe-cff brotli bzip2 +cleartype-hinting debug doc fontforge harfbuzz infinality +png static-libs svg utils" |
|
31 |
IUSE="X +adobe-cff brotli bzip2 +cleartype-hinting debug doc fontforge harfbuzz +png static-libs svg utils" |
|
32 | 32 | |
33 | 33 |
RDEPEND=" |
34 | 34 |
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
... | ... | |
137 | 137 |
|| die "unable to disable option $1" |
138 | 138 |
} |
139 | 139 | |
140 |
# Will be the new default for >=freetype-2.7.0 |
|
141 |
disable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2" |
|
142 | ||
143 |
if use infinality && use cleartype-hinting ; then |
|
144 |
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )" |
|
145 |
elif use infinality ; then |
|
146 |
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 1" |
|
147 |
elif use cleartype-hinting ; then |
|
148 |
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2" |
|
140 |
if ! use cleartype-hinting ; then |
|
141 |
disable_option TT_CONFIG_OPTION_SUBPIXEL_HINTING |
|
149 | 142 |
fi |
150 | 143 | |
151 | 144 |
# Can be disabled with FREETYPE_PROPERTIES="pcf:no-long-family-names=1" |