Changeset 471 for trunk/src/gfx/texture_font.cc
- Timestamp:
- 09/21/15 19:13:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/texture_font.cc
r438 r471 172 172 FT_Load_Glyph( face, glyph_index, FT_LOAD_RENDER | FT_LOAD_NO_HINTING); 173 173 slot = face->glyph; 174 g->advance = ivec2( slot->advance.x/64.0f, slot->advance.y/64.0f );174 g->advance = vec2( slot->advance.x/64.0f, slot->advance.y/64.0f ); 175 175 } 176 176 generate_kerning();
Note: See TracChangeset
for help on using the changeset viewer.