From 2fafbac390f13c8c47464defc8c30e705be98bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 18 May 2006 02:24:02 -0400 Subject: [PATCH] Use RD and ND for delimiting glyph data instead of -| and |-. We probably should figure out from the private dictionary which of the two pairs the font defines and uses, but I don't actually have fonts that use -| and |-, so for now for flip the default. --- src/cairo-type1-subset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c index 709a8ffbe..4421fba6a 100644 --- a/src/cairo-type1-subset.c +++ b/src/cairo-type1-subset.c @@ -634,11 +634,11 @@ write_used_glyphs (cairo_type1_font_subset_t *font, int length; length = snprintf (buffer, sizeof buffer, - "/%.*s %d -| ", name_length, name, charstring_length); + "/%.*s %d RD ", name_length, name, charstring_length); cairo_type1_font_subset_write_encrypted (font, buffer, length); cairo_type1_font_subset_write_encrypted (font, charstring, charstring_length); - cairo_type1_font_subset_write_encrypted (font, " |-\n", 4); + cairo_type1_font_subset_write_encrypted (font, "ND\n", 4); } typedef void (*glyph_func_t) (cairo_type1_font_subset_t *font,