aboutsummaryrefslogtreecommitdiff
path: root/tokenize.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-17 15:43:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-17 15:43:40 +0000
commite218e19ea3f47b69b985ce997fa5dba80ae78e9b (patch)
treea15ebbd429bbbf6c7f66574040f9ac26ab416541 /tokenize.c
parentfont: rename cache -> glyph_cache (diff)
font: load all fallbacks when instantiating a primary font
The caching of fallback fonts didn't work. It "worked" because we didn't free the fonts... When we started doing that, the fallback fonts were no longer cached. Another solution would have been to keep the cached fallback fonts around until exit, and free them there. But that didn't seem very clean. So, for now, load *all* fallbacks when instantiating a primary (non-fallback) font. Note that this slows down initial startup time.
Diffstat (limited to 'tokenize.c')
0 files changed, 0 insertions, 0 deletions