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

[orca-dev:00727] Re: MONPE 0.6.4 のバグ?



一応こんな感じでしょうか?

diff -ur monpe-0.6.4/app/paginate_psprint.c monpe-0.6.4a/app/paginate_psprint.c
--- monpe-0.6.4/app/paginate_psprint.c  Wed Jun 29 17:24:18 2005
+++ monpe-0.6.4a/app/paginate_psprint.c Wed Apr  5 11:11:24 2006
@@ -88,6 +88,12 @@
   fprintf(rend->file, "%%%%Page: %d %d\n", rend->pagenum, rend->pagenum);
   rend->pagenum++;

+/* 強制的に初期化 */
+  g_string_free( rend->last_fontname, TRUE );
+  g_string_free( rend->fontname_buffer, TRUE );
+  rend->fontname_buffer = g_string_new ("");
+  rend->last_fontname = g_string_new (NULL);
+
   /* save print context */
   fprintf(rend->file, "gs\n");