type1-subset: always include subroutine 4 (hint replacement idiom)

http://lists.cairographics.org/archives/cairo/2012-December/023846.html
This commit is contained in:
David Maxwell 2012-10-11 08:52:36 -08:00 committed by Adrian Johnson
parent b94a519aad
commit 4e751fcb03

View file

@ -1399,9 +1399,9 @@ skip_subrs:
return status;
}
/* Always include the first four subroutines in case the Flex/hint mechanism is
/* Always include the first five subroutines in case the Flex/hint mechanism is
* being used. */
for (j = 0; j < MIN(font->num_subrs, 4); j++) {
for (j = 0; j < MIN (font->num_subrs, 5); j++) {
font->subrs[j].used = TRUE;
}