Permalink
Browse files

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

…:L77
  • Loading branch information...
1 parent 8849ba7 commit bf60dd92995bbdf7063d7cb9aa9518d4fcefc227 @artemp artemp committed Jun 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/font_engine_freetype.cpp
@@ -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);
@springmeyer
springmeyer Jun 29, 2012 Member

fyi: this appears to break 4 of the visual tests

glyph_ptr glyph = faces->get_glyph(unsigned(c->c));
FT_Face face = glyph->get_face()->get_face();

0 comments on commit bf60dd9

Please sign in to comment.