parent
f866ab1f80
commit
512a9af53f
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,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*scale_factor_);
|
||||
|
||||
glyph_ptr glyph = faces->get_glyph(unsigned(c->c));
|
||||
FT_Face face = glyph->get_face()->get_face();
|
||||
|
|
Loading…
Reference in a new issue