diff options
author | Simon Steiner <ssteiner@apache.org> | 2016-03-30 08:40:51 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2016-03-30 08:40:51 +0000 |
commit | 1739f7c0c9be958f5a10b83f192c0aab9eb8c4e2 (patch) | |
tree | da2a2cc4e79b63ce7d90623acc987cc78ab58de6 /fop/test/events | |
parent | ccfebcf0bd0f00f28df042c261132e58c25cbaeb (diff) | |
download | xmlgraphics-fop-1739f7c0c9be958f5a10b83f192c0aab9eb8c4e2.tar.gz xmlgraphics-fop-1739f7c0c9be958f5a10b83f192c0aab9eb8c4e2.zip |
FOP-2597: Allow hyphenation file without extension
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1737084 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop/test/events')
-rw-r--r-- | fop/test/events/hyphenation.fo | 17 | ||||
-rw-r--r-- | fop/test/events/hyphenationfop.xconf | 6 |
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 |