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

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

Issue 8921027: Push subsetter code upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update path to make build system happy Created 9 years 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 | Annotate | Revision Log
« DEPS ('K') | « DEPS ('k') | third_party/sfntly/sfntly.gyp » ('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 * 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
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
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
OLDNEW
« DEPS ('K') | « DEPS ('k') | third_party/sfntly/sfntly.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698