mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed a bug with ImageFonts and chars > 127
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user