[gs-bugs] [Bug 692584] TextFormat=1 broken

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Oct 13 03:47:33 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692584

Arthur Ford <support at zumadev.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |support at zumadev.com

--- Comment #2 from Arthur Ford <support at zumadev.com> 2011-10-13 03:47:32 UTC ---
minor printf changes

diff --git a/gdevtxtw.c.prev b/gdevtxtw.c
index 80f73ff..3390d9c 100644
--- a/gdevtxtw.c.prev
+++ b/gdevtxtw.c
@@ -547,7 +547,7 @@ static int decorated_text_output(gx_device_txtwrite_t
*tdev)
     x_entry = tdev->PageData.unsorted_text_list;
     while (x_entry) {
         next_x = x_entry->next;
-        sprintf(TextBuffer, "<FontName=%s, size=%d, render mode=%d,
WMode=%d,start=%d,%d, end= %d,%d> ",
+        sprintf(TextBuffer, "<FontName=%s, size=%f, render mode=%d,
WMode=%d,start=%f,%f, end= %f,%f> ",
             x_entry->FontName, x_entry->size, x_entry->render_mode,
x_entry->wmode, x_entry->start.x,
             x_entry->start.y, x_entry->end.x,x_entry->end.y);
         fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list