Ron Van den Branden wrote:
> Hi,
>>
>> This is probably due to a bug in FOP 0.94 related to empty cells in
>> tables. Instead of putting <fo:block/> as a child of fo:table-cell,
>> try to put a non-breakable space in it: <fo:block>&#8203;</fo:block>.
>> That should solve your problem.
>>
> Thanks. This does solve the rendering problem, but introduces an
> unwanted newline (as the space will be followed by the nested table
> block). In order to avoid that, I tried some unicode ZERO WIDTH space
> variants, but without improvement.

Not if you put the non-breaking space inside the fo:table-cell:
    <fo:block>
      <fo:table id="goodtable1" inline-progression-dimension="160mm"
        table-layout="fixed" width="100%">
        <fo:table-body>
          <fo:table-row>
            <fo:table-cell
              text-align="left" start-indent="0"
              border="solid 1px" padding="0.5em">
              <fo:block>where am I?</fo:block>
            </fo:table-cell>
            <fo:table-cell
              text-align="left" start-indent="0"
              border="solid 1px" padding="0.5em">
              <fo:block>
                <fo:table id="goodtable2"
                  inline-progression-dimension="160mm"
                  table-layout="fixed"
                  width="100%">
                  <fo:table-body>
                    <fo:table-row>
                      <fo:table-cell
                        text-align="left"
                        start-indent="0"
                        border="solid 1px"
                        padding="0.5em">
                        <fo:block>&#8203;</fo:block>
                      </fo:table-cell>
                      <fo:table-cell
                        text-align="left"
                        start-indent="0"
                        border="solid 1px"
                        padding="0.5em">
                        <fo:block>where am I?</fo:block>
                      </fo:table-cell>
      etc.


-- 
Vincent Hennebert                            Anyware Technologies
http://people.apache.org/~vhennebert         http://www.anyware-tech.com
Apache FOP Committer                         FOP Development/Consulting

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

Reply via email to