mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 22:18:29 +02:00
Ensure Type 3 fonts do not use the name .notdef in the PS encoding
This commit is contained in:
parent
5440055fc0
commit
922b1fe8e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue