mirror of
https://git.yoctoproject.org/poky
synced 2026-06-05 09:52:39 +02:00
ref-manual: Added fontcache class and FONT_PACKAGES variable.
(From yocto-docs rev: 6e091001cabeca1d7427e6c74058b0c5b9204938) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6032dcdb32
commit
48cef6ad6b
@@ -573,6 +573,29 @@
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id='ref-classes-fontcache'>
|
||||
<title><filename>fontcache.bbclass</filename></title>
|
||||
|
||||
<para>
|
||||
The font cache (<filename>fontcache</filename>) class generates the
|
||||
proper post-installation and post-remove (postinst and postrm)
|
||||
scriptlets for font packages.
|
||||
These scriptlets call <filename>fc-cache</filename> (part of
|
||||
<filename>Fontconfig</filename>) to add the fonts to the font
|
||||
information cache.
|
||||
Since the cache files are architecture-specific,
|
||||
<filename>fc-cache</filename> runs using QEMU if the postinst
|
||||
scriptlets need to be run on the build host during image creation.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If the fonts being installed are in packages other than the main
|
||||
package, set
|
||||
<link linkend='var-FONT_PACKAGES'><filename>FONT_PACKAGES</filename></link>
|
||||
to include the packages containing the fonts.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id='ref-classes-debian'>
|
||||
<title>Debian Renaming - <filename>debian.bbclass</filename></title>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user