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

Side by Side Diff: skia/ext/SkFontHost_fontconfig.cpp

Issue 7003144: roll skia, along with API change to SkFontHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* libs/graphics/ports/SkFontHost_fontconfig.cpp 1 /* libs/graphics/ports/SkFontHost_fontconfig.cpp
2 ** 2 **
3 ** Copyright 2008, Google Inc. 3 ** Copyright 2008, Google Inc.
4 ** 4 **
5 ** Licensed under the Apache License, Version 2.0 (the "License"); 5 ** Licensed under the Apache License, Version 2.0 (the "License");
6 ** you may not use this file except in compliance with the License. 6 ** you may not use this file except in compliance with the License.
7 ** You may obtain a copy of the License at 7 ** You may obtain a copy of the License at
8 ** 8 **
9 ** http://www.apache.org/licenses/LICENSE-2.0 9 ** http://www.apache.org/licenses/LICENSE-2.0
10 ** 10 **
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 void SkFontHost::Serialize(const SkTypeface*, SkWStream*) { 224 void SkFontHost::Serialize(const SkTypeface*, SkWStream*) {
225 SkASSERT(!"SkFontHost::Serialize unimplemented"); 225 SkASSERT(!"SkFontHost::Serialize unimplemented");
226 } 226 }
227 227
228 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { 228 SkTypeface* SkFontHost::Deserialize(SkStream* stream) {
229 SkASSERT(!"SkFontHost::Deserialize unimplemented"); 229 SkASSERT(!"SkFontHost::Deserialize unimplemented");
230 return NULL; 230 return NULL;
231 } 231 }
232 232
233 // static 233 // static
234 uint32_t SkFontHost::NextLogicalFont(SkFontID fontID) { 234 uint32_t SkFontHost::NextLogicalFont(SkFontID curr, SkFontID orig) {
235 // We don't handle font fallback, WebKit does. 235 // We don't handle font fallback, WebKit does.
236 return 0; 236 return 0;
237 } 237 }
238 238
239 /////////////////////////////////////////////////////////////////////////////// 239 ///////////////////////////////////////////////////////////////////////////////
240 240
241 class SkFileDescriptorStream : public SkStream { 241 class SkFileDescriptorStream : public SkStream {
242 public: 242 public:
243 SkFileDescriptorStream(int fd) { 243 SkFileDescriptorStream(int fd) {
244 memory_ = NULL; 244 memory_ = NULL;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 if (!path) 351 if (!path)
352 return 1; 352 return 1;
353 } 353 }
354 354
355 if (path) 355 if (path)
356 SkASSERT(!"SkFontHost::GetFileName does not support the font path " 356 SkASSERT(!"SkFontHost::GetFileName does not support the font path "
357 "retrieval."); 357 "retrieval.");
358 358
359 return 0; 359 return 0;
360 } 360 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698