Lines containing "-" (minus) characters are not justified correctly in fop 0.20.1. The 
line in the pdf file is longer then specified (see attached files).

The area tree is correct. It seems that the width of the "-" character used by the 
layouter is different from the width of the "-" character in the pdf file. 

Another Problem: the width of the "-" character in the ps output file is different 
from the width of the "-" character in the pdf output file of fop.

What are the reasons?

Rainer Garus
<?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="simple"
                  page-height="29.7cm"
                  page-width="21cm"
                  margin-top="2cm"
                  margin-bottom="2cm"
                  margin-left="4cm"
                  margin-right="4cm">
      <fo:region-body/>
    </fo:simple-page-master>
  </fo:layout-master-set>


  <fo:page-sequence master-name="simple">
    <fo:flow flow-name="xsl-region-body">

<fo:block font-size="12pt" font-family="Helvetica" text-align="justify">
---------- ---------- ---------- ---------- ---------- ---------- ---------- 
---------- 
---------- ---------- ---------- ---------- ---------- ---------- ---------- 
---------- 
0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 
0123456789 
0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 
0123456789 
</fo:block>

    </fo:flow> <!-- closes the flow element-->
  </fo:page-sequence> <!-- closes the page-sequence -->
</fo:root>

simple.pdf

simple.ps

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to