[
https://issues.apache.org/jira/browse/FOP-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luis Bernardo resolved FOP-2261.
--------------------------------
Resolution: Fixed
Fix Version/s: trunk
this has been fixed in trunk.
> text-align="right" no longer works in combination with white-space="pre"
> ------------------------------------------------------------------------
>
> Key: FOP-2261
> URL: https://issues.apache.org/jira/browse/FOP-2261
> Project: Fop
> Issue Type: Bug
> Components: pdf
> Affects Versions: 1.1
> Reporter: Nick Heyworth
> Fix For: trunk
>
>
> 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>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira