Fixed a bug with ImageFonts and chars > 127

This commit is contained in:
Bill Meltsner
2011-01-08 20:56:30 -06:00
parent a4eb68dbc1
commit 938f395a51
+1 -1
View File
@@ -50,7 +50,7 @@ namespace freetype
int length = glyphs.size();
unsigned short * g = new unsigned short[length];
for (int i = 0; i < length; i++) {
g[i] = glyphs[i];
g[i] = (unsigned char)glyphs[i];
}
Rasterizer * r = newRasterizer(data, g, length);
delete [] g;