Skip to main content
Participating Frequently
February 16, 2011
Question

Server-side rendering for TextFlow XML?

  • February 16, 2011
  • 1 reply
  • 961 views

We have been using the TLF to render text in a web browser, but now we need to upload the TextFlow XML to a server and render the content to exactly the same output. I know very little about swf on servers - is that a properly scaleable solution? Alternatively do libraries (say, Java) exist that can render TextFlow XML?

Thanks!

This topic has been closed for replies.

1 reply

Adobe Employee
February 17, 2011

There are no Java libraries for this. I don't have much experience with server-side Flash generation, but I do know there are servers that use Flash and generate SWFs as output. What kind of output do you need to create?

- robin

dargreAuthor
Participating Frequently
February 17, 2011

Hi Robin,

Basically we need to get accurate positionings of letters and/or words (any sort of ascii output would do) so we can render them into a PDF using an external PDF library (AlivePDF looks like it is just not up to the job). The problem is that our client is more or less a proofing tool, so the final document has to look exactly the same.

Darryl.

Adobe Employee
February 17, 2011

Take a look at the TextLine.dump() function.  That contains the information about exactly what glyphs were drawn and where.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/engine/TextLine.html#dump%28%29

Richard