freetype2/include/freetype/internal
Werner Lemberg 14d6b5d748 [truetype] Introduce named instance access to GX fonts.
For functions querying a face, bits 16-30 of the face index can hold
the named instance index if we have a GX font.  The indices start
with value 1; value 0 indicates font access without GX variation
data.

* include/freetype/freetype.h (FT_FaceRec): Update documentation.
* include/freetype/internal/sfnt.h: Ditto.

* src/sfnt/sfobjs.c (sfnt_init_face)
[TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Get number of named instances and
do argument checks.
(sfnt_load_face): Updated.

* src/truetype/ttobjs.c (tt_face_init)
[TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Use named instance, overwriting
the style name.

* src/base/ftobjs.c (open_face_from_buffer,
open_face_PS_from_sfnt_stream): Updated.
* src/bdf/bdfdrivr.c (BDF_Face_Init): Updated.
* src/cff/cffload.c (cff_font_load): Updated.

* src/cff/cffobjs.c (cff_face_init): Make function exit early for
pure CFF fonts if `font_index < 0'.
Updated.

* src/cid/cidobjs.c (cid_face_init): Updated.
* src/pcf/pcfdrivr.c (PCF_Face_Init): Updated.
* src/pfr/pfrobjs.c (pfr_face_init): Updated.
* src/type1/t1objs.c (T1_Face_Init): Updated.
* src/type42/t42objs.c (T42_Face_Init): Updated.
* src/winfonts/winfnt.c (fnt_face_get_dll_font, FNT_Face_Init):
Updated.

* docs/CHANGES: Updated.
2015-08-13 15:22:17 +02:00
..
services Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
autohint.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftcalc.h Fix some clang compiler warnings. 2015-06-30 09:46:39 +02:00
ftdebug.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftdriver.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftgloadr.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftmemory.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftobjs.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftpic.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftrfork.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftserv.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftstream.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
fttrace.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftvalid.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
internal.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
psaux.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
pshints.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
sfnt.h [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
t1types.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
tttypes.h [truetype] Clean up types. 2015-08-06 00:06:14 -04:00