<feed xmlns='http://www.w3.org/2005/Atom'>
<title>algaos/algaos-ebuild-tree/eclass/font.eclass, branch next</title>
<subtitle>[no description]</subtitle>
<id>https://git.algaos.com/algaos/algaos-ebuild-tree/atom?h=next</id>
<link rel='self' href='https://git.algaos.com/algaos/algaos-ebuild-tree/atom?h=next'/>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/'/>
<updated>2026-02-20T17:23:59Z</updated>
<entry>
<title>font.eclass: Document _update_fontcache as internal function</title>
<updated>2026-02-20T17:23:59Z</updated>
<author>
<name>Ulrich Müller</name>
<email>ulm@gentoo.org</email>
</author>
<published>2026-02-01T16:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=10233b8dfde85710ef174f16bbda52f452ef596d'/>
<id>urn:sha1:10233b8dfde85710ef174f16bbda52f452ef596d</id>
<content type='text'>
Signed-off-by: Ulrich Müller &lt;ulm@gentoo.org&gt;
</content>
</entry>
<entry>
<title>eclass: standardize prologue/epilogue</title>
<updated>2023-03-17T22:04:31Z</updated>
<author>
<name>David Seifert</name>
<email>soap@gentoo.org</email>
</author>
<published>2023-03-17T22:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=2cba2db27919bc449ed2a7bf7ed3259c6b96e65f'/>
<id>urn:sha1:2cba2db27919bc449ed2a7bf7ed3259c6b96e65f</id>
<content type='text'>
Closes: https://github.com/gentoo/gentoo/pull/30061
Signed-off-by: David Seifert &lt;soap@gentoo.org&gt;
</content>
</entry>
<entry>
<title>font.eclass: introduce FONT_OPENTYPE_COMPAT for converting old bitmap fonts</title>
<updated>2022-11-20T01:02:38Z</updated>
<author>
<name>Sam James</name>
<email>sam@gentoo.org</email>
</author>
<published>2022-10-15T02:36:04Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=a9eb1de2e795d8a8b2e99d64a3c9567744bb0f41'/>
<id>urn:sha1:a9eb1de2e795d8a8b2e99d64a3c9567744bb0f41</id>
<content type='text'>
&gt;=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 &lt;kfm@plushkava.net&gt;
Signed-off-by: Sam James &lt;sam@gentoo.org&gt;
</content>
</entry>
<entry>
<title>font.eclass: Remove racy pkg_postinst code</title>
<updated>2022-11-08T23:48:51Z</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gentoo.org</email>
</author>
<published>2022-11-08T01:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=e4a9c7da92382416ba4a25b2bc04a47820f116c1'/>
<id>urn:sha1:e4a9c7da92382416ba4a25b2bc04a47820f116c1</id>
<content type='text'>
Noticed on ChromeOS when installing a large number of font packages in
parallel:

/usr/share/fonts/noto/NotoSerifThai-Regular.ttf#new' from 0004 (------r--) to 2440 (r--r-S---)
* ERROR: media-fonts/ipaex-004.01-r1::chromiumos failed (postinst phase):
*   failed to fix font files perms

The "#new" filename is the hint. Portage uses "#new" suffixes when
copying files to the system, and then renames them to their final
filenames.

This code was executing while another font was in the process of being
copied to the system. Font packages should just ensure that they install
files with correct permissions to begin with, and all except
media-fonts/x11fonts-jmk already use 0644 permissions.
media-fonts/x11fonts-jmk used 0444 (which was probably fine) until the
previous commit which changes its installed files to 0644.

Bug: https://bugs.gentoo.org/187774
Signed-off-by: Matt Turner &lt;mattst88@gentoo.org&gt;
</content>
</entry>
<entry>
<title>font.eclass: check for dir existence in _update_fontcache</title>
<updated>2022-10-19T03:08:48Z</updated>
<author>
<name>Sam James</name>
<email>sam@gentoo.org</email>
</author>
<published>2022-10-19T03:08:48Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=9480cc629e2f98caf0bdf410724a294377e07f57'/>
<id>urn:sha1:9480cc629e2f98caf0bdf410724a294377e07f57</id>
<content type='text'>
It's still subject to a narrow race but nowhere near as bad as removed-last-font-now-
its-gone.

Closes: https://bugs.gentoo.org/754702
Signed-off-by: Sam James &lt;sam@gentoo.org&gt;
</content>
</entry>
<entry>
<title>font.eclass: Support EAPI 8</title>
<updated>2022-04-03T18:50:13Z</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gentoo.org</email>
</author>
<published>2022-04-03T18:48:34Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=add940b433e6edb9bea99e217b704c4b4655163e'/>
<id>urn:sha1:add940b433e6edb9bea99e217b704c4b4655163e</id>
<content type='text'>
Closes: https://bugs.gentoo.org/806496
Signed-off-by: Matt Turner &lt;mattst88@gentoo.org&gt;
</content>
</entry>
<entry>
<title>*.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLE</title>
<updated>2022-03-24T03:58:34Z</updated>
<author>
<name>Ulrich Müller</name>
<email>ulm@gentoo.org</email>
</author>
<published>2022-03-18T20:29:29Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=d7317785d04e7de172de3bff05852fca3cd15af2'/>
<id>urn:sha1:d7317785d04e7de172de3bff05852fca3cd15af2</id>
<content type='text'>
Bug: https://bugs.gentoo.org/835396
Signed-off-by: Ulrich Müller &lt;ulm@gentoo.org&gt;
</content>
</entry>
<entry>
<title>font.eclass: Cleanup double slashes, FONTDIR always starts w/ '/'</title>
<updated>2021-03-26T21:32:07Z</updated>
<author>
<name>Andreas Sturmlechner</name>
<email>asturm@gentoo.org</email>
</author>
<published>2021-03-26T20:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=16073efc491213f52855ca9c355652de6ea47947'/>
<id>urn:sha1:16073efc491213f52855ca9c355652de6ea47947</id>
<content type='text'>
Signed-off-by: Andreas Sturmlechner &lt;asturm@gentoo.org&gt;
</content>
</entry>
<entry>
<title>font.eclass: use BDEPEND with EAPI 7</title>
<updated>2021-03-26T21:32:03Z</updated>
<author>
<name>David Michael</name>
<email>fedora.dm0@gmail.com</email>
</author>
<published>2021-03-15T18:11:26Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=60a4b74e3d586f78bfdad802aaf313541f26fb62'/>
<id>urn:sha1:60a4b74e3d586f78bfdad802aaf313541f26fb62</id>
<content type='text'>
The mkfontscale program and encodings paths are used in the native
root during src_install, so they need to be in BDEPEND.

Also stop documenting DOCS as an eclass variable since it is a part
of EAPI 6 and only used in eutils.eclass for EAPI 5 support.

Closes: https://bugs.gentoo.org/776412
Signed-off-by: David Michael &lt;fedora.dm0@gmail.com&gt;
Signed-off-by: Andreas Sturmlechner &lt;asturm@gentoo.org&gt;
</content>
</entry>
<entry>
<title>font.eclass: Drop EAPI-6 support</title>
<updated>2021-03-26T21:30:57Z</updated>
<author>
<name>Andreas Sturmlechner</name>
<email>asturm@gentoo.org</email>
</author>
<published>2021-03-21T17:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=1305a4ac642f3fcfa34e177d1658b6b8f368097d'/>
<id>urn:sha1:1305a4ac642f3fcfa34e177d1658b6b8f368097d</id>
<content type='text'>
Drop FONT_S space-delimited-list fallback support.

Signed-off-by: Andreas Sturmlechner &lt;asturm@gentoo.org&gt;
</content>
</entry>
</feed>
