diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2006-09-05 14:19:26 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2006-09-05 14:19:26 -0400 |
commit | d81de15804f210afe9905a4163a5e34ff2be5b5b (patch) | |
tree | 5d97ac91bf1b668d7a9a221c586fcc099457bc8b /src/cairo-ps-surface.c | |
parent | e5a9c2330867ae11befa8a966aa0a50c31c82a32 (diff) |
Fix Type 1 embedding in PDF
PDF Files with Type 1 fonts fail to open in any version of
ghostscript prior to 8.54. The problem is the hex encoding of the
encrypted portion of the font. The PDF reference says this should
only be in binary.
Diffstat (limited to 'src/cairo-ps-surface.c')
-rw-r--r-- | src/cairo-ps-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index 6ae3a3892..019a53dd4 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -399,7 +399,7 @@ _cairo_ps_surface_emit_type1_font_subset (cairo_ps_surface_t *surface, snprintf (name, sizeof name, "CairoFont-%d-%d", font_subset->font_id, font_subset->subset_id); - status = _cairo_type1_subset_init (&subset, name, font_subset); + status = _cairo_type1_subset_init (&subset, name, font_subset, TRUE); if (status) return status; |