Commit d0dccb92 authored by Jan Alexander Steffens's avatar Jan Alexander Steffens

image compositor: Remove the right glyph from pixman's cache

We need to use the index including the phase. Otherwise we leave glyphs
in the cache that cause problems later as indices are reused.
parent 52a7c79f
Pipeline #69881 failed with stage
in 3 minutes and 28 seconds
......@@ -841,7 +841,7 @@ _cairo_image_scaled_glyph_fini (cairo_scaled_font_t *scaled_font,
if (global_glyph_cache) {
pixman_glyph_cache_remove (
global_glyph_cache, scaled_font,
(void *)_cairo_scaled_glyph_index (scaled_glyph));
(void *)scaled_glyph->hash_entry.hash);
}
CAIRO_MUTEX_UNLOCK (_cairo_glyph_cache_mutex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment