Index: trunk/include/ports/SkFontConfigInterface.h |
=================================================================== |
--- trunk/include/ports/SkFontConfigInterface.h (revision 8444) |
+++ trunk/include/ports/SkFontConfigInterface.h (working copy) |
@@ -81,6 +81,20 @@ |
* 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) |
+ |
+ struct Style { |
bungeman-skia
2013/03/29 19:40:36
Should the style also contain a FontIdentity? Then
reed1
2013/03/29 20:11:58
Done via matchFamilyStyle()
|
+ int fWeight; |
+ int fWidth; |
+ int fSlant; |
+ }; |
+ |
+ virtual int countFamilies(); |
+ virtual int getFamilySet(int index, SkString* outFamilyName, |
+ Style style[], int maxCount); |
+ virtual int matchFamilySet(const char familyName[], SkString* outFamilyName, |
+ Style styles[], int maxCount); |
}; |
#endif |