summaryrefslogtreecommitdiff
path: root/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-vorg-table.hh
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-vorg-table.hh')
-rw-r--r--Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-vorg-table.hh26
1 files changed, 13 insertions, 13 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-vorg-table.hh b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-vorg-table.hh
index a0480cbcb77..884d04312ff 100644
--- a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-vorg-table.hh
+++ b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-vorg-table.hh
@@ -1,5 +1,5 @@
/*
- * Copyright © 2018 Adobe Systems Incorporated.
+ * Copyright © 2018 Adobe Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
@@ -39,9 +39,9 @@ namespace OT {
struct VertOriginMetric
{
- inline int cmp (hb_codepoint_t g) const { return glyph.cmp (g); }
+ int cmp (hb_codepoint_t g) const { return glyph.cmp (g); }
- inline bool sanitize (hb_sanitize_context_t *c) const
+ bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this));
@@ -57,11 +57,11 @@ struct VertOriginMetric
struct VORG
{
- static const hb_tag_t tableTag = HB_OT_TAG_VORG;
+ enum { tableTag = HB_OT_TAG_VORG };
- inline bool has_data (void) const { return version.to_int (); }
+ bool has_data () const { return version.to_int (); }
- inline int get_y_origin (hb_codepoint_t glyph) const
+ int get_y_origin (hb_codepoint_t glyph) const
{
unsigned int i;
if (!vertYOrigins.bfind (glyph, &i))
@@ -69,11 +69,11 @@ struct VORG
return vertYOrigins[i].vertOriginY;
}
- inline bool _subset (const hb_subset_plan_t *plan HB_UNUSED,
- const VORG *vorg_table,
- const hb_vector_t<VertOriginMetric> &subset_metrics,
- unsigned int dest_sz,
- void *dest) const
+ bool _subset (const hb_subset_plan_t *plan HB_UNUSED,
+ const VORG *vorg_table,
+ const hb_vector_t<VertOriginMetric> &subset_metrics,
+ unsigned int dest_sz,
+ void *dest) const
{
hb_serialize_context_t c (dest, dest_sz);
@@ -102,7 +102,7 @@ struct VORG
return success;
}
- inline bool subset (hb_subset_plan_t *plan) const
+ bool subset (hb_subset_plan_t *plan) const
{
hb_blob_t *vorg_blob = hb_sanitize_context_t().reference_table<VORG> (plan->source);
const VORG *vorg_table = vorg_blob->as<VORG> ();
@@ -159,7 +159,7 @@ struct VORG
return success;
}
- inline bool sanitize (hb_sanitize_context_t *c) const
+ bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) &&