diff options
Diffstat (limited to 'src/graphics')
-rw-r--r-- | src/graphics/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics/font.c b/src/graphics/font.c index f73c023..1c3631d 100644 --- a/src/graphics/font.c +++ b/src/graphics/font.c @@ -4,8 +4,8 @@ #define STB_TRUETYPE_IMPLEMENTATION #include "../../external/stb_truetype.h" -/* Need padding so filtering doesn't touch pixels in another glyphs area */ -#define GLYPH_PADDING 2 +/* Need padding so filtering doesn't touch pixels in another glyphs area. TODO: Decrease this */ +#define GLYPH_PADDING 4 #define GLYPH_UPSAMPLE 1 int mgl_font_load_from_file(mgl_font *self, const mgl_memory_mapped_file *mapped_file, unsigned int character_size) { |