aboutsummaryrefslogtreecommitdiffstats
path: root/test/config/test_fontbase_bad.xconf
diff options
context:
space:
mode:
Diffstat (limited to 'test/config/test_fontbase_bad.xconf')
-rw-r--r--test/config/test_fontbase_bad.xconf23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/config/test_fontbase_bad.xconf b/test/config/test_fontbase_bad.xconf
new file mode 100644
index 000000000..850f343bb
--- /dev/null
+++ b/test/config/test_fontbase_bad.xconf
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<fop version="1.0">
+ <!-- Strict configuration On -->
+ <strict-configuration>true</strict-configuration>
+
+ <!-- Base URL for resolving relative URLs -->
+ <base>./</base>
+
+ <!-- Font Base URL for resolving relative font URLs -->
+ <font-base>./doesnotexist/</font-base>
+
+ <renderers>
+ <renderer mime="application/pdf">
+ <fonts>
+ <!-- this font is with a relative metrics-url
+ so should call upon the bad font-base -->
+ <font metrics-url="test/resources/fonts/glb12.ttf.xml" embed-url="test/resources/fonts/glb12.ttf">
+ <font-triplet name="Gladiator" style="normal" weight="normal"/>
+ </font>
+ </fonts>
+ </renderer>
+ </renderers>
+</fop>