ref: 3bd79cc257499f1850a1bace21f3ae371e3b40f0
parent: aa0c4b4f55f88a489cf5f766c26ba0c285ac738a
author: Werner Lemberg <wl@gnu.org>
date: Thu Dec 15 09:34:57 EST 2016
[truetype] Provide HVAR advance width variation as a service. Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT. * src/truetype/ttdriver.c (tt_service_metrics_variations): Updated. * src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Prevent double adjustment of advance width. * src/sfnt/ttmtx.c: Include FT_SERVICE_METRICS_VARIATIONS_H. (tt_face_get_metrics): Apply metrics variations.