diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-02-17 15:09:20 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-02-20 16:54:50 +0100 |
commit | f4defeee497d21a211f83e7a8d2d6c2dcadca607 (patch) | |
tree | d3c9c3c02f4d64f172842423e43fca7c0373bdcf /include | |
parent | 029d5db2c4928a0bb4c357fc4db53aa614eac7f9 (diff) | |
download | mupdf-f4defeee497d21a211f83e7a8d2d6c2dcadca607.tar.xz |
Add no-reuse-images option to SVG device.
Also add explicit viewBox and width/height to image symbol and use
elements, to work around a strange clipping/image scaling issue
with firefox.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/output-svg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mupdf/fitz/output-svg.h b/include/mupdf/fitz/output-svg.h index ebabc42a..16e2102b 100644 --- a/include/mupdf/fitz/output-svg.h +++ b/include/mupdf/fitz/output-svg.h @@ -22,7 +22,9 @@ enum { text_format: How to emit text. One of the following values: FZ_SVG_TEXT_AS_TEXT: As <text> elements with possible layout errors and mismatching fonts. FZ_SVG_TEXT_AS_PATH: As <path> elements with exact visual appearance. + + reuse_images: Share image resources using <symbol> definitions. */ -fz_device *fz_new_svg_device(fz_context *ctx, fz_output *out, float page_width, float page_height, int text_format); +fz_device *fz_new_svg_device(fz_context *ctx, fz_output *out, float page_width, float page_height, int text_format, int reuse_images); #endif |