You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Sven <tz...@gmx.de> on 2006/03/08 14:57:11 UTC

text-align broken?

Hello again,
I try to make it as short as possible: When updating the latest trunk 
(revision 384205) I recognize that text-align attributes in tables are 
not evaluated any more. No matter what I write, they are right aligned.

Regards, Sven


<?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 margin="3cm 4cm 4cm 5cm"
            page-width="21cm" page-height="29.7cm" master-name="content">
            <fo:region-body margin-top="1cm" />
            <fo:region-before extent="1cm" />
        </fo:simple-page-master>
    </fo:layout-master-set>

    <fo:page-sequence country="DR" language="de"
        master-reference="content">
        <fo:flow flow-name="xsl-region-body">
            <fo:block text-align="end"
                font-size="10pt" font-family="Helvetica">
                XXXXXXXXXXXXXXXXXXXXXX
                <fo:table table-layout="fixed" width="100%">
                    <fo:table-column number-columns-repeated="2"
                        column-width="50%" />
                    <fo:table-body>
                        <fo:table-row>
                            <fo:table-cell>
                                <fo:block text-align="center" 
border="1px solid red">
                                    center
                                </fo:block>
                            </fo:table-cell>
                            <fo:table-cell>
                                <fo:block text-align="left" border="1px 
solid green">
                                    left
                                </fo:block>
                            </fo:table-cell>
                        </fo:table-row>
                    </fo:table-body>
                </fo:table>
                XXXXXXXXXXXXXXXXXXXXXX
            </fo:block>
        </fo:flow>
    </fo:page-sequence>
   
</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: text-align broken?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Looks like a recent change I committed causes this:
http://svn.apache.org/viewcvs?rev=381618&view=rev
If you do an "svn up -r 381617" you should get back to the latest
working revision. I'll look into it ASAP, but I'm currently suffering
from a bad cold so I'm not worth much at the moment.


On 08.03.2006 14:57:11 Sven wrote:
> Hello again,
> I try to make it as short as possible: When updating the latest trunk 
> (revision 384205) I recognize that text-align attributes in tables are 
> not evaluated any more. No matter what I write, they are right aligned.
<snip/>

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org