Now I've seen that on XEP there is a property to aviod the shift of the "normal text" when there is a piec of "super text" (Line gets heigher...)

|* <http://www.stylusstudio.com/api/fop-0.20.5/org/apache/fop/fo/properties/DominantBaseline.htm#NO_CHANGE>*|line-stacking-strategy="max-height"
line-height-shift-adjustment="disregard-shifts"

is there a way to get some text as "super text 50%" and not increase the line-height and align of the other text...?

Thanks

Dirk


Dirk Bromberg wrote:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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



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

Reply via email to