aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-06-29 20:53:45 +0000
committerJeremias Maerki <jeremias@apache.org>2005-06-29 20:53:45 +0000
commit035ccdf421a79ceb2fcb66cc3f5b948c07ea443d (patch)
tree49220074312b5c29ad66ae2a1626b01606634ed9 /src
parent7a20e294bc81d7206da849a7713a6ec388acfd0e (diff)
downloadxmlgraphics-fop-035ccdf421a79ceb2fcb66cc3f5b948c07ea443d.tar.gz
xmlgraphics-fop-035ccdf421a79ceb2fcb66cc3f5b948c07ea443d.zip
vpos on character, too.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202424 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/render/xml/XMLRenderer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/xml/XMLRenderer.java b/src/java/org/apache/fop/render/xml/XMLRenderer.java
index 36beebcde..95ff72564 100644
--- a/src/java/org/apache/fop/render/xml/XMLRenderer.java
+++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java
@@ -573,6 +573,7 @@ public class XMLRenderer extends AbstractRenderer {
protected void renderCharacter(org.apache.fop.area.inline.Character ch) {
atts.clear();
addTraitAttributes(ch);
+ addAttribute("vpos", ch.getOffset());
startElement("char", atts);
characters(ch.getChar());
endElement("char");