aboutsummaryrefslogtreecommitdiffstats
path: root/test/config/test_font_embedurl_malformed.xconf
diff options
context:
space:
mode:
Diffstat (limited to 'test/config/test_font_embedurl_malformed.xconf')
-rw-r--r--test/config/test_font_embedurl_malformed.xconf25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/config/test_font_embedurl_malformed.xconf b/test/config/test_font_embedurl_malformed.xconf
new file mode 100644
index 000000000..ee9f7bede
--- /dev/null
+++ b/test/config/test_font_embedurl_malformed.xconf
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<fop version="1.0">
+ <!-- Strict configuration On -->
+ <strict-configuration>true</strict-configuration>
+
+ <!-- Switch off font caching for the purposes of the unit test -->
+ <use-cache>false</use-cache>
+
+ <!-- Base URL for resolving relative URLs -->
+ <base>./</base>
+
+ <!-- Font Base URL for resolving relative font URLs -->
+ <font-base>./</font-base>
+
+ <renderers>
+ <renderer mime="application/pdf">
+ <fonts>
+ <!-- this font has a malformed embed-url -->
+ <font metrics-url="test/resources/fonts/glb12.ttf.xml" embed-url="badprotocol:test/resources/fonts/glb12.ttf">
+ <font-triplet name="Gladiator-Ansi" style="normal" weight="normal"/>
+ </font>
+ </fonts>
+ </renderer>
+ </renderers>
+</fop>