OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |