mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 05:18:01 +02:00
TrueType: Remove assert
If the status is UNSUPPORTED we should let type1-fallback subset it.
This commit is contained in:
parent
6192001816
commit
7dbb2dec33
1 changed files with 2 additions and 1 deletions
|
|
@ -1085,7 +1085,8 @@ _cairo_truetype_subset_init (cairo_truetype_subset_t *truetype_subset,
|
|||
for (i = 0; i < font->scaled_font_subset->num_glyphs; i++) {
|
||||
unsigned short parent_glyph = font->scaled_font_subset->glyphs[i];
|
||||
status = cairo_truetype_font_use_glyph (font, parent_glyph, &parent_glyph);
|
||||
assert (status == CAIRO_STATUS_SUCCESS);
|
||||
if (status)
|
||||
goto fail1;
|
||||
}
|
||||
|
||||
cairo_truetype_font_create_truetype_table_list (font);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue