Changeset 3776 in orxonox.OLD for orxonox/branches/textEngine/src/lib/graphics/font
- Timestamp:
- Apr 11, 2005, 4:30:59 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/lib/graphics/font/text_engine.cc
r3775 r3776 426 426 { 427 427 /* interesting GLYPHS: 428 * 32: space 428 429 * 33-47: Special Characters. 429 430 * 48-57: 0-9 … … 432 433 * 97-122: a-z 433 434 */ 434 int numberOfGlyphs = 90; 435 436 this->initGlyphs(33, numberOfGlyphs); 435 int numberOfGlyphs = 91; 436 437 this->initGlyphs(32, numberOfGlyphs); 438 this->glyphArray[32]->width = fontSize/3; //!< \todo find out the real size of a Space 437 439 438 440 int rectSize = this->findOptimalFastTextureSize(); … … 462 464 463 465 // all the interessting Glyphs 464 for (int i = 3 3; i <= 122; i++)466 for (int i = 32; i <= 122; i++) 465 467 { 466 468 SDL_Surface* glyphSurf = NULL; … … 528 530 } 529 531 } 532 530 533 GLuint texture; 531 534 glGenTextures(1, &texture);
Note: See TracChangeset
for help on using the changeset viewer.