[VARC] More nuanced caching

This commit is contained in:
Behdad Esfahbod committed 2025-02-24 20:44:15 -07:00
1 parent 74bb7c52f3
commit 6938ee0342
1 file changed
+1 -3
+1 -3
View File
@@ -381,9 +381,7 @@ VARC::get_path_at (hb_font_t *font,
hb_ubytes_t record = (this+glyphRecords)[idx];
VarRegionList::cache_t *cache = record.length >= 64 ? // Heuristic
(this+varStore).create_cache ()
: nullptr;
VarRegionList::cache_t *cache = coords ? (this+varStore).create_cache () : nullptr;
transform.scale (font->x_multf, font->y_multf);