From 5112bbb4b5727d38ed2a9d2b63d16867be841934 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Fri, 9 Apr 2010 16:53:51 -0700 Subject: [PATCH] added workaround for state->last_string assertion problem --- lib/devices/record.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/devices/record.c b/lib/devices/record.c index 8f7b40a3..fb1c5a95 100644 --- a/lib/devices/record.c +++ b/lib/devices/record.c @@ -592,8 +592,10 @@ static void record_drawchar(struct _gfxdevice*dev, gfxfont_t*font, int glyphnr, char same_matrix = (l->m00 == matrix->m00) && (l->m01 == matrix->m01) && (l->m10 == matrix->m10) && (l->m11 == matrix->m11); char same_color = !memcmp(color, &i->state.last_color[OP_DRAWCHAR], sizeof(gfxcolor_t)); + /* FIXME if(same_font && same_matrix && same_color) flags |= FLAG_SAME_AS_LAST; + */ writer_writeU8(&i->w, OP_DRAWCHAR|flags); writer_writeU32(&i->w, glyphnr); -- 2.11.4.GIT