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:
reed@google.com 2013-03-04 20:27:58 +00:00
parent 37ebe3fbf6
commit 358f8ff47e

View File

@ -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();