ecere/gfx/drivers/LFBDisplayDriver: Fixed unnecessarily huge textures for fonts
authorJerome St-Louis <jerome@ecere.com>
Sat, 16 Jan 2016 07:03:19 +0000 (02:03 -0500)
committerJerome St-Louis <jerome@ecere.com>
Fri, 26 Feb 2016 04:25:18 +0000 (23:25 -0500)
ecere/src/gfx/drivers/LFBDisplayDriver.ec

index 4ccf81d..7991c3c 100644 (file)
@@ -573,8 +573,8 @@ class GlyphPack : BTNode
 
       if(true)
       {
-         width = pow2i(height * 16);
-         height = pow2i(height * 8);
+         width = pow2i(width);
+         height = pow2i(height);
       }
 
       if(bitmap.Allocate(null, width, height, 0, pixelFormatAlpha, false /*true*/))