swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Problem converting a pdf to swf


From: Chris Pugh
Subject: Re: [Swftools-common] Problem converting a pdf to swf
Date: Mon, 28 Jun 2010 21:54:09 +0200

2010/6/28 James White <address@hidden>:
> Greetings,
>      I have a similar problem (I think) and I'm hoping someone can give me
> some insight into fixing it.  I have a number of PDF document that I need to
> convert (on demand) to swf and view.  I'm using FlexPaper
> (http://flexpaper.devaldi.com/) to view swf files.  An important feature is
> to be able to search the document.  A number of these PDF documents are
> scanned documents with an OCR'ed text in them.  If I use "pdf2swf input.pdf
> -o output.swf " all is well.  I can view the embedded OCR results using
> "swfstrings" and the resulting swf file is searchable in the FlexPaper
> viewer.   However there are a number of PDF files that don't render properly
> with out using the "-O1" or "-s poly2bitmap" switch.

Take a step back.  Are these PDF's themselves properly searchable?   If whatever
you are using to create the PDFs can't make sense of the OCR'd fonts,
then they'll
simply be rendered as graphics in the PDF.   Test the PDF with some of the
command-line utilities from the xpdf distribution,  such as pdftotext.  See what
happens.

You may also have fonts that xpdf can't make sense of.  Using the -vvv, verbose
option during conversion, and examining the output, should give you a clue as to
what is happening.

HTH

Regards,


Chris.

.



reply via email to

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