Commits

Bill Meltsner committed ee911c2

Fixed a bug with ImageFonts and chars > 127

  • Participants
  • Parent commits 27ebfc6

Comments (0)

Files changed (1)

File src/modules/font/freetype/Font.cpp

 		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;