aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-30 16:04:28 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-30 16:04:28 +0000
commit73b4d5d05ab3d3059017a0d3e2a5c798a241da87 (patch)
treef4d7bc75128f8cf061493467954a1805fedd9a03 /selection.c
parentrender: 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 'selection.c')
0 files changed, 0 insertions, 0 deletions