The latest version from the Git repository fixes that issue and the pdf2swf
command works fine on Linux with multipage output option. :)

2011/5/10 Pablo Beltran <[email protected]>

> Hi everybody!
>
> On Windows all works fine, but on Linux (Ubuntu 11.04)  I can't use the
> current release (swftools-0.9.1.tar.gz) to transform pdf into swf because
> character positions are wrong, so when I select a text on a swf then it
> cannot be highlighted (single lines work, but multi line no). That is fixed
> in the last Development Snapshot (swftools-2011-01-23-1815.tar.gz).
>
> On the other hand both versions work fine to transform any pdf into a
> single swf. But when I try to transfom the pdf into many swf pages (using
> the % in the outuput command: pdf2swf ... -o foo%.swf) then pdf2swf doesn't
> work. That is part of the error output:
>
>
>
> NOTICE  outputting one file per page
> NOTICE  processing PDF page 1 (595x842:0:0)
> NOTICE  File contains pbm pictures
> NOTICE  Writing SWF file
> /var/docminer/temp/698425f32af0b270e153009d97d6b08b.doc/page_1.swf
> NOTICE  processing PDF page 2 (595x842:0:0)
> ERROR   Unknown font id: CAAAAA+TimesNewRomanPS-BoldMT-118-0
> WARNING swf_drawchar: Font is NULL
> ERROR   Unknown font id: CAAAAA+TimesNewRomanPS-BoldMT-118-0
> WARNING swf_drawchar: Font is NULL
> ERROR   Unknown font id: CAAAAA+TimesNewRomanPS-BoldMT-118-0
> WARNING swf_drawchar: Font is NULL
> ERROR   Unknown font id: CAAAAA+TimesNewRomanPS-BoldMT-118-0
> ...
>
> So, briefly:
>
> Select text on swf: last stable=KO, development snapshot=OK
> multipage: last stable=OK, development snapshot=KO
>
> At the present, I have no way to use SWFTools (absolutely a great tool!!!)
> on Ubuntu.
>
> Any help will be very appreciate!
>
> Thank you!
>
>
>

Reply via email to