+ don't call 'set_character_sizes' - alredy set in processed_text.cpp:L77

This commit is contained in:
artemp 2012-06-29 10:36:10 +01:00
parent 8849ba7d4d
commit bf60dd9299

View file

@ -353,7 +353,7 @@ box2d<double> text_renderer<T>::prepare_glyphs(text_path *path)
pen.y = int(y * 64);
face_set_ptr faces = font_manager_.get_face_set(c->format->face_name, c->format->fontset);
faces->set_character_sizes(c->format->text_size);
//faces->set_character_sizes(c->format->text_size);
glyph_ptr glyph = faces->get_glyph(unsigned(c->c));
FT_Face face = glyph->get_face()->get_face();