| Index: include/ports/SkFontMgr.h
|
| diff --git a/include/ports/SkFontMgr.h b/include/ports/SkFontMgr.h
|
| index 48a0494a7a9d3d574ddc6f287e9a15272c46cbad..4dde920085cb7da8dba2e860dba7d45550aab230 100644
|
| --- a/include/ports/SkFontMgr.h
|
| +++ b/include/ports/SkFontMgr.h
|
| @@ -12,7 +12,6 @@
|
| #include "SkFontStyle.h"
|
|
|
| class SkData;
|
| -class SkFontData;
|
| class SkStreamAsset;
|
| class SkString;
|
| class SkTypeface;
|
| @@ -96,14 +95,6 @@
|
| SkTypeface* createFromStream(SkStreamAsset*, int ttcIndex = 0) const;
|
|
|
| /**
|
| - * Create a typeface from the specified font data.
|
| - * Takes ownership of the font data, so the caller should not reference it again.
|
| - * Will return NULL if the typeface could not be created.
|
| - * The caller must call unref() on the returned object if it is not null.
|
| - */
|
| - SkTypeface* createFromFontData(SkFontData*) const;
|
| -
|
| - /**
|
| * Create a typeface for the specified fileName and TTC index
|
| * (pass 0 for none) or NULL if the file is not found, or its contents are
|
| * not recognized. The caller must call unref() on the returned object
|
| @@ -138,8 +129,6 @@
|
|
|
| virtual SkTypeface* onCreateFromData(SkData*, int ttcIndex) const = 0;
|
| virtual SkTypeface* onCreateFromStream(SkStreamAsset*, int ttcIndex) const = 0;
|
| - // TODO: make pure virtual.
|
| - virtual SkTypeface* onCreateFromFontData(SkFontData*) const;
|
| virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const = 0;
|
|
|
| virtual SkTypeface* onLegacyCreateTypeface(const char familyName[],
|
|
|