freetype2/src/sfnt
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
pngshim.c [sfnt] Signedness fixes. 2015-02-22 12:03:28 +01:00
pngshim.h 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
sfdriver.c [sfnt] Make `tt_face_get_name' member of the SFNT interface. 2015-07-07 14:04:44 +02:00
sfdriver.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
sferrors.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
sfnt.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
sfntpic.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
sfntpic.h Better support of user-supplied C++ namespaces. 2015-07-09 15:10:31 +02:00
sfobjs.c [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
sfobjs.h [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
ttbdf.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttbdf.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttcmap.c [sfnt] Signedness fixes. 2015-02-22 12:03:28 +01:00
ttcmap.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttcmapc.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttkern.c [sfnt] Signedness fixes. 2015-02-22 12:03:28 +01:00
ttkern.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttload.c * src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning. 2015-03-06 05:38:31 +01:00
ttload.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttmtx.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttmtx.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttpost.c [cff,cid,pfr,sfnt,winfonts] NULL. 2015-04-15 23:20:23 -04:00
ttpost.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ttsbit.c Fix some bugs found by clang's `-fsanitize=undefined' (#45661). 2015-08-01 07:53:48 +02:00
ttsbit.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00