xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Bromberg <d...@familie-bromberg.de>
Subject Re: vertical-align 50% does not work?
Date Fri, 05 May 2006 12:01:24 GMT
It is working. Thanks.

Dirk

Manuel Mall wrote:
> On Friday 05 May 2006 15:45, Dirk Bromberg wrote:
>   
>> Hi all,
>>
>> <fo:inline font-size="12pt" vertical-align="50%">...</fo:inline>
>> does result as:
>> ERROR org.apache.fop.fo.PropertyList  - No conversion defined 50%;
>> property:'vertical-align'
>> but the website:
>> http://xmlgraphics.apache.org/fop/compliance.html#fo-property-vertica
>> l-align says: Trunk: yes
>>
>> I'm using 0.92 release.
>>     
>
> Had a quick look at the code and the vertical-align shorthand expansion 
> does indeed not support percentages. You could try to use the expanded 
> properties instead (see XSL-FO spec 7.29.22). In this particular case 
> vertical-align="50%" is suppose to be expanded into:
> alignment-baseline="baseline"
> alignment-adjust="50%"
> baseline=shift="baseline"
> dominant-baseline="auto"
>
> This actually means under 'usual circumstances' vertical-align="50%" is 
> equivalent to alignment-adjust="50%". So try that and let us know if it 
> fixed it.
>
>   
>> Thanks
>>
>> Dirk
>>
>>     
>
> Manuel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>   


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


Mime
View raw message