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

Side by Side Diff: trunk/src/ports/SkFontHost_fontconfig.cpp

Issue 13119021: add dummpy SkFontMgr::Factory() impl to font backends, so we can start testing it (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 years, 8 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 | « trunk/src/ports/SkFontHost_android.cpp ('k') | trunk/src/ports/SkFontHost_linux.cpp » ('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 2008 Google Inc. 2 * Copyright 2008 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkFontConfigInterface.h" 8 #include "SkFontConfigInterface.h"
9 #include "SkFontDescriptor.h" 9 #include "SkFontDescriptor.h"
10 #include "SkFontHost.h" 10 #include "SkFontHost.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 ? SkFontStream::GetTableData(stream, ttcIndex, 215 ? SkFontStream::GetTableData(stream, ttcIndex,
216 tag, offset, length, data) 216 tag, offset, length, data)
217 : 0; 217 : 0;
218 } 218 }
219 219
220 void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc, 220 void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc,
221 bool* isLocalStream) const { 221 bool* isLocalStream) const {
222 desc->setFamilyName(this->getFamilyName()); 222 desc->setFamilyName(this->getFamilyName());
223 *isLocalStream = SkToBool(this->getLocalStream()); 223 *isLocalStream = SkToBool(this->getLocalStream());
224 } 224 }
225
226 ///////////////////////////////////////////////////////////////////////////////
227
228 #include "SkFontMgr.h"
229
230 SkFontMgr* SkFontMgr::Factory() {
231 // todo
232 return NULL;
233 }
OLDNEW
« no previous file with comments | « trunk/src/ports/SkFontHost_android.cpp ('k') | trunk/src/ports/SkFontHost_linux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698