diff options
author | Werner Lemberg <wl@gnu.org> | 2017-08-05 18:22:17 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2017-08-05 18:22:17 +0200 |
commit | f43b3094ef9eec177caafdbc4e73a14be000d127 (patch) | |
tree | ca6bb49be97ff57345f6e07b1a692c051fc1ba19 /docs | |
parent | 24e256ab005c68a3894845ef3b7764338f9442a4 (diff) | |
download | freetype2-f43b3094ef9eec177caafdbc4e73a14be000d127.tar.gz |
[base, truetype] New function `FT_Get_Var_Axis_Flags'.
The reserved `flags' field got a value in OpenType version 1.8.2;
unfortunately, the public `FT_Var_Axis' structure misses the
corresponding element. Since we can't add a new field, we add an
access function.
* src/base/ftmm.c (FT_Get_Var_Axis_Flags): New function.
* include/freetype/ftmm.h (FT_VAR_AXIS_FLAG_HIDDEN): New macro.
Updated.
* src/truetype/ttgxvar.c (TT_Get_MM_Var): Increase allocated memory
of `mmvar' to hold axis flags.
Fill the axis flags array.
* docs/CHANGES: Updated.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CHANGES | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CHANGES b/docs/CHANGES index cea3f27c9..a62aab767 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -12,6 +12,10 @@ CHANGES BETWEEN 2.8 and 2.8.1 II. MISCELLANEOUS + - Using the new function `FT_Get_Var_Axis_Flags', an application + can access the `flags' field of a variation axis (introduced in + OpenType version 1.8.2) + - More sanity checks. |