Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: include/ports/SkHarfBuzzFont.h

Issue 384503008: Delete third_party/harfbuzz (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove public header Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/public_headers.gypi ('k') | third_party/harfbuzz/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/ports/SkHarfBuzzFont.h
diff --git a/include/ports/SkHarfBuzzFont.h b/include/ports/SkHarfBuzzFont.h
deleted file mode 100644
index 22749af0921d78ef9fcf5b413574932fd479e33f..0000000000000000000000000000000000000000
--- a/include/ports/SkHarfBuzzFont.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright 2009 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkHarfBuzzFont_DEFINED
-#define SkHarfBuzzFont_DEFINED
-
-extern "C" {
-#include "harfbuzz-shaper.h"
-//#include "harfbuzz-unicode.h"
-}
-
-#include "SkTypes.h"
-
-class SkPaint;
-class SkTypeface;
-
-class SkHarfBuzzFont {
-public:
- /** The subclass returns the typeface for this font, or NULL
- */
- virtual SkTypeface* getTypeface() const = 0;
- /** The subclass sets the text related attributes of the paint.
- e.g. textSize, typeface, textSkewX, etc.
- All of the attributes that could effect how the text is measured.
- Color information (e.g. color, xfermode, shader, etc.) are not required.
- */
- virtual void setupPaint(SkPaint*) const = 0;
-
- /** Implementation of HB_GetFontTableFunc, using SkHarfBuzzFont* as
- the first parameter.
- */
- static HB_Error GetFontTableFunc(void* skharfbuzzfont, const HB_Tag tag,
- HB_Byte* buffer, HB_UInt* len);
-
- static const HB_FontClass& GetFontClass();
-};
-
-#endif
« no previous file with comments | « gyp/public_headers.gypi ('k') | third_party/harfbuzz/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698