aboutsummaryrefslogtreecommitdiff
path: root/drw.h
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-06-22 07:48:00 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-06-22 07:48:00 +0200
commit20e95d917417e7b86eb602362e4c6d3bb17a0dcb (patch)
tree3e27ce70020c067ad44612c043a590c471209a2a /drw.h
parent3de939e498fa7899fa6cb025ec62be778ad75fcd (diff)
implement new bold drawing method
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h5
1 files changed, 4 insertions, 1 deletions
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 {