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 <[email protected]> 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
