Fix text rendering in grid renderer.

This commit is contained in:
Hermann Kraus 2013-04-02 05:01:07 +02:00
parent 1196a08e97
commit 47e02ada84

View file

@ -230,6 +230,8 @@ void agg_text_renderer<T>::render(glyph_positions_ptr pos)
template <typename T>
void grid_text_renderer<T>::render(glyph_positions_ptr pos, value_integer feature_id)
{
glyphs_->clear();
prepare_glyphs(pos);
FT_Error error;
FT_Vector start;
unsigned height = pixmap_.height();