Searched refs:gDefaultFace (Results 1 – 2 of 2) sorted by relevance
455 static SkTypeface* gDefaultFace; in GetDefaultFace() local457 if (NULL == gDefaultFace) { in GetDefaultFace()458 gDefaultFace = NewFromName(FONT_DEFAULT_NAME, SkTypeface::kNormal); in GetDefaultFace()459 SkTypefaceCache::Add(gDefaultFace, SkTypeface::kNormal); in GetDefaultFace()461 return gDefaultFace; in GetDefaultFace()
487 static SkTypeface* gDefaultFace; in GetDefaultFace() local489 if (NULL == gDefaultFace) { in GetDefaultFace()490 gDefaultFace = NewFromName(FONT_DEFAULT_NAME, SkTypeface::kNormal); in GetDefaultFace()491 SkTypefaceCache::Add(gDefaultFace, SkTypeface::kNormal); in GetDefaultFace()493 return gDefaultFace; in GetDefaultFace()