[var] Remove HB_OT_TAG_fvar/avar

We're not going to define public macros for tags for tables.
There's little use to those and they are implementation detail.
This commit is contained in:
Behdad Esfahbod 2017-01-22 20:16:51 -08:00
parent a11d9a0466
commit d6bdbbca30
4 changed files with 4 additions and 5 deletions

View File

@ -440,8 +440,6 @@ Xhb_ot_layout_lookup_substitute
<SECTION> <SECTION>
<FILE>hb-ot-var</FILE> <FILE>hb-ot-var</FILE>
HB_OT_TAG_avar
HB_OT_TAG_fvar
HB_OT_TAG_VAR_AXIS_ITALIC HB_OT_TAG_VAR_AXIS_ITALIC
HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE
HB_OT_TAG_VAR_AXIS_SLANT HB_OT_TAG_VAR_AXIS_SLANT

View File

@ -88,6 +88,8 @@ struct SegmentMaps : ArrayOf<AxisValueMap>
* avar Axis Variations Table * avar Axis Variations Table
*/ */
#define HB_OT_TAG_avar HB_TAG('a','v','a','r')
struct avar struct avar
{ {
static const hb_tag_t tableTag = HB_OT_TAG_avar; static const hb_tag_t tableTag = HB_OT_TAG_avar;

View File

@ -81,6 +81,8 @@ struct AxisRecord
* fvar Font Variations Table * fvar Font Variations Table
*/ */
#define HB_OT_TAG_fvar HB_TAG('f','v','a','r')
struct fvar struct fvar
{ {
static const hb_tag_t tableTag = HB_OT_TAG_fvar; static const hb_tag_t tableTag = HB_OT_TAG_fvar;

View File

@ -36,9 +36,6 @@
HB_BEGIN_DECLS HB_BEGIN_DECLS
#define HB_OT_TAG_fvar HB_TAG('f','v','a','r')
#define HB_OT_TAG_avar HB_TAG('a','v','a','r')
#define HB_OT_TAG_VAR_AXIS_ITALIC HB_TAG('i','t','a','l') #define HB_OT_TAG_VAR_AXIS_ITALIC HB_TAG('i','t','a','l')
#define HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE HB_TAG('o','p','s','z') #define HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE HB_TAG('o','p','s','z')
#define HB_OT_TAG_VAR_AXIS_SLANT HB_TAG('s','l','n','t') #define HB_OT_TAG_VAR_AXIS_SLANT HB_TAG('s','l','n','t')