PDF: Fix regression caused by 1ae5a419

Bug 24240 first char missing when printing a PDF.
This commit is contained in:
Adrian Johnson 2009-10-02 23:11:54 +09:30
parent 3928415923
commit 91a4f59f13

View file

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