summaryrefslogtreecommitdiff
path: root/include/freetype/ftmm.h
diff options
context:
space:
mode:
authorDave Arnold <darnold@adobe.com>2016-12-15 12:58:26 +0100
committerWerner Lemberg <wl@gnu.org>2016-12-15 12:58:26 +0100
commit097cd874ee26ef254e6782b528c460a6f9b7d812 (patch)
tree392b2a2531ca85509f4def6028aeea94abfc7e0a /include/freetype/ftmm.h
parentabd58581020aeb613a36b04bb099c42d37a33bf7 (diff)
downloadfreetype2-097cd874ee26ef254e6782b528c460a6f9b7d812.tar.gz
[truetype] Add `HVAR' table parsing.
Note that this is not complete yet; it only handles advance width variation. Activation of the code follows in another commit. * include/freetype/ftmm.h (FT_Var_Named_Style): Add `psid' member. * src/truetype/ttgxvar.h (GX_HVarData, GX_AxisCoords, GX_HVarRegion, GX_HVStore, GX_WidthMap): New auxiliary structures for... (GX_HVarTable): ... HVAR main structure. (GX_BlendRec): Add data for HVAR loading. * src/truetype/ttgxvar.c (FT_FIXED_ONE, FT_fdot14ToFixed, FT_intToFixed, FT_fixedToInt): New macros. (ft_var_load_hvar): New function. (TT_Get_MM_Var): Updated. (tt_done_blend): Deallocate HVAR data.
Diffstat (limited to 'include/freetype/ftmm.h')
-rw-r--r--include/freetype/ftmm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/freetype/ftmm.h b/include/freetype/ftmm.h
index 882bdbb05..a0238c5d2 100644
--- a/include/freetype/ftmm.h
+++ b/include/freetype/ftmm.h
@@ -171,6 +171,7 @@ FT_BEGIN_HEADER
{
FT_Fixed* coords;
FT_UInt strid;
+ FT_UInt psid; /* since 2.7.1 */
} FT_Var_Named_Style;