[cairo-commit] src/cairo-pdf-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Tue Aug 16 06:14:12 PDT 2011


 src/cairo-pdf-surface.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 75b32d6196ae985434a8fbb0fd0ce63da249cf53
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Tue Aug 16 22:42:35 2011 +0930

    pdf: change end of line in pdf output from \r\n to \n

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 89cb044..001e8b8 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"


More information about the cairo-commit mailing list