summaryrefslogtreecommitdiffstats
path: root/test/config/relative-uri/no-base_font.xconf
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2013-11-15 07:13:53 +0000
committerVincent Hennebert <vhennebert@apache.org>2013-11-15 07:13:53 +0000
commit2318d09b63a801f5d490d688c8636912aa785eb1 (patch)
treeec2fbb233ee0190571c251d469e7522dcd6373b0 /test/config/relative-uri/no-base_font.xconf
parent7d3dba6c3c2fc6caeeeaccbc8df159b87934e44a (diff)
downloadxmlgraphics-fop-2318d09b63a801f5d490d688c8636912aa785eb1.tar.gz
xmlgraphics-fop-2318d09b63a801f5d490d688c8636912aa785eb1.zip
FOP-2312: font-base configuration setting not working as expected
Use the config file URI to resolve relative <base> / <font-base> URIs. Fall back to default base URI only if the config input stream has no URI. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1542190 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/config/relative-uri/no-base_font.xconf')
-rw-r--r--test/config/relative-uri/no-base_font.xconf4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/config/relative-uri/no-base_font.xconf b/test/config/relative-uri/no-base_font.xconf
new file mode 100644
index 000000000..165cc1231
--- /dev/null
+++ b/test/config/relative-uri/no-base_font.xconf
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<fop version="1.0">
+ <font-base>fonts/</font-base>
+</fop>