Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1
-
None
Description
The text is left-aligned instead of right-aligned. This worked in FOP 0.95.
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="page-master">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="page-master">
<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:block white-space="pre">
<fo:block text-align="right">
<fo:inline>This is some rather long text; it is pre-formatted, but not wrapping, and does not fit on one line. It should be displayed right-aligned.</fo:inline>
</fo:block>
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
Attachments
Issue Links
- duplicates
-
FOP-2177 [PATCH] If a right aligned image exceeds a table cells bounds, it will overflow in the wrong direction
- Resolved