]>
Commit | Line | Data |
---|---|---|
a7c52a89 ŁK |
1 | --- CEGUI-0.5.0/src/CEGUIFreeTypeFont.cpp 2006-11-04 17:46:05.000000000 +0100 |
2 | +++ CEGUI-0.5.0/src/CEGUIFreeTypeFont.cpp.new 2007-04-24 22:14:07.366533388 +0200 | |
3 | @@ -278,8 +278,8 @@ | |
4 | drawGlyphToBuffer (mem_buffer + (y * texsize) + x, texsize); | |
5 | ||
6 | // Create a new image in the imageset | |
7 | - Rect area (float(x), float(y), float(x + glyph_w - INTER_GLYPH_PAD_SPACE), | |
8 | - float(y + glyph_h - INTER_GLYPH_PAD_SPACE)); | |
9 | + Rect area ((float)(x), (float)(y), (float)(x + glyph_w - INTER_GLYPH_PAD_SPACE), | |
10 | + (float)(y + glyph_h - INTER_GLYPH_PAD_SPACE)); | |
11 | Point offset (d_fontFace->glyph->metrics.horiBearingX * float(FT_POS_COEF), | |
12 | -d_fontFace->glyph->metrics.horiBearingY * float(FT_POS_COEF)); | |
13 |