summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cairo-type1-subset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c
index bbff33d9..a0616e3e 100644
--- a/src/cairo-type1-subset.c
+++ b/src/cairo-type1-subset.c
@@ -1100,7 +1100,8 @@ cairo_type1_font_subset_write_private_dict (cairo_type1_font_subset_t *font,
if (status)
return status;
- _cairo_output_stream_write (font->output, "\n", 1);
+ if (font->hex_encode)
+ _cairo_output_stream_write (font->output, "\n", 1);
return CAIRO_STATUS_SUCCESS;
}