diff --git a/kandinsky/include/kandinsky/font.h b/kandinsky/include/kandinsky/font.h index 06d3dfe6d..10ec5ae67 100644 --- a/kandinsky/include/kandinsky/font.h +++ b/kandinsky/include/kandinsky/font.h @@ -26,6 +26,7 @@ class KDFont { private: static constexpr int k_bitsPerPixel = 4; // TODO: Should be generated by the rasterizer + static constexpr int k_maxGlyphPixelCount = 180; //TODO: Should be generated by the rasterizer static const KDFont privateLargeFont; static const KDFont privateSmallFont; public: @@ -44,7 +45,6 @@ public: uint8_t * greyscaleBuffer() { return m_greyscales; } uint8_t * secondaryGreyscaleBuffer() { return m_greyscales + k_maxGlyphPixelCount; } private: - static constexpr int k_maxGlyphPixelCount = 180; //TODO: Should be generated by the rasterizer uint8_t m_greyscales[2*k_maxGlyphPixelCount]; KDColor m_colors[k_maxGlyphPixelCount]; };