[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:
Chris Wilson 2008-10-31 02:14:53 +00:00
parent ab15d76275
commit 710f7d30d3

View file

@ -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) {