OLD | NEW |
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 Loading... |
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 available and you want to support the flate compression | 110 /* If zlib is not available or you don't want to support flate compression |
111 algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the | 111 in PDF generation, define SK_NO_FLATE. |
112 include path. Alternatively, define SK_SYSTEM_ZLIB to use the system zlib | |
113 library specified as "#include <zlib.h>". | |
114 */ | 112 */ |
115 //#define SK_ZLIB_INCLUDE <zlib.h> | 113 //#define SK_NO_FLATE |
116 //#define SK_SYSTEM_ZLIB | |
117 | 114 |
118 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow | 115 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow |
119 them, but modern PDF interpreters should handle them just fine. | 116 them, but modern PDF interpreters should handle them just fine. |
120 */ | 117 */ |
121 //#define SK_ALLOW_LARGE_PDF_SCALARS | 118 //#define SK_ALLOW_LARGE_PDF_SCALARS |
122 | 119 |
123 /* Define this to provide font subsetter in PDF generation. | 120 /* Define this to provide font subsetter in PDF generation. |
124 */ | 121 */ |
125 //#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h" | 122 //#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h" |
126 | 123 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 /* The PDF generation code uses Path Ops to generate inverse fills and complex | 159 /* The PDF generation code uses Path Ops to generate inverse fills and complex |
163 * clipping paths, but at this time, Path Ops is not release ready yet. So, | 160 * clipping paths, but at this time, Path Ops is not release ready yet. So, |
164 * the code is hidden behind this #define guard. If you are feeling adventurous | 161 * the code is hidden behind this #define guard. If you are feeling adventurous |
165 * and want the latest and greatest PDF generation code, uncomment the #define. | 162 * and want the latest and greatest PDF generation code, uncomment the #define. |
166 * When Path Ops is release ready, the define guards and this user config | 163 * When Path Ops is release ready, the define guards and this user config |
167 * define should be removed entirely. | 164 * define should be removed entirely. |
168 */ | 165 */ |
169 //#define SK_PDF_USE_PATHOPS | 166 //#define SK_PDF_USE_PATHOPS |
170 | 167 |
171 #endif | 168 #endif |
OLD | NEW |