mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 09:08:16 +02:00
[scaled-font] Fix typo that prevented meta_surface lookup.
test/text-glyph-range was crashing since we requested the meta_surface but the glyph wrongly believed it already had the meta_surface but was checking for a path instead.
This commit is contained in:
parent
ab15d76275
commit
710f7d30d3
1 changed files with 1 additions and 1 deletions
|
|
@ -2399,7 +2399,7 @@ _cairo_scaled_glyph_lookup (cairo_scaled_font_t *scaled_font,
|
|||
need_info |= CAIRO_SCALED_GLYPH_INFO_PATH;
|
||||
|
||||
if (((info & CAIRO_SCALED_GLYPH_INFO_META_SURFACE) != 0 &&
|
||||
scaled_glyph->path == NULL))
|
||||
scaled_glyph->meta_surface == NULL))
|
||||
need_info |= CAIRO_SCALED_GLYPH_INFO_META_SURFACE;
|
||||
|
||||
if (need_info) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue