aboutsummaryrefslogtreecommitdiff
path: root/drw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drw.h b/drw.h
index af07d50..8417e15 100644
--- a/drw.h
+++ b/drw.h
@@ -24,6 +24,7 @@ typedef struct {
int loaded;
FT_Library library;
FT_Face face;
+ FT_Stroker stroke;
} Font;
enum FontType {
@@ -72,6 +73,5 @@ FontCache *create_font_cache(FontPath *fontpath, int size, unsigned fontsize);
void font_cache_generate_box(FontCache *fontcache);
void free_font_cache(FontCache *fontcache);
unsigned draw_char(Canvas *canvas, FontCache *fontcache, uint_least32_t charcode, unsigned x, unsigned y, uint32_t color);
-unsigned font_width(FontCache *fontcache, const char *text);
#endif