freetype2/include/freetype/internal
Werner Lemberg 34010f7c47 [sfnt] Implement PS names for font instances [3/3].
Everything is guarded with TT_CONFIG_OPTION_GX_VAR_SUPPORT.

* include/freetype/internal/tttypes.h (TT_FaceRec): New fields
`var_postscript_prefix' and `var_postscript_prefix_len'.

* src/sfnt/sfdriver.c: Include FT_TRUETYPE_IDS_H.
(sfnt_is_alphanumeric): New wrapperfunction for `ft_isalnum'.
(get_win_string, get_apple_string): Remove `const' from return
value.
(MAX_VALUE_DESCRIPTOR_LEN, MAX_PS_NAME_LEN): New macros.
(hexdigits): New array.
(sfnt_get_var_ps_name): New function, implementing Adobe TechNote
5902 to construct a PS name for a variation font instance.
(sfnt_get_ps_name): Call `sfnt_get_var_ps_name' for font instances.

* src/sfnt/sfobjs.c (sfnt_done_face): Updated.

* src/truetype/ttgxvar.c (tt_set_mm_blend): Reset
`face->postscript_name' to trigger recalculation for new instance
parameters.
2017-03-14 21:50:22 +01:00
..
services [truetype] Store and use design coordinates also. 2017-03-12 20:46:56 +01:00
autohint.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftcalc.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftdebug.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftdriver.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftgloadr.h Update copyright year. 2017-01-04 20:16:34 +01:00
fthash.h Don't use macro names that contain `__' [1/2]. 2016-01-12 21:37:13 +01:00
ftmemory.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftobjs.h [cff] Introduce `random-seed' property (1/2). 2017-02-20 08:55:26 +01:00
ftpic.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftrfork.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftserv.h Add framework to support services with 9 functions. 2017-01-31 19:11:56 +01:00
ftstream.h Minor. 2017-03-06 20:29:26 +01:00
fttrace.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftvalid.h Update copyright year. 2017-01-04 20:16:34 +01:00
internal.h Update copyright year. 2017-01-04 20:16:34 +01:00
psaux.h Update copyright year. 2017-01-04 20:16:34 +01:00
pshints.h Update copyright year. 2017-01-04 20:16:34 +01:00
sfnt.h [sfnt] Add `get_name_id' service. 2017-03-05 19:06:41 +01:00
t1types.h Update copyright year. 2017-01-04 20:16:34 +01:00
tttypes.h [sfnt] Implement PS names for font instances [3/3]. 2017-03-14 21:50:22 +01:00