swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Re: extracting font from pdf to embed in swf


From: DannyT
Subject: [Swftools-common] Re: extracting font from pdf to embed in swf
Date: Tue, 20 Apr 2010 08:51:27 +0100

Or maybe I'm missing something, i basically want to be able to highlight and/or getTextRunInfo on any text in a pdf. As we allow pdfs to be uploaded there's no guarantees we'll have the font installed to embed.

Has anyone else tackled this? I can see scribd.com manage to do it somehow.

Any suggestions much appreciated :)


On 19 April 2010 10:59, DannyT <address@hidden> wrote:
We're working on a pdf viewer with a search function and use TextSnapshot.getTextRunInfo to highlight the search results. This is somewhat sporadic as where the PDF contains a font that is NOT in the fonts path passed in to pdf2swf then we don't have access to all of the information (corner0x, height etc.).

I've just tested a service onlinefontconverter[dot]com which allowed me to upload a pdf and then download the fonts contained within it. Does anyone know if something like this is available in swftools or of some other executable (paid or OS) we could use to extract the fonts and put them in a temp directory which is then passed to pdf2swf?



--
http://danny-t.co.uk

reply via email to

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