Link to home
Start Free TrialLog in
Avatar of sunshine737
sunshine737

asked on

xsl:fo (how to fix the fo:block height irrespective of the font size for the content in that block?)

how to fix the fo:block height irrespective of the font size for the content in that block?

i am using xsl-fo formatter from antenna house.

for example,

<fo:block height="2.3cm"  font-size="7pt">
hello
</fo:block>
<fo:block height="1.3cm"  font-size="10pt">
world
</fo:block>


displays as

hello
world

instead of

hello


world.

i am unable to fix the block height.



thats for your reply.


regards
Avatar of sunshine737
sunshine737

ASKER

the problem is
its not showing any empty space after the first fo:block as the font size is very small...

i am trying to fix the block height to a specific height.
hm...can't check it right now, but try <fo:block space-before.optimum="1pt" space-after.optimum="1pt">
ASKER CERTIFIED SOLUTION
Avatar of petiex
petiex
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial