diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2006-09-05 14:19:26 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2006-10-31 20:55:37 -0500 |
commit | 25e46ac93539fac9916bb537b5bb1a0f9fea9950 (patch) | |
tree | 42563dd403d3fc75a682ebbd11504180f30c0b60 /src/cairo-ps-surface.c | |
parent | ab1c334c7ea6c93cb9f998c499c2e160346c042f (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.
(cherry picked from d81de15804f210afe9905a4163a5e34ff2be5b5b commit)
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; |