SOURCES: CEGUI-gcc33.patch (NEW) - initial version

lkrotowski lkrotowski at pld-linux.org
Tue Apr 24 23:26:46 CEST 2007


Author: lkrotowski                   Date: Tue Apr 24 21:26:46 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initial version

---- Files affected:
SOURCES:
   CEGUI-gcc33.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/CEGUI-gcc33.patch
diff -u /dev/null SOURCES/CEGUI-gcc33.patch:1.1
--- /dev/null	Tue Apr 24 23:26:46 2007
+++ SOURCES/CEGUI-gcc33.patch	Tue Apr 24 23:26:41 2007
@@ -0,0 +1,13 @@
+--- CEGUI-0.5.0/src/CEGUIFreeTypeFont.cpp	2006-11-04 17:46:05.000000000 +0100
++++ CEGUI-0.5.0/src/CEGUIFreeTypeFont.cpp.new	2007-04-24 22:14:07.366533388 +0200
+@@ -278,8 +278,8 @@
+                     drawGlyphToBuffer (mem_buffer + (y * texsize) + x, texsize);
+ 
+                     // Create a new image in the imageset
+-                    Rect area (float(x), float(y), float(x + glyph_w - INTER_GLYPH_PAD_SPACE),
+-                               float(y + glyph_h - INTER_GLYPH_PAD_SPACE));
++                    Rect area ((float)(x), (float)(y), (float)(x + glyph_w - INTER_GLYPH_PAD_SPACE),
++                               (float)(y + glyph_h - INTER_GLYPH_PAD_SPACE));
+                     Point offset (d_fontFace->glyph->metrics.horiBearingX * float(FT_POS_COEF),
+                                   -d_fontFace->glyph->metrics.horiBearingY * float(FT_POS_COEF));
+ 
================================================================


More information about the pld-cvs-commit mailing list