[Swftools-common] Re: Segmentation fault in polyops_startclip
2010/1/19 Morten Sjøgren m_...@mabs.dk Hi, I've checkout the swftools from git and with pdf2swf I get a segmentation fault in polyops_startclip on some pages from a PDF created with Adobe InDesign CS4 - VERBOSE clearSoftMask statepos=3 VERBOSE Casting gfxline of 0 segments to a stroke-polygon VERBOSE Casting gfxline of 5 segments (5 line segments) to a gfxpoly VERBOSE Comparing polygon renderings of size 852x233 and 852x233 VERBOSE Bad SVP rewinding result- polygons don't match VERBOSE Error in polygon processing Segmentation fault - It segmentation fault because i-out is null in polyops_startclip and it's null because of a check that fails in: ArtSVP* run_intersector(ArtSVP*svp, ArtWindRule rule) When the check if(!compare_bitmaps(bbox, data1, data2)) { fails it causes the function to return 0;, which is bad since the return apparently is used later on. I'm attaching a temporary patch that fixes the problem for me, but I'm sure there must be a better solution, like figuring out why the two bitmaps are different. Yours - Morten Sjøgren I still need to use my patch with the latest git checkout. And I was wondering what the purpose of the function run_intersector is? More specific what is the expected result from this function when the if(!compare_bitmaps(bbox, data1, data2)) { fails? Thanks. - Morten Sjøgren
[Swftools-common] Error: Couldn't find a font for 'BOPZFU+DFHeiStd-W5'
Hi, When I was trying to convert pdf 2 swf , I got Error: Couldn't find a font for 'BOPZFU+DFHeiStd-W5' I know there is a font DFHeiStd-W5. But why is it BOPZFU+DFHeiStd-W5 ? What is BOPZFU+ ? /usr/local/bin/pdf2swf -v -s languagedir=/usr/share/xpdf /tmp/flip2me/PDF_jk6vib0pha94-1.pdf -o tmp/PDF_jk6vib0pha94_2.swf VERBOSE setting parameter languagedir to /usr/share/xpdf NOTICE Adding /usr/share/xpdf to language pack directories VERBOSE setting parameter bitmap to 1 VERBOSE setting parameter zoom to 150 VERBOSE setting parameter jpegquality to 85 VERBOSE Generating info structure for page 1 Error: Couldn't find a font for 'BOPZFU+DFHeiStd-W5' Error: Couldn't find a font for 'BOPZFU+DFHeiStd-W5' Best Regards, Jim Huang
[Swftools-common] Compiling with LLVM for Alchemy?
Has anyone here tried compiling swftools (specifically pdf2swf) using Adobe's Alchemy toolkit and LLVM? I found one record of a person trying on Adobe's forums who claimed to get zlib and libjpeg to compile but ran into errors building swftools. http://forums.adobe.com/thread/497066 I think it would be great if AIR applications could invoke pdf2swf natively on the client. I'm considering trying to cross compile with Alchemy/LLVM as well, but thought I'd check with the group to see anyone has already tried this and how it worked for them. Thanks. _ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. http://clk.atdmt.com/GBL/go/201469226/direct/01/
Re: [Swftools-common] Error: Couldn't find a font for 'BOPZFU+DFHeiStd-W5'
Pass! Any chance of you posting the offending pdf file? Regards, Chris. On 22 February 2010 02:58, Jim Huang achihhu...@gmail.com wrote: Hi, When I was trying to convert pdf 2 swf , I got Error: Couldn't find a font for 'BOPZFU+DFHeiStd-W5' I know there is a font DFHeiStd-W5. But why is it BOPZFU+DFHeiStd-W5 ? What is BOPZFU+ ? /usr/local/bin/pdf2swf -v -s languagedir=/usr/share/xpdf /tmp/flip2me/PDF_jk6vib0pha94-1.pdf -o tmp/PDF_jk6vib0pha94_2.swf VERBOSE setting parameter languagedir to /usr/share/xpdf NOTICE Adding /usr/share/xpdf to language pack directories VERBOSE setting parameter bitmap to 1 VERBOSE setting parameter zoom to 150 VERBOSE setting parameter jpegquality to 85 VERBOSE Generating info structure for page 1 Error: Couldn't find a font for 'BOPZFU+DFHeiStd-W5' Error: Couldn't find a font for 'BOPZFU+DFHeiStd-W5' Best Regards, Jim Huang
Re: [Swftools-common] Re: Segmentation fault in polyops_startclip
On Mon, Feb 22, 2010 at 03:06:47PM +0100, Morten Sj?gren m_...@mabs.dk wrote: I still need to use my patch with the latest git checkout. And I was wondering what the purpose of the function run_intersector is? More specific what is the expected result from this function when the if(!compare_bitmaps(bbox, data1, data2)) { fails? Could you try a fresh git clone? That function shouldn't even be called anymore. Matthias