Skip to content

Commit

Permalink
Fix font scaling.
Browse files Browse the repository at this point in the history
Refs #1273.
  • Loading branch information
herm committed Jun 29, 2012
1 parent f866ab1 commit 512a9af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/font_engine_freetype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 512a9af

Please sign in to comment.