[cairo-commit] src/cairo-type1-subset.c
Adrian Johnson
ajohnson at kemper.freedesktop.org
Fri Aug 3 01:55:31 PDT 2012
src/cairo-type1-subset.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 65854a001529932c4f2c85a4ee32095443153319
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Fri Aug 3 18:23:55 2012 +0930
type1 subset: ensure encoding includes all glyphs
Bug 53040
diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c
index e507abe..c19773d 100644
--- a/src/cairo-type1-subset.c
+++ b/src/cairo-type1-subset.c
@@ -518,8 +518,8 @@ cairo_type1_font_subset_write_header (cairo_type1_font_subset_t *font,
}
}
} else {
- for (i = 1; i < font->base.num_glyphs; i++) {
- if (font->glyphs[i].subset_index < 0)
+ for (i = 0; i < font->base.num_glyphs; i++) {
+ if (font->glyphs[i].subset_index <= 0)
continue;
_cairo_output_stream_printf (font->output,
"dup %d /%s put\n",
More information about the cairo-commit
mailing list