diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-01-28 15:04:39 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-01-28 15:04:39 +0000 |
commit | 1ea8b13df56f773fc3d28a9a4b69ed1ed8b97cf4 (patch) | |
tree | aa175e32ee1cee808287fee13ff980747cfcc262 /test/layoutengine/hyphenation-testcases | |
parent | 74b2adc7ebb1c898d17bc5778de412522512d4c8 (diff) | |
download | xmlgraphics-fop-1ea8b13df56f773fc3d28a9a4b69ed1ed8b97cf4.tar.gz xmlgraphics-fop-1ea8b13df56f773fc3d28a9a4b69ed1ed8b97cf4.zip |
Added support for the natural language indentifier ("Lang" in the document catalog) for PDF documents based on the language/country values on fo:page-sequence. This required a few changes in the AreaTreeModel and the Renderer interface because it didn't support passing through the PageSequence object, only its title. Now, we can put other values on the PageSequence and transport them to the renderers.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@615906 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine/hyphenation-testcases')
-rw-r--r-- | test/layoutengine/hyphenation-testcases/block_hyphenation_kerning.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/layoutengine/hyphenation-testcases/block_hyphenation_kerning.xml b/test/layoutengine/hyphenation-testcases/block_hyphenation_kerning.xml index f1f0cbd1e..084f1e685 100644 --- a/test/layoutengine/hyphenation-testcases/block_hyphenation_kerning.xml +++ b/test/layoutengine/hyphenation-testcases/block_hyphenation_kerning.xml @@ -45,6 +45,8 @@ </fo> <checks> <eval expected="1" xpath="count(//pageViewport)"/> + <eval expected="en" xpath="/areaTree/pageSequence/@language"/> + <true xpath="not(boolean(/areaTree/pageSequence/@country))"/> <eval expected="17230" xpath="//flow/block[1]/lineArea[1]/text[1]/@twsadjust"/> <eval expected="-1339" xpath="//flow/block[1]/lineArea[2]/text[1]/@twsadjust"/> |