mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 12:18:01 +02:00
PDF: Fix regression caused by 1ae5a419
Bug 24240 first char missing when printing a PDF.
This commit is contained in:
parent
3928415923
commit
91a4f59f13
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue