From 9490404b65fcd1c763280fcad3ab8e1b6ecd2589 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 2 Feb 2011 17:28:58 +0000 Subject: [PATCH] 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 --- src/documentation/content/xdocs/trunk/fonts.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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

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.

+
+ The font cache +

+ 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. +

+

+ 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. +

+
Embedding -- 2.39.5