mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 23:28:07 +02:00
pdf: change end of line in pdf output from \r\n to \n
This commit is contained in:
parent
c715d52af5
commit
75b32d6196
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue