OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 The Android Open Source Project | 2 * Copyright (C) 2006 The Android Open Source Project |
3 * | 3 * |
4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
7 * | 7 * |
8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
9 * | 9 * |
10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 #define SK_ZLIB_INCLUDE <zlib.h> | 122 #define SK_ZLIB_INCLUDE <zlib.h> |
123 #else | 123 #else |
124 #define SK_ZLIB_INCLUDE "third_party/zlib/zlib.h" | 124 #define SK_ZLIB_INCLUDE "third_party/zlib/zlib.h" |
125 #endif | 125 #endif |
126 | 126 |
127 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow | 127 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow |
128 them, but modern PDF interpreters should handle them just fine. | 128 them, but modern PDF interpreters should handle them just fine. |
129 */ | 129 */ |
130 //#define SK_ALLOW_LARGE_PDF_SCALARS | 130 //#define SK_ALLOW_LARGE_PDF_SCALARS |
131 | 131 |
| 132 /* Define this to provide font subsetter for font subsetting when generating |
| 133 PDF documents. |
| 134 */ |
| 135 #define SK_SFNTLY_SUBSETTER "third_party/sfntly/src/subsetter/font_subsetter.h" |
| 136 |
132 /* Define this to remove dimension checks on bitmaps. Not all blits will be | 137 /* Define this to remove dimension checks on bitmaps. Not all blits will be |
133 correct yet, so this is mostly for debugging the implementation. | 138 correct yet, so this is mostly for debugging the implementation. |
134 */ | 139 */ |
135 //#define SK_ALLOW_OVER_32K_BITMAPS | 140 //#define SK_ALLOW_OVER_32K_BITMAPS |
136 | 141 |
137 | 142 |
138 /* To write debug messages to a console, skia will call SkDebugf(...) following | 143 /* To write debug messages to a console, skia will call SkDebugf(...) following |
139 printf conventions (e.g. const char* format, ...). If you want to redirect | 144 printf conventions (e.g. const char* format, ...). If you want to redirect |
140 this to something other than printf, define yours here | 145 this to something other than printf, define yours here |
141 */ | 146 */ |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 #endif | 232 #endif |
228 | 233 |
229 // The default crash macro writes to badbeef which can cause some strange | 234 // The default crash macro writes to badbeef which can cause some strange |
230 // problems. Instead, pipe this through to the logging function as a fatal | 235 // problems. Instead, pipe this through to the logging function as a fatal |
231 // assertion. | 236 // assertion. |
232 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") | 237 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") |
233 | 238 |
234 // ===== End Chrome-specific definitions ===== | 239 // ===== End Chrome-specific definitions ===== |
235 | 240 |
236 #endif | 241 #endif |
OLD | NEW |