Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5370 in orxonox.OLD for trunk/src/lib/graphics/text_engine/font.cc


Ignore:
Timestamp:
Oct 13, 2005, 12:45:03 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: minor nice-render update in the FONT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/text_engine/font.cc

    r5369 r5370  
    477477        SDL_FreeSurface(glyphSurf);
    478478
    479         tmpRect.x += (int)(tmpGlyph->advance*this->renderSize);
     479        tmpRect.x += (int)(tmpGlyph->advance*this->renderSize)+1;
    480480
    481481              // Outputting Glyphs to BMP-files.
     
    578578        if (y + maxLineHeight + 1 > size)
    579579          break;
    580         x += (int)(tmpGlyph->advance*this->renderSize);
     580        x += (int)(tmpGlyph->advance*this->renderSize)+1;
    581581
    582582      }
Note: See TracChangeset for help on using the changeset viewer.