[xep-support] Re: xep issues with svg text

Alexei Gagarinov agagarinov at renderx.com
Wed Sep 3 07:10:10 PDT 2008


Jon,

> With XEP, the text loses all formatting,

You're wrong here.
All the formatting defined inside the 'style' element is preserved.

> and is squashed together as shown in the attached pdf.

XEP doesn't support character-by-character placement in SVG text 
elements as it is stated in our documentation. (See 
http://www.renderx.com/reference.html#SVG for details).
It means that if an array is used in x, y, dx, dy, or rotate attributes 
of <text> or <tspan> element (as in your case), only the first number
is considered.

The workaround is to replace each array in @x attributes of the 'tspan' 
elements by the corresponding number of explicit 'tspan' elements.

Best regards,
   Alexei Gagarinov
RenderX
---
www.renderx.com
www.renderx.net


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list