summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2009-10-02 23:11:54 +0930
committerAdrian Johnson <ajohnson@redneon.com>2009-10-02 23:11:54 +0930
commit91a4f59f135dd42a28e14be55d1f08712c0c3097 (patch)
tree42a11fde1a48e6458a3527b84cb29ed07a88a193
parent39284159234d5318c90fa3a72178cd3d14fe0fbb (diff)
PDF: Fix regression caused by 1ae5a419
Bug 24240 first char missing when printing a PDF.
-rw-r--r--src/cairo-scaled-font-subsets.c2
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);