diff options
Diffstat (limited to 'drw.c')
| -rw-r--r-- | drw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -226,7 +226,7 @@ create_font_cache(FontPath *fontpath, int size, unsigned fontsize) void font_cache_generate_box(FontCache *fontcache) { - Font *font = get_font_with_charcode(fontcache, 0); + Font *font = get_font_with_charcode(fontcache, 'a'); FT_Set_Pixel_Sizes(font->face, 0, fontcache->fontsize); fontcache->box.width = ((font->face->size->metrics.max_advance) >> 6); fontcache->box.height = (font->face->size->metrics.height) >> 6; |