Rely on libfontconfig to determine our default font
git-svn-id: http://skia.googlecode.com/svn/trunk@7967 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
37ebe3fbf6
commit
358f8ff47e
@ -120,12 +120,6 @@ SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if 1 // HACK, remove me when we can rebaseline skia's gms
|
||||
if (NULL == familyName) {
|
||||
familyName = "Arial";
|
||||
}
|
||||
#endif
|
||||
|
||||
if (familyFace) {
|
||||
FontConfigTypeface* fct = (FontConfigTypeface*)familyFace;
|
||||
familyName = fct->getFamilyName();
|
||||
|
Loading…
Reference in New Issue
Block a user