summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2009-07-28 22:34:42 +0930
committerAdrian Johnson <ajohnson@redneon.com>2009-07-28 22:34:42 +0930
commit922b1fe8e380ceba0630935460ce758ef660df75 (patch)
tree2052c9faa7744ff3e68b64829f72f99e2bcb3afd /src
parent5440055fc0329c726d324984cd2fdf07badc7e0f (diff)
Ensure Type 3 fonts do not use the name .notdef in the PS encoding
Diffstat (limited to 'src')
-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 bbaa2e0ef..6eb312889 100644
--- a/src/cairo-scaled-font-subsets.c
+++ b/src/cairo-scaled-font-subsets.c
@@ -1009,7 +1009,7 @@ _cairo_scaled_font_subset_create_glyph_names (cairo_scaled_font_subset_t *subset
}
i = 0;
- if (! _cairo_font_face_is_user (subset->scaled_font->font_face)) {
+ if (! subset->is_scaled) {
subset->glyph_names[0] = strdup (".notdef");
if (unlikely (subset->glyph_names[0] == NULL)) {
status = _cairo_error (CAIRO_STATUS_NO_MEMORY);