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 Gilles Beaugeais <gb...@voila.fr> on 2007/02/21 20:03:04 UTC

Line breaking in tables

Hello,

I have downloaded the trunk version yesterday to check the 
correction for bug #41019.
It works well now but another one appears. The "-" character 
seems not to be recognized as a legal break character (I use 
OFFO hyphenation files).

In the following FO,
the first cell is OK with the 0.93 version, KO with the trunk version
the second cell is KO with the 0.93 version, OK with the trunk version

Thanks for help,

Gilles Beaugeais.

<?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" page-height="11in" page-
width="8.5in">
      <fo:region-body margin-top="2cm" margin-bottom="2cm" margin-left="2cm" 
margin-right="2cm"/>
    </fo:simple-page-master>
    <fo:page-sequence-master master-name="pages">
      <fo:single-page-master-reference master-reference="page"/>
    </fo:page-sequence-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="pages" font-size="10pt">
    <fo:flow flow-name="xsl-region-body">
      <fo:block hyphenate="true" language="fr">
        <fo:table border-collapse="separate" table-layout="fixed" border="0.5pt 
solid black">
          <fo:table-column column-width="proportional-column-width(65)"/>
          <fo:table-column column-width="proportional-column-width(33)"/>
          <fo:table-column column-width="proportional-column-width(76)"/>
          <fo:table-column column-width="proportional-column-width(60)"/>
          <fo:table-column column-width="proportional-column-width(66)"/>
          <fo:table-column column-width="proportional-column-width(57)"/>
          <fo:table-column column-width="proportional-column-width(57)"/>
          <fo:table-column column-width="proportional-column-width(59)"/>
          <fo:table-column column-width="proportional-column-width(31)"/>
          <fo:table-body text-align="center">
            <fo:table-row>
              <fo:table-cell border="0.5pt solid black" number-columns-
spanned="3">
                <fo:block/>
              </fo:table-cell>
              <fo:table-cell border="0.5pt solid black" text-align="left">
                <fo:block>C-12-188-440/NH-000</fo:block>
              </fo:table-cell>
              <fo:table-cell border="0.5pt solid black" number-columns-
spanned="4">
                <fo:block/>
              </fo:table-cell>
              <fo:table-cell border="0.5pt solid black">
                <fo:block>MOD. AVION UTILISÉ</fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-body>
        </fo:table>
      </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: Line breaking in tables

Posted by Andreas L Delmelle <a_...@pandora.be>.
On Feb 21, 2007, at 20:03, Gilles Beaugeais wrote:

Hi,

> I have downloaded the trunk version yesterday to check the
> correction for bug #41019.
> It works well now but another one appears. The "-" character
> seems not to be recognized as a legal break character (I use
> OFFO hyphenation files).
>
> In the following FO,
> the first cell is OK with the 0.93 version, KO with the trunk version
> the second cell is KO with the 0.93 version, OK with the trunk version

This could be related to the UAX#14 Unicode-compliant linebreaking  
implementation, which was added to the trunk shortly after the 0.93  
release. I'm hoping Manuel chimes in later, as he added this part and  
may already have an explanation at hand.

In the meantime, I'll create a new Bugzilla entry, so we don't lose  
track of this.

Stay tuned!


Cheers,

Andreas


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