Debasish Jana wrote:
Hi:

While trying to render a XSL-FO document to PLAIN_TEXT, the text rendering output shows lots of extra line breaks and spaces.

FOP is not the best tool for generating plain text because....

FOP works internally with precise coordinates, placing Text at exact position within a page. Text does not have a coordinate system, so the Text Renderer takes the coordinates of the text laid out by FOP and rounds up or down to the nearest line.

My advice is to use XSLT to convert XML directly to Text. If you can't/won't do that, then I know others have had some success by changing the line-height properties and using a fixed width font.

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to