mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 19:08:09 +02:00
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.
This commit is contained in:
parent
466d3da4ef
commit
2fafbac390
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue