diff options
Diffstat (limited to 'src/sfnt/ttmtx.c')
-rw-r--r-- | src/sfnt/ttmtx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sfnt/ttmtx.c b/src/sfnt/ttmtx.c index 186f873da..a54472842 100644 --- a/src/sfnt/ttmtx.c +++ b/src/sfnt/ttmtx.c @@ -22,6 +22,10 @@ #include FT_TRUETYPE_TAGS_H #include "ttmtx.h" +#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT +#include "../truetype/ttgxvar.h" +#endif + #include "sferrors.h" @@ -274,6 +278,12 @@ *abearing = 0; *aadvance = 0; } +#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT + /* TODO: handle VVAR and LSB */ + if ( !vertical ) + tt_adjust_advance( face, gindex, aadvance ); +#endif + } |