Return a new reference to the typeface that most closely matches the requested familyName and style. Pass null as the familyName to return the default font for the requested style. Will never return null
|familyName ||May be NULL. The name of the font family. |
|style ||The style (normal, bold, italic) of the typeface. |
- reference to the closest-matching typeface. Call must call unref() when they are done.
Definition at line 30 of file SkTypeface.cpp.
References SkFontHost::CreateTypeface(), and NULL.