diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2009-04-05 11:17:02 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2009-04-05 11:17:02 +0930 |
commit | 1798fc6607a89811929d1f21cc71c751438f5699 (patch) | |
tree | 6c09f923eebf9c63fdceaddf6eaa1f76f5a58dbf /src/cairo-truetype-subset.c | |
parent | fe97e815e81f4429889fd52bb525c260f9967356 (diff) | |
download | cairo-1798fc6607a89811929d1f21cc71c751438f5699.tar.gz |
Fix the TrueType subsetting fix in 9b496af5c
Oops.
Diffstat (limited to 'src/cairo-truetype-subset.c')
-rw-r--r-- | src/cairo-truetype-subset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-truetype-subset.c b/src/cairo-truetype-subset.c index 59be90551..b3de972a9 100644 --- a/src/cairo-truetype-subset.c +++ b/src/cairo-truetype-subset.c @@ -495,7 +495,7 @@ cairo_truetype_font_remap_composite_glyph (cairo_truetype_font_t *font, composite_glyph = &glyph_data->glyph; do { - if ((unsigned char *)(&composite_glyph->args[0]) >= end) + if ((unsigned char *)(&composite_glyph->args[1]) > end) return CAIRO_INT_STATUS_UNSUPPORTED; flags = be16_to_cpu (composite_glyph->flags); |