[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Nov 15 04:32:42 UTC 2017
src/hb-ot-hhea-table.hh | 5 -----
src/hb-ot-layout-gsubgpos-private.hh | 3 ---
src/main.cc | 4 ++--
3 files changed, 2 insertions(+), 10 deletions(-)
New commits:
commit a130ee6df50a50f541d0e8018deea9cee8c6738a
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Tue Nov 14 20:30:03 2017 -0800
Remove a couple of unused consts
diff --git a/src/hb-ot-hhea-table.hh b/src/hb-ot-hhea-table.hh
index c8e9536c..a4f0acfe 100644
--- a/src/hb-ot-hhea-table.hh
+++ b/src/hb-ot-hhea-table.hh
@@ -44,11 +44,6 @@ namespace OT {
struct _hea
{
- static const hb_tag_t tableTag = HB_TAG('_','h','e','a');
-
- static const hb_tag_t hheaTag = HB_OT_TAG_hhea;
- static const hb_tag_t vheaTag = HB_OT_TAG_vhea;
-
inline bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh
index dcaa2617..bf0cd01b 100644
--- a/src/hb-ot-layout-gsubgpos-private.hh
+++ b/src/hb-ot-layout-gsubgpos-private.hh
@@ -2285,9 +2285,6 @@ struct Extension
struct GSUBGPOS
{
- static const hb_tag_t GSUBTag = HB_OT_TAG_GSUB;
- static const hb_tag_t GPOSTag = HB_OT_TAG_GPOS;
-
inline unsigned int get_script_count (void) const
{ return (this+scriptList).len; }
inline const Tag& get_script_tag (unsigned int i) const
diff --git a/src/main.cc b/src/main.cc
index 377d1396..819100e4 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -106,8 +106,8 @@ main (int argc, char **argv)
switch (table.tag) {
- case GSUBGPOS::GSUBTag:
- case GSUBGPOS::GPOSTag:
+ case HB_OT_TAG_GSUB:
+ case HB_OT_TAG_GPOS:
{
const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset);
More information about the HarfBuzz
mailing list