summaryrefslogtreecommitdiff
path: root/src/cairo-type3-glyph-surface-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2014-10-31 19:06:42 +1030
committerAdrian Johnson <ajohnson@redneon.com>2014-10-31 19:26:05 +1030
commite4b78424ac82588bcb9b855d5b6d5872050d33f9 (patch)
tree83c1c4ea0a927524cf29675e1d5add7d9aff95a7 /src/cairo-type3-glyph-surface-private.h
parentb4e218c3e8402e149115a59406796b751118237f (diff)
downloadcairo-e4b78424ac82588bcb9b855d5b6d5872050d33f9.tar.gz
pdf-operators: only wrap text strings for PS output
since the PS Document Structing Conventions impose a 255 character line limit. PDF does not require wrapping. pdf-operators is designed to emit the same output for PS and PDF. Unfortunately some PDF interpreters don't like strings split with '\\\n' and some PS interpreters don't like strings split with ')('. So we are forced to make pdf-operators handling string wrapping differently for PDF and PS. Bug 85662
Diffstat (limited to 'src/cairo-type3-glyph-surface-private.h')
-rw-r--r--src/cairo-type3-glyph-surface-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-type3-glyph-surface-private.h b/src/cairo-type3-glyph-surface-private.h
index 6cd37de5c..6f40f1c25 100644
--- a/src/cairo-type3-glyph-surface-private.h
+++ b/src/cairo-type3-glyph-surface-private.h
@@ -65,7 +65,8 @@ cairo_private cairo_surface_t *
_cairo_type3_glyph_surface_create (cairo_scaled_font_t *scaled_font,
cairo_output_stream_t *stream,
cairo_type3_glyph_surface_emit_image_t emit_image,
- cairo_scaled_font_subsets_t *font_subsets);
+ cairo_scaled_font_subsets_t *font_subsets,
+ cairo_bool_t ps_output);
cairo_private void
_cairo_type3_glyph_surface_set_font_subsets_callback (void *abstract_surface,