swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] pdf2swf only prepare output device the 1st page (one f


From: 倪其孔
Subject: [Swftools-common] pdf2swf only prepare output device the 1st page (one file per page)
Date: Thu, 10 Jun 2010 18:31:09 +0800

Version: 9.0.1

in one_file_per_page mode,  from the 2nd page output device hasnot been dumped fonts.

May be we are miss some statement in pdf2swf.c:

if(one_file_per_page) {
      gfxresult_t*result = out->finish(out);out=0;
      char buf[1024];
      sprintf(buf, outputname, pagenr);
      if(result->save(result, buf) < 0) {
           return 1;
      }
      result->destroy(result);result=0;
      out = create_output_device();;
+    pdf->prepare(pdf, out); //miss this statement
      msg("<notice> Writing SWF file %s", buf);
}



Is it right?

   


搜索本应是彩色的,快来体验新一代搜索引擎-必应,精美图片每天换哦! 立即试用!

reply via email to

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