Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: include/config/SkUserConfig.h

Issue 1041183002: SkPDF: remove SK_NO_FLATE & dead code in SkPDFStream (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-03-30 (Monday) 12:19:51 EDT Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/core/SkFlate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkUserConfig_DEFINED 10 #ifndef SkUserConfig_DEFINED
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 */ 100 */
101 //#define SK_DEFAULT_FONT_CACHE_LIMIT (1024 * 1024) 101 //#define SK_DEFAULT_FONT_CACHE_LIMIT (1024 * 1024)
102 102
103 /* 103 /*
104 * To specify the default size of the image cache, undefine this and set it to 104 * To specify the default size of the image cache, undefine this and set it to
105 * the desired value (in bytes). SkGraphics.h as a runtime API to set this 105 * the desired value (in bytes). SkGraphics.h as a runtime API to set this
106 * value as well. If this is undefined, a built-in value will be used. 106 * value as well. If this is undefined, a built-in value will be used.
107 */ 107 */
108 //#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024) 108 //#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024)
109 109
110 /* If zlib is not available or you don't want to support flate compression
111 in PDF generation, define SK_NO_FLATE.
112 */
113 //#define SK_NO_FLATE
114
115 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow 110 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow
116 them, but modern PDF interpreters should handle them just fine. 111 them, but modern PDF interpreters should handle them just fine.
117 */ 112 */
118 //#define SK_ALLOW_LARGE_PDF_SCALARS 113 //#define SK_ALLOW_LARGE_PDF_SCALARS
119 114
120 /* Define this to provide font subsetter in PDF generation. 115 /* Define this to provide font subsetter in PDF generation.
121 */ 116 */
122 //#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h" 117 //#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h"
123 118
124 /* Define this to set the upper limit for text to support LCD. Values that 119 /* Define this to set the upper limit for text to support LCD. Values that
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 /* The PDF generation code uses Path Ops to generate inverse fills and complex 154 /* The PDF generation code uses Path Ops to generate inverse fills and complex
160 * clipping paths, but at this time, Path Ops is not release ready yet. So, 155 * clipping paths, but at this time, Path Ops is not release ready yet. So,
161 * the code is hidden behind this #define guard. If you are feeling adventurous 156 * the code is hidden behind this #define guard. If you are feeling adventurous
162 * and want the latest and greatest PDF generation code, uncomment the #define. 157 * and want the latest and greatest PDF generation code, uncomment the #define.
163 * When Path Ops is release ready, the define guards and this user config 158 * When Path Ops is release ready, the define guards and this user config
164 * define should be removed entirely. 159 * define should be removed entirely.
165 */ 160 */
166 //#define SK_PDF_USE_PATHOPS 161 //#define SK_PDF_USE_PATHOPS
167 162
168 #endif 163 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkFlate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698