diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-17 15:53:03 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-17 15:53:03 +0000 |
| commit | 3c42691e1b2d859d9266e088cc3d76b2c1cb9aaf (patch) | |
| tree | 5dba049216499da00d044e55b879363a1a19178e /render.h | |
| parent | font: load all fallbacks when instantiating a primary font (diff) | |
font: load fallback fonts on demand
When instantiating a primary font, build the fallback font list, but
don't actually instantiate the fallback fonts.
Instead, remember the (full) pattern that we should use if/when we
instantiate it.
Then, when looking up a glyph and we need a fallback font, loop the
list and instantiate the font(s) there and then.
Diffstat (limited to 'render.h')
0 files changed, 0 insertions, 0 deletions
