diff options
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 9752767c69..5aae51eef4 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -573,6 +573,29 @@ | |||
573 | </para> | 573 | </para> |
574 | </section> | 574 | </section> |
575 | 575 | ||
576 | <section id='ref-classes-fontcache'> | ||
577 | <title><filename>fontcache.bbclass</filename></title> | ||
578 | |||
579 | <para> | ||
580 | The font cache (<filename>fontcache</filename>) class generates the | ||
581 | proper post-installation and post-remove (postinst and postrm) | ||
582 | scriptlets for font packages. | ||
583 | These scriptlets call <filename>fc-cache</filename> (part of | ||
584 | <filename>Fontconfig</filename>) to add the fonts to the font | ||
585 | information cache. | ||
586 | Since the cache files are architecture-specific, | ||
587 | <filename>fc-cache</filename> runs using QEMU if the postinst | ||
588 | scriptlets need to be run on the build host during image creation. | ||
589 | </para> | ||
590 | |||
591 | <para> | ||
592 | If the fonts being installed are in packages other than the main | ||
593 | package, set | ||
594 | <link linkend='var-FONT_PACKAGES'><filename>FONT_PACKAGES</filename></link> | ||
595 | to include the packages containing the fonts. | ||
596 | </para> | ||
597 | </section> | ||
598 | |||
576 | <section id='ref-classes-debian'> | 599 | <section id='ref-classes-debian'> |
577 | <title>Debian Renaming - <filename>debian.bbclass</filename></title> | 600 | <title>Debian Renaming - <filename>debian.bbclass</filename></title> |
578 | 601 | ||