Sam James a9eb1de2e7 font.eclass: introduce FONT_OPENTYPE_COMPAT for converting old bitmap fonts
>=x11-libs/pango-1.44 dropped support for old bitmap fonts. We can convert
(or really, wrap/embed) fonts from the legacy .bdf and .pcf formats into the OTB
wrapper format using x11-apps/fonttosfnt.

This commit adds FONT_OPENTYPE_COMPAT to font.eclass which packages installing
bitmap fonts can set to opt-in to conversion/wrapping.

Note that the font conversion isn't perfect -- it's good enough
in many cases, but in some cases they may require tweaking
via fontconfig to get pixel size right, antialiasing settings, ...

Adds IUSE=+opentype-compat to any ebuilds which set FONT_OPENTYPE_COMPAT;
enabled by default given discoverability of this issue may be difficult
and presumably any font package enabling FONT_OPENTYPE_COMPAT will be
useless without it anyway.

See also https://fedoraproject.org/wiki/BitmapFontConversion.

Bug: https://bugs.gentoo.org/698922
Thanks-to: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2022-11-20 01:02:38 +00:00
2022-11-16 19:44:03 +01:00
2022-11-13 19:33:56 +01:00
2022-11-14 22:02:05 -05:00
2022-11-19 03:23:27 +00:00
2022-11-19 21:30:27 +01:00
2022-11-16 15:31:04 -05:00
2022-11-05 18:42:42 -04:00
2022-11-19 17:57:19 +01:00
2022-11-18 12:55:17 +01:00
2022-11-14 10:11:23 -05:00
2022-11-19 16:47:30 +01:00
2022-11-19 16:52:37 +01:00
2022-11-19 07:07:44 -06:00
2022-11-19 12:39:40 +01:00
2022-11-19 22:04:24 +01:00
2022-11-19 21:30:28 +01:00
2022-11-15 19:21:42 +01:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%