summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Maxwell <damaxwell@alaska.edu>2012-10-02 16:16:28 -0800
committerAdrian Johnson <ajohnson@redneon.com>2012-10-07 16:22:13 +1030
commitcffbdf50ce0117d62d6e157369c60e4a8572fd21 (patch)
tree82141c8304300f00989c46a8d23162470031a07d
parente29bb5f295d055068a24b629fa1bd5f06a93431b (diff)
type1: buildchar stack fix
http://lists.cairographics.org/archives/cairo/2012-October/023557.html
-rw-r--r--src/cairo-type1-subset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c
index c19773d70..46b937c39 100644
--- a/src/cairo-type1-subset.c
+++ b/src/cairo-type1-subset.c
@@ -778,6 +778,7 @@ cairo_type1_font_subset_parse_charstring (cairo_type1_font_subset_t *font,
font->build_stack.top_value < font->num_subrs)
{
subr_num = font->build_stack.top_value;
+ font->build_stack.sp--;
font->subrs[subr_num].used = TRUE;
last_op_was_integer = FALSE;
status = cairo_type1_font_subset_parse_charstring (font,