| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 132 /* Define this to provide font subsetter for font subsetting when generating |
| 133 PDF documents. | 133 PDF documents. |
| 134 */ | 134 */ |
| 135 #define SK_SFNTLY_SUBSETTER "third_party/sfntly/src/subsetter/font_subsetter.h" | 135 #define SK_SFNTLY_SUBSETTER \ |
| 136 "third_party/sfntly/cpp/src/sample/chromium/font_subsetter.h" |
| 136 | 137 |
| 137 /* Define this to remove dimension checks on bitmaps. Not all blits will be | 138 /* Define this to remove dimension checks on bitmaps. Not all blits will be |
| 138 correct yet, so this is mostly for debugging the implementation. | 139 correct yet, so this is mostly for debugging the implementation. |
| 139 */ | 140 */ |
| 140 //#define SK_ALLOW_OVER_32K_BITMAPS | 141 //#define SK_ALLOW_OVER_32K_BITMAPS |
| 141 | 142 |
| 142 | 143 |
| 143 /* To write debug messages to a console, skia will call SkDebugf(...) following | 144 /* To write debug messages to a console, skia will call SkDebugf(...) following |
| 144 printf conventions (e.g. const char* format, ...). If you want to redirect | 145 printf conventions (e.g. const char* format, ...). If you want to redirect |
| 145 this to something other than printf, define yours here | 146 this to something other than printf, define yours here |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 #endif | 233 #endif |
| 233 | 234 |
| 234 // The default crash macro writes to badbeef which can cause some strange | 235 // The default crash macro writes to badbeef which can cause some strange |
| 235 // problems. Instead, pipe this through to the logging function as a fatal | 236 // problems. Instead, pipe this through to the logging function as a fatal |
| 236 // assertion. | 237 // assertion. |
| 237 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") | 238 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") |
| 238 | 239 |
| 239 // ===== End Chrome-specific definitions ===== | 240 // ===== End Chrome-specific definitions ===== |
| 240 | 241 |
| 241 #endif | 242 #endif |
| OLD | NEW |