mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 12:48:04 +02:00
type1-subset: always subset subroutines 0-3 (Flex/hint replacement)
http://lists.cairographics.org/archives/cairo/2012-October/023576.html
This commit is contained in:
parent
599e78ea2e
commit
0d5f63755e
1 changed files with 6 additions and 0 deletions
|
|
@ -1309,6 +1309,12 @@ skip_subrs:
|
|||
return status;
|
||||
}
|
||||
|
||||
/* Always include the first four subroutines in case the Flex/hint mechanism is
|
||||
* being used. */
|
||||
for (j = 0; j < MIN(font->num_subrs, 4); j++) {
|
||||
font->subrs[j].used = TRUE;
|
||||
}
|
||||
|
||||
closefile_token = find_token (dict_end, font->cleartext_end, "closefile");
|
||||
if (closefile_token == NULL)
|
||||
return CAIRO_INT_STATUS_UNSUPPORTED;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue