+ don't call 'set_character_sizes' - alredy set in processed_text.cpp:L77
This commit is contained in:
parent
8849ba7d4d
commit
bf60dd9299
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue