diff options
author | David Maxwell <damaxwell@alaska.edu> | 2012-10-11 08:52:36 -0800 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2012-12-22 14:36:38 +1030 |
commit | 4e751fcb031557e6ad720f5bf5f14e181564ab9b (patch) | |
tree | 8b62ac7f04979a25c628dfa5a11dde87cfa3fc84 | |
parent | b94a519aad3d5b50aa6de47ee16ee6a099de9791 (diff) | |
download | cairo-4e751fcb031557e6ad720f5bf5f14e181564ab9b.tar.gz |
type1-subset: always include subroutine 4 (hint replacement idiom)
http://lists.cairographics.org/archives/cairo/2012-December/023846.html
-rw-r--r-- | src/cairo-type1-subset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c index d177fa9e5..e87ed4687 100644 --- a/src/cairo-type1-subset.c +++ b/src/cairo-type1-subset.c @@ -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; } |