I don't know if you noticed but your GS version is really old. ----- Original Message ----- From: "Chris Wilson" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Tuesday, July 19, 2005 8:56 PM Subject: RE: [iText-questions] Invalid PDF generated
> Hi Paulo, > > > Works for me in GS and Acrobat. Note that you have javascript in the pdf > > to print and that's what is causing the message. > > Thanks for the quick response. Now I can't reproduce the GS crash by > changing the code back :-( but the table cell containing the image doesn't > display at all. I can still reproduce the crash by loading the invalid.pdf > file in KGhostView, which says: > > "An error occured in rendering. > Process killed or crashed. > You might see some errors in the display or it may work. > The error messages below are from Ghostscript (gs) and may help identify > or correct the problem" > > followed by an empty text box (no errors from gs). > > Running "gs" manually on the file, I get: > > [EMAIL PROTECTED](boxi)$ gs /home/httpd/html/invalid.pdf > GNU Ghostscript 7.07 (2003-05-17) > Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > Loading NimbusRomNo9L-Regu font from > /usr/share/fonts/default/Type1/n021003l.pfb... 2429628 1068537 1642520 > 351150 0 done. > Loading NimbusSanL-Regu font from > /usr/share/fonts/default/Type1/n019003l.pfb... 2784492 1381729 1682712 > 365686 0 done. > Processing pages 1 through 1. > Page 1 > Loading NimbusRomNo9L-Medi font from > /usr/share/fonts/default/Type1/n021004l.pfb... 3109176 1634551 1743188 > 406099 2 done. > Segmentation fault > > With gdb I get the following: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1088052768 (LWP 12625)] > 0x4024f282 in gx_free_cached_char () from /usr/lib/libgs.so.7 > (gdb) bt > #0 0x4024f282 in gx_free_cached_char () from /usr/lib/libgs.so.7 > #1 0x4024f90e in gs_purge_font_from_char_caches () from > /usr/lib/libgs.so.7 > #2 0x4024f70c in gs_purge_font_from_char_caches () from > /usr/lib/libgs.so.7 > #3 0x4024f027 in gx_alloc_char_bits () from /usr/lib/libgs.so.7 > #4 0x402506af in gx_default_text_begin () from /usr/lib/libgs.so.7 > #5 0x40250257 in gx_default_text_begin () from /usr/lib/libgs.so.7 > #6 0x4024bf10 in gs_text_set_cache () from /usr/lib/libgs.so.7 > #7 0x4011135c in art_pdf_composite_knockout_8 () from /usr/lib/libgs.so.7 > #8 0x4024bf72 in gs_text_setcachedevice () from /usr/lib/libgs.so.7 > #9 0xbfffd080 in ?? () > #10 0x00000001 in ?? () > #11 0x4031a820 in ?? () from /usr/lib/libgs.so.7 > #12 0x4031a820 in ?? () from /usr/lib/libgs.so.7 > #13 0x00000000 in ?? () > > This is ghostscript-7.07-25 on Linux i386. Should I report this to the > Ghostscript developers as a bug in Ghostscript? > > Also, I was following the advice on the examples page to have a "silent" > printing PDF. Since it displays this confusing message box, it doesn't > seem very "silent" to me :-) Any ideas on how to avoid the message? > > Cheers, Chris. > -- > _ ___ __ _ > / __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK | > / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer | > \ _/_/_/_//_/___/ | We are GNU-free your mind-and your software | > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
