From 20e95d917417e7b86eb602362e4c6d3bb17a0dcb Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Thu, 22 Jun 2023 07:48:00 +0200 Subject: implement new bold drawing method --- drw.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drw.h') diff --git a/drw.h b/drw.h index 0885fe2..07dbfa2 100644 --- a/drw.h +++ b/drw.h @@ -33,7 +33,10 @@ typedef struct { FT_Library library; FT_Face face; FT_Stroker stroke; - FT_BitmapGlyph cache[CACHE_SIZE]; + struct { + FT_BitmapGlyph normal[CACHE_SIZE]; + FT_BitmapGlyph bold[CACHE_SIZE]; + } cache; } Font; enum FontType { -- cgit v1.2.3-70-g09d2