Remove font renderer debug code

This commit is contained in:
Francesco Abbate
2020-06-09 16:55:26 +02:00
parent 047039a750
commit 18865fd32f
3 changed files with 0 additions and 79 deletions
-3
View File
@@ -208,9 +208,6 @@ int FontRendererBakeFontBitmap(FontRenderer *font_renderer, int font_height,
glyph_info.yoff = -pad_y;
glyph_info.xadvance = (x_next - x) / subpixel_scale;
#ifdef FONT_RENDERER_DEBUG
glyph_info.ybaseline = pixels_height - 1 - y_baseline;
#endif
if (glyph_info.x1 > glyph_info.x0) {
glyph_lut_convolution(ren_buf, lcd_lut, cover_swap_buffer, glyph_info);
}
-3
View File
@@ -11,9 +11,6 @@ extern "C" {
typedef struct {
unsigned short x0, y0, x1, y1;
float xoff, yoff, xadvance;
#ifdef FONT_RENDERER_DEBUG
int ybaseline;
#endif
} GlyphBitmapInfo;
struct FontRendererImpl;