freetype2/src/type1
Chris Liddell 78a1e69517 [type1,cff] Add FT_{Set,Get}_MM_WeightVector API calls.
For multiple master fonts, common usage (in Postscript) is to modify
the WeightVector of an existing font instance, this addition
supports that use.

* include/freetype/ftmm.h, src/base/ftmm.c (FT_Set_MM_WeightVector,
FT_Get_MM_WeightVector): New API functions.

* include/freetype/internalservices/svmm.h
(FT_Set_MM_WeightVector_Func, FT_Get_MM_WeightVector_Func): New
function types.
(MultiMasters): Add `set_mm_weightvector' and `get_mm_weightvector'
members.
(FT_DEFINE_SERVICE_MULTIMASTERSREC): Updated.

* src/cffcffdrivr.c (cff_set_mm_weightvector,
cff_get_mm_weightvector): New functions.
(cff_service_multi_masters): Register them.

* src/truetype/ttdriver.c (tt_service_gx_multi_masters): Updated.
This driver doesn't use the new interface.

* src/type1/t1load.c (T1_Set_MM_WeightVector,
T1_Get_MM_WeightVector): New functions.
* src/type1/t1driver.c (t1_service_multi_masters): Register them.
* src/type1/t1load.h: Updated.
2018-11-27 22:24:06 +01:00
..
Jamfile Update copyright year. 2018-01-02 09:33:57 +01:00
module.mk Update copyright year. 2018-01-02 09:33:57 +01:00
rules.mk Update copyright year. 2018-01-02 09:33:57 +01:00
t1afm.c Don't use `trace_' prefix for FT_COMPONENT arguments. 2018-08-15 18:13:17 +02:00
t1afm.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
t1driver.c [type1,cff] Add FT_{Set,Get}_MM_WeightVector API calls. 2018-11-27 22:24:06 +01:00
t1driver.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
t1errors.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
t1gload.c Whitespace. 2018-10-07 08:59:56 +02:00
t1gload.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
t1load.c [type1,cff] Add FT_{Set,Get}_MM_WeightVector API calls. 2018-11-27 22:24:06 +01:00
t1load.h [type1,cff] Add FT_{Set,Get}_MM_WeightVector API calls. 2018-11-27 22:24:06 +01:00
t1objs.c A missing Unicode cmap is not a fatal error. 2018-10-07 09:28:52 +02:00
t1objs.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
t1parse.c Don't use `trace_' prefix for FT_COMPONENT arguments. 2018-08-15 18:13:17 +02:00
t1parse.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
t1tokens.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
type1.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00