diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-06-22 07:48:00 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-06-22 07:48:00 +0200 |
| commit | 20e95d917417e7b86eb602362e4c6d3bb17a0dcb (patch) | |
| tree | 3e27ce70020c067ad44612c043a590c471209a2a /drw.h | |
| parent | 3de939e498fa7899fa6cb025ec62be778ad75fcd (diff) | |
implement new bold drawing method
Diffstat (limited to 'drw.h')
| -rw-r--r-- | drw.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 { |