View Issue Details

IDProjectCategoryView StatusLast Update
0000848luatexluatex bugpublic2013-12-20 18:45
ReporterTaco Assigned ToHans Hagen  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version0.78.0 
Summary0000848: LuaTeX creates bad pdf for (some?) CJK fonts
DescriptionFrom Akira:


Some time ago, I reported that a user had found LuaTeX created bad pdf,
though it was viewed by the reader, in some cases where CJK font was used.
The user has reported just now that he has found the problematic lines
in writecff.w. I attach "writecff-diff.tar.gz" which contains "ausersol.diff" and "mysol.diff".
"ausersol.diff" is presented by the user, and "mysol.diff" is my proposal.
Of course I and the user little understand the lines.
Additional Informationausersol.diff was just deleted some stuff from the pdf generation, not a nice option. Akira's version appears better and is attached.
TagsNo tags attached.

Activities

Taco

2013-08-06 09:56

administrator  

mysol.diff (400 bytes)   
--- writecff.w.orig	Sat Jan 05 13:44:20 2013
+++ writecff.w	Thu Jul 25 15:59:18 2013
@@ -3389,6 +3389,8 @@
             }
             pdf_begin_obj(pdf, cidset, OBJSTM_NEVER);
             pdf_begin_dict(pdf);
+            pdf_dict_add_streaminfo(pdf);
+            pdf_end_dict(pdf);
             pdf_begin_stream(pdf);
             pdf_out_block(pdf, stream, l);
             pdf_end_stream(pdf);
mysol.diff (400 bytes)   

Issue History

Date Modified Username Field Change
2013-08-06 09:56 Taco New Issue
2013-08-06 09:56 Taco File Added: mysol.diff
2013-12-20 18:45 Hans Hagen Status new => closed
2013-12-20 18:45 Hans Hagen Assigned To => Hans Hagen
2013-12-20 18:45 Hans Hagen Resolution open => fixed
2013-12-20 18:45 Hans Hagen Fixed in Version => 0.78.0