Re: fo:inline border question

Tacio Naja Domingos <taciodomingos@yahoo.com> wrote on 2009/03/05 21:37:18
> Dear all
> 
> I have reproduced the problem I have in a much smaller scale. I have something like the code below. When using Antenna House Formatter the fo:inline elements containg the text "text2" are not vertically aligned because the second one is surrounded by an aditional fo:inline element. I have tried using different types of settings for the additional fo:inline but have been unable to get the texts aligned. 
> 
> At this point I do not know if it is an Antenna House implementation issue. I have read the spec but have been unable to understand whether it should be possible to have an inline free of borders/margins/spaces. Should it be possible?
> 
> I thank you in advance.
> 
> Tacio
> 
> <fo:block>
>      <fo:inline border-style="solid" border-color="black" border-width="1pt">text1</fo:inline>
>      <fo:inline border-style="solid" border-color="black" border-width="1pt">text2</fo:inline>
> </fo:block>
> <fo:block>
>     <fo:inline border-style="solid" border-color="black" border-width="1pt">text1</fo:inline>
>         <fo:inline>                
>                <fo:inline border-style="solid" border-color="black" border-width="1pt">text2</fo:inline>
>          </fo:inline>
> </fo:block>
> 


This is a problem of Antenna House XSL Formatter V4.x and is fixed in
the V5.0 that will be released very soon (next week):

Antenna House Formatter V5.0
http://www.antenna.co.jp/AHF/en/

The problem is about whitespace collapsing.

<fo:inline>text1</fo:inline>_
_______<fo:inline>_
______________<fo:inline>text2</fo:inline>...

here, '_' indicates whitespace.
The result of whitespace collapsing should be
<fo:inline>text1</fo:inline>_<fo:inline><fo:inline>text2</fo:inline>...

but in our old implementation it was:
<fo:inline>text1</fo:inline>_<fo:inline>_<fo:inline>text2</fo:inline>...

We recognized this problem and fixed for the new version 5.0.

Best regards,

-- 
Shinyu Murakami
http://www.antennahouse.com
Antenna House Formatter V5.0
http://www.antenna.co.jp/AHF/en/

Received on Thursday, 19 March 2009 13:14:36 UTC