[cairo-commit] src/cairo-truetype-subset.c
Adrian Johnson
ajohnson at kemper.freedesktop.org
Sat Apr 4 19:02:42 PDT 2009
src/cairo-truetype-subset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1798fc6607a89811929d1f21cc71c751438f5699
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Sun Apr 5 11:17:02 2009 +0930
Fix the TrueType subsetting fix in 9b496af5c
Oops.
diff --git a/src/cairo-truetype-subset.c b/src/cairo-truetype-subset.c
index 59be905..b3de972 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);
More information about the cairo-commit
mailing list