Index: trunk/include/ports/SkFontConfigInterface.h |
=================================================================== |
--- trunk/include/ports/SkFontConfigInterface.h (revision 8565) |
+++ trunk/include/ports/SkFontConfigInterface.h (working copy) |
@@ -8,6 +8,7 @@ |
#ifndef SkFontConfigInterface_DEFINED |
#define SkFontConfigInterface_DEFINED |
+#include "SkFontStyle.h" |
#include "SkRefCnt.h" |
#include "SkTypeface.h" |
@@ -50,6 +51,7 @@ |
uint32_t fID; |
int32_t fTTCIndex; |
SkString fString; |
+ SkFontStyle fStyle; |
}; |
/** |
@@ -81,6 +83,14 @@ |
* libfontconfig. This does not affect the refcnt of the returned instance. |
*/ |
static SkFontConfigInterface* GetSingletonDirectInterface(); |
+ |
+ // New APIS, which have default impls for now (which do nothing) |
+ |
+ virtual int countFamilies(); |
+ virtual int getFamilySet(int index, SkString* outFamilyName, |
+ FontIdentity outIdentities[], int maxCount); |
+ virtual int matchFamilySet(const char familyName[], SkString* outFamilyName, |
+ FontIdentity outIdentities[], int maxCount); |
}; |
#endif |