swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] String position within generated swf-file


From: Matthias Kramm
Subject: Re: [Swftools-common] String position within generated swf-file
Date: Wed, 2 May 2007 22:32:53 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Apr 11, 2007 at 12:38:54PM +0200, John Hauf wrote:
> is there a possibility to get the x- and y-coordinates and the 
> dimensions of a string from a swf-file that was generated with pdf2swf? 
> I know that I can get the coordinates of the bounding box containing a 
> specific string with swfdump, but I need to know the position of each 
> string.

That's not possible out of the box yet.

You can make yourself used with the librfxswf C interface though-
the functionality you want should only need a few lines to implement.

Or you can patch the "textcallback" function of swfdump to write
out the coordinates of each text. The x/y coordinates are passed
as startx/starty.

Greetings

Matthias






reply via email to

[Prev in Thread] Current Thread [Next in Thread]