Chromium Code Reviews| Index: include/core/SkTypeface.h |
| diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h |
| index c91fa428faa1a08a8a35e87040243dd20e1aaf14..070a00fb787693ebd8915becafd0100d6685364c 100644 |
| --- a/include/core/SkTypeface.h |
| +++ b/include/core/SkTypeface.h |
| @@ -203,6 +203,14 @@ public: |
| SkStream* openStream(int* ttcIndex) const; |
| SkScalerContext* createScalerContext(const SkDescriptor*) const; |
| + // for proxy |
| + void filterRec(SkScalerContextRec* rec) const { |
|
bungeman-skia
2013/05/29 21:21:14
Do these two want to be public? I shudder at expos
reed1
2013/05/30 16:04:29
I don't know how else to allow one typeface to cal
|
| + this->onFilterRec(rec); |
| + } |
| + void getFontDescriptor(SkFontDescriptor* desc, bool* isLocal) const { |
| + this->onGetFontDescriptor(desc, isLocal); |
| + } |
| + |
| protected: |
| /** uniqueID must be unique and non-zero |
| */ |