With an fo example.

 

Christian Pestel

christian.pes...@orange.fr


From: Christian Pestel 
Sent: Wednesday, October 24, 2012 5:21 PM
To: fop-users 
Subject: Word secability on character #176

Hi, 

Fop don’t cut a long word like “AAAAAAAAAAAAAAAABBBBBBBBBBBB” 
The pdf result is
AAAAAAAAAAAAAAAABBBBB
the end of line is truncated. That’s ok.

Fop cut a long word like “AAAAAAAAAAAAAAAA BBBBBBBBBBBB” on the space character.
The pdf result is
AAAAAAAAAAAAAAAA 
BBBBBBBBBBBB
That’s ok.

But on the word “AAAAAAAAAAAAAAAAN°BBBBBBBBBBBB”
The pdf result is
AAAAAAAAAAAAAAAAN
°BBBBBBBBBBBB

I would like this result
AAAAAAAAAAAAAAAAN°BBBBBBBBBBBB

Have you a solution to not cut on the ° (#176) character ?
Thanks.
 

Christian Pestel

christian.pes...@orange.fr
<?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="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm"> 
      <fo:region-body margin-top="3cm"/> 
      <fo:region-before extent="3cm"/> 
      <fo:region-after extent="1.5cm"/> 
    </fo:simple-page-master> 
  </fo:layout-master-set> 
  <fo:page-sequence master-reference="simple"> 
    <fo:flow flow-name="xsl-region-body"> 
      <fo:block font-size="14pt" font-family="Helvetica">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN°AAAAAAAAAAAAAAAAAA</fo:block> 
    </fo:flow> 
  </fo:page-sequence> 
</fo:root>

Attachment: WordSecability.fo100.xml.pdf
Description: Adobe PDF document

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

Reply via email to