Changeset 108 for trunk/orca/gl
- Timestamp:
- 04/05/06 14:24:49 (3 years ago)
- Location:
- trunk/orca/gl
- Files:
-
- 2 modified
-
project.r (modified) (1 diff)
-
ttf_load.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/gl/project.r
r37 r108 50 50 ] 51 51 win32 [ 52 lib-path: %"C:/cygwin/home/karl/osrc/" 53 52 54 include_from %glv/win32 53 55 sources [%glv/win32/glv.c] 54 56 55 57 include_from %../win32 56 sources [ %win32console.c]58 sources_from %../win32 [%win32console.c] 57 59 58 include_from %../../../osrc/freetype2/include59 libs_from %../../../osrc/freetype2/objs [%freetype]60 include_from join lib-path %freetype2/include 61 libs_from join lib-path %freetype2/objs [%freetype] 60 62 61 include_from %../../../osrc/lpng12862 include_from %../../../osrc/zlib63 libs_from %../../../osrc/lpng128 [%libpng]64 libs_from %../../../osrc/zlib [%zlib]63 include_from join lib-path %lpng128 64 include_from join lib-path %zlib 65 libs_from join lib-path %lpng128 [%libpng] 66 libs_from join lib-path %zlib [%zlib] 65 67 66 68 include_from %"C:/Program Files/OpenAL 1.1 SDK/include" -
trunk/orca/gl/ttf_load.c
r99 r108 332 332 OArray kern; 333 333 #endif 334 const char* ci; 334 335 int count = 0; 335 336 int fail = 0; … … 394 395 y = step_y; 395 396 396 c onst char* ci = codes;397 ci = codes; 397 398 for( ci = codes; *ci != '\0'; ++ci ) 398 399 { … … 407 408 if( ! error ) 408 409 { 410 TexGlyphInfo* tgi; 409 411 int nextX = x + FT_PIXELS(glyph->metrics.width) + gap; 410 412 … … 426 428 renderGlyph( img, glyph, x, y, ! asBitmap ); 427 429 428 TexGlyphInfo*tgi = txf->tgi + count;430 tgi = txf->tgi + count; 429 431 count++; 430 432
