summaryrefslogtreecommitdiffstats
path: root/fop/test/events
diff options
context:
space:
mode:
Diffstat (limited to 'fop/test/events')
-rw-r--r--fop/test/events/hyphenation.fo17
-rw-r--r--fop/test/events/hyphenationfop.xconf6
2 files changed, 23 insertions, 0 deletions
diff --git a/fop/test/events/hyphenation.fo b/fop/test/events/hyphenation.fo
new file mode 100644
index 000000000..dbcdedbae
--- /dev/null
+++ b/fop/test/events/hyphenation.fo
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" hyphenate="true" language="fr">
+
+ <fo:layout-master-set>
+ <fo:simple-page-master master-name="simple" page-height="27.9cm" page-width="21.6cm">
+ <fo:region-body />
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fo:page-sequence master-reference="simple">
+ <fo:flow flow-name="xsl-region-body">
+
+<fo:block font-size="30pt">Text should have hyphenation:</fo:block>
+
+</fo:flow>
+ </fo:page-sequence>
+</fo:root>
diff --git a/fop/test/events/hyphenationfop.xconf b/fop/test/events/hyphenationfop.xconf
new file mode 100644
index 000000000..2ab274395
--- /dev/null
+++ b/fop/test/events/hyphenationfop.xconf
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<fop version="1.0">
+
+<hyphenation-pattern lang="fr" type="xml">file:///doesntexist</hyphenation-pattern>
+
+</fop> \ No newline at end of file