mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04:00
font: populate glyph cache (ASCII characters only) when instantiating font
This commit is contained in:
parent
9e57ba2108
commit
fe882bddba
5 changed files with 44 additions and 82 deletions
|
|
@ -223,6 +223,8 @@ struct font {
|
|||
double position;
|
||||
double thickness;
|
||||
} strikeout;
|
||||
|
||||
struct glyph cache[256];
|
||||
};
|
||||
|
||||
enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BAR };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue