Hi,
I am trying to achieve something that looks like a basic thing to do but I can't find a way to do it. I would like to put, on the same line, several texts that have different font sizes. For example the word "BIG" in 60pt followed by the word "SMALL" in 40pt. The following FO code does not completely work since the text baseline is vertically centered in the parent block section and therefore the text gets out above the block! I added a solid border to the block to see the problem.
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm" margin-top="2cm" master-name="simple" page-height="29.7cm" page-width="21cm">
<fo:region-body margin-bottom="1.5cm" margin-top="2cm"/>
<fo:region-before extent="2cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simple">
<fo:flow flow-name="xsl-region-body">
<fo:block font-family="Helvetica" line-height="60pt" border-style="solid">
<fo:inline font-size="60pt" font-weight="bold"> BIG </fo:inline>
<fo:inline font-size="40pt" font-weight="bold"> SMALL </fo:inline>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
Many thanks for any ideas to solve this problem!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]