diff options
author | robertphillips <robertphillips@google.com> | 2015-05-15 11:30:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-15 11:30:41 -0700 |
commit | 465706820d0d373f76ab4831c286115ee0d86b7a (patch) | |
tree | f9fc8bd24b4e517292b7d6eedc9d17863acce670 /include/core | |
parent | daa57bfd4204f5a7d304c580bcf5ad99d0121e1f (diff) |
Revert of Font variations. (patchset #26 id:500001 of https://codereview.chromium.org/1027373002/)
Reason for revert:
Appears to be breaking Linux ARM bots:
FAILED:
/usr/local/google/home/mosaic-role/slave/repo_clients/chromium_tot/chromium/src/../../prebuilt/toolchain/armv7a/bin/armv7a-cros-linux-gnueabi-g++
... -o obj/third_party/skia/src/ports/skia_library.SkFontHost_FreeType.o
../../third_party/skia/src/ports/SkFontHost_FreeType.cpp:37:31: fatal error:
freetype/ftmm.h: No such file or directory
#include FT_MULTIPLE_MASTERS_H
^
compilation terminated.
Original issue's description:
> Font variations.
>
> Multiple Master and TrueType fonts support variation axes.
> This implements back-end support for axes on platforms which
> support it.
>
> Committed: https://skia.googlesource.com/skia/+/05773ed30920c0214d1433c07cf6360a05476c97
>
> Committed: https://skia.googlesource.com/skia/+/3489ee0f4fa34f124f9de090d12bdc2107d52aa9
TBR=reed@google.com,mtklein@google.com,djsollen@google.com,halcanary@google.com,bungeman@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/1139123008
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkTypeface.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h index f0059deb25..7d8b892f2c 100644 --- a/include/core/SkTypeface.h +++ b/include/core/SkTypeface.h @@ -17,7 +17,6 @@ #include "SkWeakRefCnt.h" class SkDescriptor; -class SkFontData; class SkFontDescriptor; class SkScalerContext; struct SkScalerContextRec; @@ -135,12 +134,6 @@ public: */ static SkTypeface* CreateFromStream(SkStreamAsset* stream, int index = 0); - /** Return a new typeface given font data and configuration. If the data - is not valid font data, returns null. Ownership of the font data is - transferred, so the caller must not reference it again. - */ - static SkTypeface* CreateFromFontData(SkFontData*); - /** Write a unique signature to a stream, sufficient to reconstruct a typeface referencing the same font when Deserialize is called. */ @@ -291,12 +284,6 @@ public: SkStreamAsset* openStream(int* ttcIndex) const; /** - * Return the font data, or NULL on failure. - * The caller is responsible for deleting the font data. - */ - SkFontData* createFontData() const; - - /** * Return a scalercontext for the given descriptor. If this fails, then * if allowFailure is true, this returns NULL, else it returns a * dummy scalercontext that will not crash, but will draw nothing. @@ -350,9 +337,6 @@ protected: uint32_t glyphIDsCount) const = 0; virtual SkStreamAsset* onOpenStream(int* ttcIndex) const = 0; - // TODO: make pure virtual. - virtual SkFontData* onCreateFontData() const; - virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const = 0; virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[], |