From: Adrian Cumiskey
Date: Wed, 29 Oct 2008 11:07:24 +0000 (+0000)
Subject: Merged revisions 708192,708838,708848,708851 via svnmerge from
X-Git-Tag: fop-1_0~376^2~29
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6436001ddd2beac7336350318b02f67cee1bf443;p=xmlgraphics-fop.git
Merged revisions 708192,708838,708848,708851 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk
........
r708192 | cbowditch | 2008-10-27 14:12:36 +0000 (Mon, 27 Oct 2008) | 1 line
added FAQ for Font Cache Warning
........
r708838 | jeremias | 2008-10-29 08:56:00 +0000 (Wed, 29 Oct 2008) | 1 line
Test case for WMF images. Useful also for visual testing.
........
r708848 | jeremias | 2008-10-29 09:32:07 +0000 (Wed, 29 Oct 2008) | 1 line
Adding variant with fox:conversion-mode="bitmap" for visual testing.
........
r708851 | jeremias | 2008-10-29 09:40:44 +0000 (Wed, 29 Oct 2008) | 1 line
Added a variant with fox:conversion-mode="bitmap" for visual testing.
........
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@708875 13f79535-47bb-0310-9956-ffa450edef68
---
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
diff --git a/test/layoutengine/standard-testcases/external-graphic_svg.xml b/test/layoutengine/standard-testcases/external-graphic_svg.xml
index 80c3e5afc..8ec53ea3d 100644
--- a/test/layoutengine/standard-testcases/external-graphic_svg.xml
+++ b/test/layoutengine/standard-testcases/external-graphic_svg.xml
@@ -23,7 +23,8 @@
-
+
@@ -47,6 +48,11 @@
EOG
+ SVG external-graphic with an intrinsic size and fox:conversion-mode="bitmap"
+
+ EOG
+
EOF
diff --git a/test/layoutengine/standard-testcases/external-graphic_wmf.xml b/test/layoutengine/standard-testcases/external-graphic_wmf.xml
new file mode 100644
index 000000000..f95a16bd9
--- /dev/null
+++ b/test/layoutengine/standard-testcases/external-graphic_wmf.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+ This test checks external-graphics and in particular WMF images.
+
+
+
+
+
+
+
+
+
+
+
+ WMF external-graphic
+
+ EOG
+
+
+
+ EOG
+
+ EOF
+
+
+
+
+
+
+
+
+
+
+
+
+
+