freetype2/src/cid
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
ciderrs.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
cidgload.c [type1,cff,cid] Streamline font matrix application. 2015-08-12 23:45:40 -04:00
cidgload.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
cidload.c Comment typos. 2015-08-12 23:51:02 -04:00
cidload.h [cid] Fix signedness issues and emit some better error codes. 2015-02-20 20:14:11 +01:00
cidobjs.c [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
cidobjs.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
cidparse.c [cid] Fix signedness issues and emit some better error codes. 2015-02-20 20:14:11 +01:00
cidparse.h [cid] Fix signedness issues and emit some better error codes. 2015-02-20 20:14:11 +01:00
cidriver.c Rename `svxf86nm.h' to `svfntfmt.h'; update related symbols. 2015-03-11 08:55:12 +01:00
cidriver.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
cidtoken.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01: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
type1cid.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00