swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] fonts rendered wrong in pdf2swf


From: Lon Lentz
Subject: Re: [Swftools-common] fonts rendered wrong in pdf2swf
Date: Mon, 23 Aug 2004 23:39:35 -0400


  Hi Matthias,

Rob asked me to run a back trace and post it here. I copied and pasted the original execution and the backtrace:


Starting program: /home/httpd/vhosts/com/httpdocs/pdf2swf/pdf2swf --pages=1 5334_78421_5540.pdf -o test1.swf
Error: PDF version 1.5 -- xpdf supports version 1.4 (continuing anyway)
Title:        HYC 3-base small brochure.indd
Creator:      Adobe InDesign CS (3.0.1)
Producer:     Adobe PDF Library 6.0
CreationDate: 20040729105949Z
ModDate:      20040729163643-04'00'
Pages:        5
Linearized:   no
Encrypted:    no
NOTICE  processing page 1
WARNING empty shape
WARNING empty shape
WARNING The following font caused problems:
WARNING =========== AGaramond-Regular (ID:401,0) ==========
WARNING | Tag: AGaramond-Regular
WARNING | is CID font
WARNING | Type: CIDType0C
WARNING | Embedded name: BWBPTT+AGaramond-Regular id: 469
WARNING | is serif
WARNING | is symbolic
WARNING Font AGaramond-Regular could not be loaded.
WARNING Try putting a TTF version of that font (named "AGaramond-Regular.ttf") into /swftools/fonts
NOTICE  substituting AGaramond-Regular -> Times-Roman
WARNING The following font caused problems:
WARNING =========== AGaramond-Semibold (ID:394,0) ==========
WARNING | Tag: AGaramond-Semibold
WARNING | is CID font
WARNING | Type: CIDType0C
WARNING | Embedded name: USJZZH+AGaramond-Semibold id: 481
WARNING | is serif
WARNING | is symbolic
WARNING Font AGaramond-Semibold could not be loaded.
WARNING Try putting a TTF version of that font (named "AGaramond-Semibold.ttf") into /swftools/fonts
NOTICE  substituting AGaramond-Semibold -> Times-Roman

Program received signal SIGSEGV, Segmentation fault.
0xb73d3b40 in strcpy () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb73d3b40 in strcpy () from /lib/tls/libc.so.6
#1 0xb75b7851 in T1_GetCharName (FontID=1, char1=0 '\0') at t1finfo.c:488
#2  0xb75be3dc in T1_LoadFont (FontID=1) at t1load.c:557
#3 0x0806404f in swf_LoadT1Font (filename=0x81c0280 "/usr/local/share/swftools/fonts/n021003l.pfb") at swffont.c:326 #4 0x080648d3 in swf_LoadFont (filename=0x81c0280 "/usr/local/share/swftools/fonts/n021003l.pfb") at swffont.c:494 #5 0x08054cec in swfoutput_setfont (obj=0x81da0b4, fontid=0x81cbbdf "AGaramond-Semibold", filename=0x81c0280 "/usr/local/share/swftools/fonts/n021003l.pfb") at swfoutput.cc:1061 #6 0x0804f2c3 in SWFOutputDev::updateFont (this=0x81da050, state=0x81db688) at SWFOutputDev.cc:1190 #7 0x081021da in Gfx::doShowText (this=0x81cbef0, s=0x81db998) at Gfx.cc:2033 #8 0x08102156 in Gfx::opShowSpaceText (this=0x81cbef0, args=0xbfffc080, numArgs=1) at Gfx.cc:2008 #9 0x080fcdb1 in Gfx::execOp (this=0x81cbef0, cmd=0xbfffc0e0, args=0xbfffc080, numArgs=1) at Gfx.cc:608
#10 0x080fc978 in Gfx::go (this=0x81cbef0, topLevel=1) at Gfx.cc:517
#11 0x080fc7d9 in Gfx::display (this=0x81cbef0, obj=0xbfffc1a0, topLevel=1) at Gfx.cc:489 #12 0x080dc100 in Page::display (this=0x81cc080, out=0x81da050, dpi=72, rotate=0, links=0x81d58c0, catalog=0x81cbcf8) at Page.cc:251 #13 0x080da5d5 in PDFDoc::displayPage (this=0x81c9d78, out=0x81da050, page=1, zoom=72, rotate=0, doLinks=1) at PDFDoc.cc:192
#14 0x08051b42 in pdfswf_performconversion () at SWFOutputDev.cc:1750
#15 0x0804bc01 in main (argn=5, argv=0xbfffc814) at pdf2swf.cc:491
(gdb)




On Aug 7, 2004, at 9:49 AM, Matthias Kramm wrote:

On Sat, Aug 07, 2004 at 09:18:01AM -0400, Rob Munz wrote:
Help is so much appreciated.
This is a PDF of a variety being created various ways that result in the
same conversion or similar when run through PDF2swf. Typically PDF's
created from InDesign then run through pdf2swf. But others show similar
font issues. The original PDF is here
http://www.proofitonline.com/global/worldsailing.pdf results in swf can
be seen here: http://www.proofitonline.com/global/bad_1.swf and
http://www.proofitonline.com/global/bad_2.swf
<http://www.proofitonline.com/global/bad_1.swf>   Strange but true.
Stacked fonts, case changes even font substitutions as well. Please let
me know if there is a fix or ideas?





reply via email to

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