diff options
author | Jeremias Maerki <jeremias@apache.org> | 2011-02-02 17:28:58 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2011-02-02 17:28:58 +0000 |
commit | 9490404b65fcd1c763280fcad3ab8e1b6ecd2589 (patch) | |
tree | 98f250f02a9cfb2de8c56f1f3fa870329a90bf2b /src/documentation/content | |
parent | d42674784ff6bda51cf4b28b377414b059cbcfd7 (diff) | |
download | xmlgraphics-fop-9490404b65fcd1c763280fcad3ab8e1b6ecd2589.tar.gz xmlgraphics-fop-9490404b65fcd1c763280fcad3ab8e1b6ecd2589.zip |
Adding information about the font cache file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content')
-rw-r--r-- | src/documentation/content/xdocs/trunk/fonts.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/trunk/fonts.xml b/src/documentation/content/xdocs/trunk/fonts.xml index dcd03e548..57b9b98f9 100644 --- a/src/documentation/content/xdocs/trunk/fonts.xml +++ b/src/documentation/content/xdocs/trunk/fonts.xml @@ -426,6 +426,21 @@ Name: font/myfont.ttf Content-Type: application/x-font</source> <p>This feature allows you to create JAR files containing fonts. The JAR files can be added to fop by providem them in the classpath, e.g. copying them into the lib/ directory.</p> + <section id="font-cache"> + <title>The font cache</title> + <p> + Apache FOP maintains a cache file that is used to speed up auto-detection. This file + is usually found in the ".fop" directory under the user's home directory. It's called + "fop-fonts.cache". When the user's home directory is not writable, the font cache file + is put in the directory for temporary files. + </p> + <p> + If there was a problem loading a particular font, it is flagged in the cache file so + it is not loaded anymore. So, if a font is actually around but is still not found + by Apache FOP, it's worth a try to delete the font cache file which forces Apache FOP + to reparse all fonts. + </p> + </section> </section> <section id="embedding"> <title>Embedding</title> |