xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Bernardo (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FOP-2261) text-align="right" no longer works in combination with white-space="pre"
Date Wed, 05 Jun 2013 09:07:19 GMT

     [ 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

Mime
View raw message