forked from external/yambar
This enables support for text shaping, and is required to render
e.g. 👩👩👧👧 correctly.
Since text-shaping is a fairly expensive operation, and since many
times the text is unchanged, we cache the last *rendered* string.
That is, we hash the instantiated string, and cache it along with the
text-run from fcft in the *particle* object (i.e. not the exposable).
This means two things:
* we only need to call fcft_text_run_rasterize() once per string
* if the string is the same as last time, we don’t have to call it at
all.
|
||
---|---|---|
.. | ||
dynlist.c | ||
dynlist.h | ||
empty.c | ||
list.c | ||
map.c | ||
meson.build | ||
progress-bar.c | ||
ramp.c | ||
string.c |