git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194231
13f79535-47bb-0310-9956-
ffa450edef68
int vert = ia.getVerticalAlign();
if(vert == VerticalAlign.SUPER) {
int fh = fontState.getAscender();
- ia.setYOffset((int)(placementOffset - (fh / 3.0)));
+ ia.setYOffset((int)(placementOffset - (2 * fh / 3.0)));
} else if(vert == VerticalAlign.SUB) {
int fh = fontState.getAscender();
- ia.setYOffset((int)(placementOffset + (fh / 3.0)));
+ ia.setYOffset((int)(placementOffset + (2 * fh / 3.0)));
}
} else {
}