Skip to main content
Participating Frequently
Feb 16, 2011 9:33 AM UTC
Question

Server-side rendering for TextFlow XML?

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Adobe Employee
Feb 17, 2011 2:59 AM UTC

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

Translate
dargreAuthor
Participating Frequently
Feb 17, 2011 8:49 AM UTC

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.

Translate
Inspiring
Feb 17, 2011 6:24 PM UTC

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

Translate