summaryrefslogtreecommitdiffstats
path: root/skia/config
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 00:21:20 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 00:21:20 +0000
commit8f87929b97f7e22bdf2c58e65fb24440c726a2d0 (patch)
treebc4d5682558209ec8e334d7eec0e799eacdd0a29 /skia/config
parent636bffade735efe9ea47b32e766596672f780fc5 (diff)
downloadchromium_src-8f87929b97f7e22bdf2c58e65fb24440c726a2d0.zip
chromium_src-8f87929b97f7e22bdf2c58e65fb24440c726a2d0.tar.gz
chromium_src-8f87929b97f7e22bdf2c58e65fb24440c726a2d0.tar.bz2
+ This CL pulls in all the PDF code (i.e. we are now compiling the PDF backend on Chrome).
+ Add a Metafile to contain Skia PDF content. + Add a VectorPlatformDevice for use with the Skia PDF backend. BUG=62889 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80841 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=80857 Review URL: http://codereview.chromium.org/6499024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/config')
-rw-r--r--skia/config/SkUserConfig.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index d9746b7..a96e668 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -113,6 +113,27 @@
*/
//#define SK_USE_RUNTIME_GLOBALS
+/* If zlib is available and you want to support the flate compression
+ algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the
+ include path.
+ */
+//#define SK_ZLIB_INCLUDE <zlib.h>
+#if defined(USE_SYSTEM_ZLIB)
+#define SK_ZLIB_INCLUDE <zlib.h>
+#else
+#define SK_ZLIB_INCLUDE "third_party/zlib/zlib.h"
+#endif
+
+/* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow
+ them, but modern PDF interpreters should handle them just fine.
+ */
+//#define SK_ALLOW_LARGE_PDF_SCALARS
+
+/* Define this to remove dimension checks on bitmaps. Not all blits will be
+ correct yet, so this is mostly for debugging the implementation.
+ */
+//#define SK_ALLOW_OVER_32K_BITMAPS
+
/* To write debug messages to a console, skia will call SkDebugf(...) following
printf conventions (e.g. const char* format, ...). If you want to redirect