View Issue Details

IDProjectCategoryView StatusLast Update
0004502ScribusPDFpublic2006-11-13 01:15
Reportermikael Assigned Tofschmid  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformFujitsu siemens amilo 1650OSGentoo-AMD64OS Versionstable
Product Version1.3.3.4 
Fixed in Version1.3.3.6cvs 
Summary0004502: Bad PDF generated
DescriptionExported PDF crashes Acrobat Reader 7.0.8 5/22/2006 and KPDF 0.5.5.
AcrobatReader and KDF both read exported pdf without reporting errors. After a LONG loading period they sometimes show document and they still continue loading after document is viewed until they fill 1G ram and 2G swap and then they crash. Same thing with both programs.

It seems to be related to font handling. Font used was: "AR PL ZenKai Uni Medium - size of 22.0 pt"
If I change fonts I usually end up with good PDF. Or if I use only latin letters I can use font mentioned.

Scribus can read and write these files fine and even print them. Mentioned font seem to work with pdf files exported from OpenOffice2 or other programs.
Steps To ReproduceCreate text field that contains traditional chinese with font AR PL ZenKai Uni Medium and export to pdf. Then try to use exported pdf.

Small utf8 encoded traditional chinese text is attached as file as I am not sure if all chinese characters break the pdf-exporting.
Additional InformationI tried this with both 1.3.3.3 and 1.3.3.4 with same results.
Currently using 1.3.3.3 as it is marked stable in gentoo portage tree.
TagsNo tags attached.
Patch

Activities

2006-11-08 06:54

 

test.txt (513 bytes)   
天有九宮地有九州人下丹田有九竅以象地之九州有九穴以按天上九宮腦骨八片以應八方一名彌羅天玉帝宮又名純陽天宮中空一穴名玄穹主又名元神宮有舌舌內有金鎖關與舌相對又名鵲橋鼻下人中穴與關相對其間有督脉乃是人之根本名上九竅一名性根玉泉又號華池舌下有四竅二竅通心為液兩竅通腎為我神室泥丸九竅乃天皇之宮中間一穴形如雞子狀似崑崙是也釋曰須彌山修真之子不可不知也
test.txt (513 bytes)   

fschmid

2006-11-08 07:11

administrator   ~0013327

Can you please add a sample PDF and the font?

plinnell

2006-11-08 10:04

viewer   ~0013329

http://www.freedesktop.org/wiki/Software_2fCJKUnifonts_2fDownload

plinnell

2006-11-08 12:30

viewer   ~0013333

Subsetting works fine. What I thought should be happening is this should be automatically subset, as it is a large Unicode font.

plinnell

2006-11-08 13:15

viewer   ~0013334

This works fine with Bitstream Cyberbit, the Unicode subsetting is working as designed.

2006-11-09 13:42

 

bug-report.sla.gz (8,044 bytes)

mikael

2006-11-09 13:48

reporter   ~0013342

Unable to upload sample pdf-file.
Compressed pdf is more than 5Mb (about 11Mb)
Fonts too are too big for uploading with your bug reporting system. But font istalled to my system can be downloaded from:
http://ftp.debian.org/debian/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_0.1.20060928.orig.tar.gz

I attach scribus file so you can use it to export sample pdf.

I noted that I could load exported PDF when I did not embed fonts.
Neither KPDF nor Acrobat Reader was able to render anything to screen even though font is installed.
But it did not crash. Both programs stopped loading after consuming about 400Mb mem and loading for more than 30s for one page (with amd athlon64 3700+)...

plinnell

2006-11-12 00:22

viewer   ~0013371

Franz, I did some more testing. My handful of pro Japanese fonts from Adobe all work correctly in that they are subset like Cyberbit. This font seems to escape detection. It might be an issue in the font...

plinnell

2006-11-12 00:23

viewer   ~0013372

Maciej,

This is not really a language issue, but a font issue, hence I deleted the relationship.

fschmid

2006-11-12 13:13

administrator   ~0013380

Fonts with more than 2048 glyphs are now set to be subsetted in the PDF and Postscript output. The font in this bug is in my opinion broken anyways as it does not only crash Acrobat Reader and KPDF, it does crash Pfaedit/FontForge too.

plinnell

2006-11-13 01:15

viewer   ~0013391

tested, fixed

Issue History

Date Modified Username Field Change
2006-11-08 06:54 mikael New Issue
2006-11-08 06:54 mikael File Added: test.txt
2006-11-08 07:11 fschmid Note Added: 0013327
2006-11-08 08:49 cbradney Relationship added child of 0004439
2006-11-08 10:04 plinnell Note Added: 0013329
2006-11-08 10:10 mhanski Relationship added related to 0003965
2006-11-08 12:30 plinnell Note Added: 0013333
2006-11-08 13:15 plinnell Note Added: 0013334
2006-11-09 00:35 plinnell Relationship deleted child of 0004439
2006-11-09 13:42 mikael File Added: bug-report.sla.gz
2006-11-09 13:48 mikael Note Added: 0013342
2006-11-12 00:20 plinnell Status new => assigned
2006-11-12 00:20 plinnell Assigned To => fschmid
2006-11-12 00:22 plinnell Note Added: 0013371
2006-11-12 00:22 plinnell Relationship deleted related to 0003965
2006-11-12 00:23 plinnell Note Added: 0013372
2006-11-12 13:13 fschmid Status assigned => resolved
2006-11-12 13:13 fschmid Fixed in Version => 1.3.3.6cvs
2006-11-12 13:13 fschmid Resolution open => fixed
2006-11-12 13:13 fschmid Note Added: 0013380
2006-11-13 01:15 plinnell Status resolved => closed
2006-11-13 01:15 plinnell Note Added: 0013391