diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2017-01-22 19:52:09 -0800 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2017-01-22 19:52:09 -0800 |
commit | 7a860f656e4aec45c45e0f5fb28c49a91dc5eef2 (patch) | |
tree | 4f03b861dc34f9bcea442c60ed74baac26de2746 | |
parent | a484e237b11650d00092329855d33dd2f67980e4 (diff) | |
download | harfbuzz_ng-7a860f656e4aec45c45e0f5fb28c49a91dc5eef2.tar.gz |
[var] Add macros for standard axes
-rw-r--r-- | docs/harfbuzz-sections.txt | 7 | ||||
-rw-r--r-- | src/hb-ot-var.h | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/harfbuzz-sections.txt b/docs/harfbuzz-sections.txt index fcf4e527e..3011ee996 100644 --- a/docs/harfbuzz-sections.txt +++ b/docs/harfbuzz-sections.txt @@ -442,6 +442,11 @@ Xhb_ot_layout_lookup_substitute <FILE>hb-ot-var</FILE> HB_OT_TAG_avar HB_OT_TAG_fvar +HB_OT_TAG_VAR_AXIS_ITALIC +HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE +HB_OT_TAG_VAR_AXIS_SLANT +HB_OT_TAG_VAR_AXIS_WEIGHT +HB_OT_TAG_VAR_AXIS_WIDTH HB_OT_VAR_NO_AXIS_INDEX hb_ot_var_axis_t hb_ot_var_has_data @@ -584,6 +589,8 @@ hb_unicode_script_func_t <FILE>hb-uniscribe</FILE> hb_uniscribe_font_get_hfont hb_uniscribe_font_get_logfontw +<SUBSECTION Private> +hb_directwrite_shape_experimental_width </SECTION> <SECTION> diff --git a/src/hb-ot-var.h b/src/hb-ot-var.h index bce7c7a0a..ea69aa5fc 100644 --- a/src/hb-ot-var.h +++ b/src/hb-ot-var.h @@ -39,6 +39,12 @@ 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_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_WIDTH HB_TAG('w','d','t','h') +#define HB_OT_TAG_VAR_AXIS_WEIGHT HB_TAG('w','g','h','t') + /* * fvar / avar |