|
From: | Matthew Richer |
Subject: | [Swftools-common] PDF2SWF - PDF Hangs and CPU maxed |
Date: | Fri, 4 Apr 2008 15:55:28 -0400 |
We are attempting to use PDF2SWF for a particular PDF and we
are running into an issue where the PDF processing just hangs and the CPU is
spike @ 100% (50% on dual-core). The point where it bottlenecks depends
on the zoom factor. At zoom factor 100 it stops at one point and at zoom
factor 72 (default) it stops further on. I can make the file available for download if required. Here is the tail end of my verbose logging: pdf2swf
–F C:\SWFTOOLS\FONTS –z –s jpegquality=100 –s zoom=100 –vvv
bottleneck.pdf –o bottleneck.swf DEBUG
drawChar(969.922700,562.172900,c='N' (78), u=78 <1>) CID=0 render=0 glyp hid=31
font=02406220 TRACE
Drawing char 31 in font 16 at 1885,0 in color 000000ff DEBUG
drawChar(977.818700,562.172900,c='T' (84), u=84 <1>) CID=0 render=0 glyp hid=36
font=02406220 TRACE
Drawing char 36 in font 16 at 2096,0 in color 000000ff TRACE
endString() render=0 textstroke=00000000 TRACE
endTextObject() render=0 textstroke=00000000 clipstroke=00000000 TRACE
stroke width=1.388889 join=miter cap=butt dashes=0 color=000000ff DEBUG
| moveTo 1408.33 1134.85 DEBUG
| lineTo 1206.95 1134.85 DEBUG
| lineTo 1206.95 932.79 DEBUG
| lineTo 1408.33 932.79 DEBUG
| lineTo 1408.33 1134.85 TRACE
draw as polygon, type=3 dots=0 * HANGS * pdf2swf
–F C:\SWFTOOLS\FONTS –z –s jpegquality=100 –s zoom=72 –vvv
bottleneck.pdf –o bottleneck.swf DEBUG
| splineTo (295.11 53.65) 295.00 53.66 DEBUG
| splineTo (294.88 53.66) 294.68 53.97 DEBUG
| splineTo (294.47 54.28) 294.46 54.46 DEBUG
| splineTo (294.45 54.63) 294.33 54.73 DEBUG
| splineTo (294.20 54.83) 294.12 54.90 DEBUG
| lineTo 294.03 55.04 DEBUG
| splineTo (293.94 55.14) 293.94 55.17 DEBUG
| lineTo 294.02 55.48 DEBUG
| splineTo (294.02 55.58) 294.13 55.74 DEBUG
| splineTo (293.90 55.78) 293.84 55.94 DEBUG
| splineTo (293.78 56.09) 293.65 56.21 DEBUG
| splineTo (293.51 56.33) 293.37 56.68 DEBUG
| splineTo (293.22 57.02) 293.22 57.08 DEBUG
| lineTo 293.23 57.21 DEBUG
| lineTo 293.04 57.42 DEBUG
| lineTo 292.62 58.71 TRACE
draw as polygon, type=4 dots=0 * HANGS * Any kind of insight would be grateful. Matt |
[Prev in Thread] | Current Thread | [Next in Thread] |