diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2009-04-05 01:04:12 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2009-04-05 01:09:32 +1030 |
commit | fe97e815e81f4429889fd52bb525c260f9967356 (patch) | |
tree | c5340b06859a4b0158566e9a8e4e2be0388fe764 /src/cairo-truetype-subset-private.h | |
parent | 9b496af5c214283c297a52c90a04743f9da9f6a3 (diff) | |
download | cairo-fe97e815e81f4429889fd52bb525c260f9967356.tar.gz |
Fix TrueType subsetting bug
Fix incorrect counting of arguments in composite glyphs
Diffstat (limited to 'src/cairo-truetype-subset-private.h')
-rw-r--r-- | src/cairo-truetype-subset-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-truetype-subset-private.h b/src/cairo-truetype-subset-private.h index 397a9f389..978256f6b 100644 --- a/src/cairo-truetype-subset-private.h +++ b/src/cairo-truetype-subset-private.h @@ -185,7 +185,7 @@ typedef struct _tt_name { typedef struct _tt_composite_glyph { uint16_t flags; uint16_t index; - uint16_t args[7]; /* 1 to 7 arguments depending on value of flags */ + uint16_t args[6]; /* 1 to 6 arguments depending on value of flags */ } tt_composite_glyph_t; typedef struct _tt_glyph_data { |