Hi chris! Thanx, your suggestion helped me :o) I defined line-height etc. as described and it works fine!
suse -----Urspr�ngliche Nachricht----- Von: Chris Bowditch [mailto:[EMAIL PROTECTED] Gesendet: Tuesday, August 05, 2003 3:20 PM An: [EMAIL PROTECTED] Betreff: Re: TXT Problems >From: "Todtenhaupt, Susann" <[EMAIL PROTECTED]> > >Hi @ all! > >I'm trying to generate TXT from XML through xsl and fop. In my result >txt-file there are several problems I don't understand... >(1) whitespaces between words in one line are stretched >(2) I create several rows and there are always two of them near together >and >then there's a line between the next two rows > >Can anybody give support? > Hi suse, FOP and XSL-FO formatters in general are the wrong kind of tool for Text output. This is because text output is character based, but an XSL-FO formatter has precise positioning. That is why you end up with strange whitspace behaviour, its caused by rounding errors when the Text Renderer tries to map FOP's area tree measurements (in precise units) to the nearest character or line. You can work around this issue to a certain extent by using fixed pitched fonts and setting line-height. See also; http://xml.apache.org/fop/output.html#txt Chris _________________________________________________________________ Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger --------------------------------------------------------------------- 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]
