diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-30 16:04:28 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-30 16:04:28 +0000 |
| commit | 73b4d5d05ab3d3059017a0d3e2a5c798a241da87 (patch) | |
| tree | f4d7bc75128f8cf061493467954a1805fedd9a03 /input.h | |
| parent | render: add a 'clean' bit to each cell; only render cells that aren't clean (diff) | |
font: add support for fallback fonts
A top-level font now has a list of fallback fonts. When a glyph cannot
be found, we try each fallback font in turn, until we either find one
that has the glyph, or until we've exhausted the list.
To make this actually work in practise (read: to make performance
acceptable), the cache is re-worked and is now populated on demand.
It also supports non-ASCII characters, by using the 4-byte unicode
character as index instead.
Since having an array that can be indexed by a 4-byte value isn't
really viable, we now have a simple hash table instead of an array.
Diffstat (limited to 'input.h')
0 files changed, 0 insertions, 0 deletions
