Add more debug information in font's bitmap images

This commit is contained in:
Francesco Abbate
2020-06-07 00:15:38 +02:00
parent b978873a58
commit e82d766c2b
3 changed files with 22 additions and 0 deletions
+3
View File
@@ -11,6 +11,9 @@ extern "C" {
typedef struct {
unsigned short x0, y0, x1, y1;
float xoff, yoff, xadvance;
#ifdef FONT_RENDERER_DEBUG
int ybaseline;
#endif
} GlyphBitmapInfo;
struct FontRendererImpl;