diff --git a/src/lime/text/Font.hx b/src/lime/text/Font.hx index 9dc7efc2d..e0f76b9b8 100644 --- a/src/lime/text/Font.hx +++ b/src/lime/text/Font.hx @@ -238,7 +238,7 @@ class Font var data = bytes.sub(dataPosition, width * height); dataPosition += (width * height); - var buffer = new ImageBuffer(new UInt8Array(data), width, height, 1); + var buffer = new ImageBuffer(new UInt8Array(data), width, height, 8); var image = new Image(buffer, 0, 0, width, height); image.x = x; image.y = y;