freetype/src
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
..
autofit [autofit] Improve Arabic hinting. 2015-08-06 07:34:50 +02:00
base [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
bdf [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
bzip2 Minor copyright and e-mail address issues. 2015-03-11 08:48:15 +01:00
cache Make Jam support work again. 2015-06-21 19:12:12 +02:00
cff [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
cid [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
gxvalid Make Jam support work again. 2015-06-21 19:12:12 +02:00
gzip Various compiler warning fixes for `make multi'. 2015-03-01 19:27:09 +01:00
lzw Minor copyright and e-mail address issues. 2015-03-11 08:48:15 +01:00
otvalid Make Jam support work again. 2015-06-21 19:12:12 +02:00
pcf [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
pfr [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
psaux Make Jam support work again. 2015-06-21 19:12:12 +02:00
pshinter [base] Fix `ft_corner_orientation'. 2015-08-03 23:26:13 -04:00
psnames Better support of user-supplied C++ namespaces. 2015-07-09 15:10:31 +02:00
raster Fix some bugs found by clang's `-fsanitize=undefined' (#45661). 2015-08-01 07:53:48 +02:00
sfnt [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
smooth Better support of user-supplied C++ namespaces. 2015-07-09 15:10:31 +02:00
tools * src/tools/docmaker/utils.py (check_output): Add missing `\n'. 2015-06-27 07:12:42 +02:00
truetype [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
type1 [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
type42 [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
winfonts [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
Jamfile Make Jam support work again. 2015-06-21 19:12:12 +02:00