mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-29 11:30:15 +01:00
The glyph advance cache was only enabled for glyph indices < 256, causing a large number of misses for non-ASCII text. Improve this by simply applying the modulus of the index to select the cache slot - which may cause some glyph advances to be overwritten and re-queried, but improves the hit rate. |
||
|---|---|---|
| .. | ||
| examples | ||
| .gitignore | ||
| cairo-script-file.c | ||
| cairo-script-hash.c | ||
| cairo-script-interpreter.c | ||
| cairo-script-interpreter.h | ||
| cairo-script-objects.c | ||
| cairo-script-operators.c | ||
| cairo-script-private.h | ||
| cairo-script-scanner.c | ||
| cairo-script-stack.c | ||
| COPYING | ||
| csi-exec.c | ||
| csi-replay.c | ||
| Makefile.am | ||