Hi Kai, Your snippet looks correct and output is ok for me, either in PDF ot AWT.
Seems to be a platform or viewer problem. Can you give any detail (Windows or Linux? Awt or pdf output? Viewer used?, etc.) Pascal > -----Message d'origine----- > De : Kai Hackemesser [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 11 juillet 2007 13:20 > > Hello, there, > > I have following problem. In a FOP transformation the > displayed result is distorted. Take a look at the attached > png (printout from FOP, scanned in again). The letters are in > wrong distance to each other and the font itself is wrong. It > looks like Arial, but following the xsl it should be Courier: > > <fo:table text-align="left" width="10cm" table-layout="fixed"> > <fo:table-column column-width="10cm"/> > <fo:table-body> > <fo:table-row> > <fo:table-cell> > <fo:block xsl:use-attribute-sets="head-line" > space-before.optimum="21.0pt"> > <xsl:text>AERODROME INFORMATION</xsl:text> > </fo:block> > </fo:table-cell> > </fo:table-row> > </fo:table-body> > </fo:table> > > .. > > <xsl:attribute-set name="head-line"> > <xsl:attribute name="font-size">7.3pt</xsl:attribute> > <xsl:attribute name="font-family">Courier</xsl:attribute> > <xsl:attribute name="line-height">7.3pt</xsl:attribute> > <xsl:attribute name="space-before.optimum">1.5pt</xsl:attribute> > <xsl:attribute name="space-after.optimum">1.5pt</xsl:attribute> > <xsl:attribute name="keep-together">always</xsl:attribute> > </xsl:attribute-set> > > I'm using FOP 0.9. Any idea what is causing this? > > Ciao! > Kai > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
