[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] highlighting/selecting text by mouse in SWFs creat
Re: [Swftools-common] highlighting/selecting text by mouse in SWFs created using pdf2swf
Tue, 6 Jan 2009 07:57:37 +0100
On Tue, Jan 06, 2009 at 10:32:11AM +0530, Rahul Mahurkar <address@hidden> wrote:
> I'm trying to highlight text by selecting text using mouse in an swf file.
> I've created the swf file using pdf2swf.
> TextSnapShot.hitTestTextNearPos(x,y) is returning -1, I think that's because
> the font's metrics is not available in the swf file. How can I make it
> ( font's metrics) available in the swf?
pdf2swf -f file.pdf -o file.swf
For other pdf2swf options, also see