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

Side by Side Diff: src/ports/SkFontHost_FreeType_common.h

Issue 21716005: Add getFamilyNames to SkTypeface. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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 | « src/ports/SkFontHost_FreeType.cpp ('k') | src/ports/SkFontHost_mac.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 2006-2012 The Android Open Source Project 2 * Copyright 2006-2012 The Android Open Source Project
3 * Copyright 2012 Mozilla Foundation 3 * Copyright 2012 Mozilla Foundation
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SKFONTHOST_FREETYPE_COMMON_H_ 9 #ifndef SKFONTHOST_FREETYPE_COMMON_H_
10 #define SKFONTHOST_FREETYPE_COMMON_H_ 10 #define SKFONTHOST_FREETYPE_COMMON_H_
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual void onFilterRec(SkScalerContextRec*) const SK_OVERRIDE; 57 virtual void onFilterRec(SkScalerContextRec*) const SK_OVERRIDE;
58 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( 58 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
59 SkAdvancedTypefaceMetrics::PerGlyphInfo, 59 SkAdvancedTypefaceMetrics::PerGlyphInfo,
60 const uint32_t*, uint32_t) const SK_OVERRIDE; 60 const uint32_t*, uint32_t) const SK_OVERRIDE;
61 virtual int onGetUPEM() const SK_OVERRIDE; 61 virtual int onGetUPEM() const SK_OVERRIDE;
62 62
63 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[], 63 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
64 int glyphCount) const SK_OVERRIDE; 64 int glyphCount) const SK_OVERRIDE;
65 virtual int onCountGlyphs() const SK_OVERRIDE; 65 virtual int onCountGlyphs() const SK_OVERRIDE;
66 66
67 virtual LocalizedStrings* onGetFamilyNames() const SK_OVERRIDE; 67 virtual LocalizedStrings* onCreateFamilyNameIterator() const SK_OVERRIDE;
68 68
69 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; 69 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE;
70 virtual size_t onGetTableData(SkFontTableTag, size_t offset, 70 virtual size_t onGetTableData(SkFontTableTag, size_t offset,
71 size_t length, void* data) const SK_OVERRIDE; 71 size_t length, void* data) const SK_OVERRIDE;
72 72
73 private: 73 private:
74 mutable int fGlyphCount; 74 mutable int fGlyphCount;
75 75
76 typedef SkTypeface INHERITED; 76 typedef SkTypeface INHERITED;
77 }; 77 };
78 78
79 #endif // SKFONTHOST_FREETYPE_COMMON_H_ 79 #endif // SKFONTHOST_FREETYPE_COMMON_H_
OLDNEW
« no previous file with comments | « src/ports/SkFontHost_FreeType.cpp ('k') | src/ports/SkFontHost_mac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698