Changeset 4683 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- Jun 24, 2005, 12:56:07 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/text_engine.cc
r4681 r4683 622 622 { 623 623 tmpRect.x = 0; 624 tmpRect.y = tmpRect.y + maxLineHeight + 1;624 tmpRect.y = tmpRect.y + maxLineHeight + 2; 625 625 maxLineHeight = 0; 626 626 } … … 641 641 TexCoord tmpTexCoord; 642 642 tmpTexCoord.minU = (float)tmpRect.x/(float)tmpSurf->w; 643 tmpTexCoord.maxU = (float)(tmpRect.x +tmpGlyph->width)/(float)tmpSurf->w;643 tmpTexCoord.maxU = (float)(tmpRect.x +1 +tmpGlyph->width)/(float)tmpSurf->w; 644 644 tmpTexCoord.minV = (float)tmpRect.y/(float)tmpSurf->w; 645 645 tmpTexCoord.maxV = (float)(tmpRect.y+tmpGlyph->height)/(float)tmpSurf->w; … … 660 660 SDL_FreeSurface(glyphSurf); 661 661 662 tmpRect.x += tmpGlyph->width + 1;662 tmpRect.x += tmpGlyph->width + 2; 663 663 664 664 // Outputting Glyphs to BMP-files.
Note: See TracChangeset
for help on using the changeset viewer.