[xep-support] XSLFO: trouble with text-align-last="justify" and linefeed-treatment="preserve"

Kirch Fritz Friedrich.Kirch at it2media.de
Mon Jan 21 02:36:19 PST 2008


Dear xep-support,

 

why are ALL lines of  a <fo:block text-align-last="justify"
linefeed-treatment="preserve"> justified?

Is this a misunderstanding of the term "text-align-last" by myself or is
this a bug of the Renderer?

 

This was my FO-file:

 

<?xml version="1.0" encoding="US-ASCII"?>
<root xmlns="http://www.w3.org/1999/XSL/Format" 
      font-family="Times" 
      font-size="18pt">

    <layout-master-set>
        <simple-page-master master-name="frame" 
             page-height="297mm" 
             page-width="210mm" 
             margin-top="15mm" 
             margin-bottom="15mm" 
             margin-left="15mm" 
             margin-right="15mm">
            <region-body region-name="frame-body" />
        </simple-page-master>
    </layout-master-set>

    <page-sequence master-reference="frame">
        <flow flow-name="frame-body">
            <block end-indent="10cm"> 
                <block text-align-last="justify" 
                       background-color="green" 
                       color="white">
                    Hallo Hallo Hallo Hallo Hallo Hallo Hallo Hallo 
                </block>
                <block text-align-last="justify" 
                       linefeed-treatment="preserve" 
                       background-color="red" 
                       color="white">Hallo Hallo Hallo Hallo 
                    Hallo Hallo Hallo Hallo 
                </block>
            </block>
        </flow>
    </page-sequence>
</root> 

 

This is how the resulting PDF looks alike:

 

  

Can you help me?

I use XEPWIN 4.10 with Windows XP 

 

Fritz Kirch


**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
mailsweeper at it2media.de
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20080121/df1a06b2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 11574 bytes
Desc: image001.jpg
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20080121/df1a06b2/attachment.jpg>


More information about the Xep-support mailing list