[xep-support] Text block problems (v3.8.1)

Stijn Elst stijn at fotek.com
Fri Dec 17 05:16:53 PST 2004


Hi everyone,


2 questions regarding text blocks:

1) How can I implement multiple enters in a text block? A single enter (carriage return, line feed) is easy using

 <xsl:template match="RETURN">
  <fo:block/>
 </xsl:template>

but this doesn't produce an enter if the text starts with <RETURN/>. Also: multiple <RETURN/>'s reduce to only one enter using this method, how can this be solved?

2) I wrote a VB 6.0 application that uses (resizeable and moveable) text boxes to let the user enter custom text. This text box (the text itself, top, left, width, height, size, font, color, emphasis and horizontal alignment properties) is transformed into XML (TEXT element with LEFT, TOP, WIDTH, HEIGHT, SIZE, FONT, COLOR, EMPH and HALIGN attributes) and rendered using XEP. It works fine (the transformation is correct), but there appears to be a slight difference in text positioning (inside the box/block) between VB text boxes and RenderX text blocks. For a rather large font size, this difference can be more than 2 mm and is really unacceptable. Is there perhaps somebody who knows how to eliminate (or at least reduce) this effect in an easy way?

Any help would be greatly appreciated.


Sincerely,
Stijn Elst.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20041217/35312d91/attachment.html>


More information about the Xep-support mailing list