inherit from SkTypeface_FreeType to share more code
git-svn-id: http://skia.googlecode.com/svn/trunk@8288 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
5dd45021c3
commit
0fc17c33f1
@ -8,6 +8,7 @@
|
||||
|
||||
|
||||
#include "SkFontHost.h"
|
||||
#include "SkFontHost_FreeType_common.h"
|
||||
#include "SkFontDescriptor.h"
|
||||
#include "SkDescriptor.h"
|
||||
#include "SkOSFile.h"
|
||||
@ -228,7 +229,7 @@ static void remove_from_names(FamilyRec* emptyFamily) {
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class FamilyTypeface : public SkTypeface {
|
||||
class FamilyTypeface : public SkTypeface_FreeType {
|
||||
public:
|
||||
FamilyTypeface(Style style, bool sysFont, FamilyRec* family, bool isFixedWidth)
|
||||
: SkTypeface(style, sk_atomic_inc(&gUniqueFontID) + 1, isFixedWidth) {
|
||||
|
Loading…
Reference in New Issue
Block a user