From 01c2ec7ac6490c7479b1d6230b026fa01eeced03 Mon Sep 17 00:00:00 2001 From: Chris Bowditch Date: Mon, 27 Oct 2008 14:12:36 +0000 Subject: [PATCH] added FAQ for Font Cache Warning git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708192 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/faq.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml index ac2693d8b..f05f07126 100644 --- a/src/documentation/content/xdocs/faq.xml +++ b/src/documentation/content/xdocs/faq.xml @@ -426,6 +426,28 @@ public class DefaultErrorListener implements ErrorListener { }]]> + + The following message appears after recently upgrading FOP: + "I/O exception while reading font cache (org.apache.fop.fonts.EmbedFontInfo; + local class incompatible: stream classdesc serialVersionUID = + -9075848379822693399, local class serialVersionUID = 8755432068669997367). + Discarding font cache file." + +

+ This message is a warning that FOP failed to read from the Font cache. + Which means any Font auto detection or Font directories will be re-scanned. + So this failure doesn't break anything. +

+

+ To avoid the warning you can simply delete the + old Font Cache file, which according to [1] lives in ${base}\conf\font.cache. + Or you can disable Font Caching altogether using the option "use-cache" +

+

+ [1] http://xmlgraphics.apache.org/fop/0.94/configuration.html#general-elements +

+
+
Problems with FOP output -- 2.39.5