summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-surface.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2011-08-16 22:42:35 +0930
committerAdrian Johnson <ajohnson@redneon.com>2011-08-16 22:42:35 +0930
commit75b32d6196ae985434a8fbb0fd0ce63da249cf53 (patch)
treef0b4b425e8e117c5d50c38938d0a338d6550a76d /src/cairo-pdf-surface.c
parentc715d52af547741f5e57182331ccd566efcd8835 (diff)
pdf: change end of line in pdf output from \r\n to \n
Diffstat (limited to 'src/cairo-pdf-surface.c')
-rw-r--r--src/cairo-pdf-surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 89cb044af..001e8b80f 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -4224,7 +4224,7 @@ _cairo_pdf_surface_emit_cff_font (cairo_pdf_surface_t *surface,
last_glyph = i;
_cairo_pdf_surface_update_object (surface, subset_resource);
_cairo_output_stream_printf (surface->output,
- "%d 0 obj\r\n"
+ "%d 0 obj\n"
"<< /Type /Font\n"
" /Subtype /Type1\n"
" /BaseFont /%s+%s\n"
@@ -4663,7 +4663,7 @@ _cairo_pdf_surface_emit_truetype_font_subset (cairo_pdf_surface_t *surface,
last_glyph = i;
_cairo_pdf_surface_update_object (surface, subset_resource);
_cairo_output_stream_printf (surface->output,
- "%d 0 obj\r\n"
+ "%d 0 obj\n"
"<< /Type /Font\n"
" /Subtype /TrueType\n"
" /BaseFont /%s+%s\n"