From 47e02ada84e63a975f306cacb47f446897755b8b Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Tue, 2 Apr 2013 05:01:07 +0200 Subject: [PATCH] Fix text rendering in grid renderer. --- src/text/renderer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/text/renderer.cpp b/src/text/renderer.cpp index 9cb85ae50..14b8b4aa0 100644 --- a/src/text/renderer.cpp +++ b/src/text/renderer.cpp @@ -230,6 +230,8 @@ void agg_text_renderer::render(glyph_positions_ptr pos) template void grid_text_renderer::render(glyph_positions_ptr pos, value_integer feature_id) { + glyphs_->clear(); + prepare_glyphs(pos); FT_Error error; FT_Vector start; unsigned height = pixmap_.height();