diff options
-rw-r--r-- | src/cairo-scaled-font-subsets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-scaled-font-subsets.c b/src/cairo-scaled-font-subsets.c index 6eb31288..05478295 100644 --- a/src/cairo-scaled-font-subsets.c +++ b/src/cairo-scaled-font-subsets.c @@ -294,7 +294,7 @@ _cairo_sub_font_create (cairo_scaled_font_subsets_t *parent, /* Reserve first glyph in subset for the .notdef glyph except for * Type 3 fonts */ - if (! scaled_font) { + if (! is_scaled) { status = _cairo_sub_font_map_glyph (sub_font, 0, NULL, -1, &subset_glyph); if (unlikely (status)) { _cairo_hash_table_destroy (sub_font->sub_font_glyphs); |