freetype2/src/truetype
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
..
Jamfile Make Jam support work again. 2015-06-21 19:12:12 +02:00
module.mk Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
rules.mk Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
truetype.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttdriver.c Rename `svxf86nm.h' to `svfntfmt.h'; update related symbols. 2015-03-11 08:55:12 +01:00
ttdriver.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
tterrors.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttgload.c [truetype] Clean up types. 2015-08-06 00:06:14 -04:00
ttgload.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttgxvar.c Fix more invalid left-shifts. 2015-08-02 09:42:12 +02:00
ttgxvar.h [truetype] In GX, make private point numbers work correctly. 2015-05-31 12:21:34 +02:00
ttinterp.c Fix some clang compiler warnings. 2015-06-30 09:46:39 +02:00
ttinterp.h [truetype] Fix return values of GETINFO bytecode instruction. 2015-05-24 09:50:24 +02:00
ttobjs.c [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
ttobjs.h [truetype] Clean up types. 2015-08-06 00:06:14 -04:00
ttpic.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttpic.h Better support of user-supplied C++ namespaces. 2015-07-09 15:10:31 +02:00
ttpload.c [truetype] Various signedness fixes. 2015-02-17 08:03:05 +01:00
ttpload.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttsubpix.c [truetype] Clean up types. 2015-08-06 00:06:14 -04:00
ttsubpix.h [truetype] Finish compiler warning fixes for signedness issues. 2015-02-17 10:17:56 +01:00