xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Andersson <jo...@spprod.se>
Subject Text alignment problem
Date Wed, 02 Jun 2004 10:02:30 GMT
In the PDF document resulting from the FO file below the two words 
"Element" and "Matter" are missaligned. I know one can indent the 
content of a block using the text-indent attribute. But how does one 
know how much the block should be indented? Can this be calculated from 
the font used?

<fo:flow flow-name="xsl-region-body">
   <fo:block font-family="sans-serif" font-size="10mm">
     Element
   </fo:block>
   <fo:block font-family="sans-serif" font-size="6mm">
     Matter
   </fo:block>
</fo:flow>


Regards,

Johan Andersson


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


Mime
View raw message