freetype/src/base
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
..
basepic.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
basepic.h Better support of user-supplied C++ namespaces. 2015-07-09 15:10:31 +02:00
ftadvanc.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftapi.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftbase.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftbase.h Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftbbox.c More minor signedness warning fixes. 2015-02-16 20:05:08 +01:00
ftbdf.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftbitmap.c [base] Rename FT_Bitmap_New' to FT_Bitmap_Init'. 2015-03-10 11:15:15 +01:00
ftcalc.c [base] Fix `ft_corner_orientation'. 2015-08-03 23:26:13 -04:00
ftcid.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftdbgmem.c [base] NULL. 2015-04-10 23:45:11 -04:00
ftdebug.c Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftfntfmt.c Rename svxf86nm.h' to svfntfmt.h'; update related symbols. 2015-03-11 08:55:12 +01:00
ftfstype.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftgasp.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftgloadr.c Various minor signedness fixes. 2015-02-16 17:59:06 +01:00
ftglyph.c [base] NULL. 2015-04-10 23:45:11 -04:00
ftgxval.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftinit.c Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftlcdfil.c [base] Finish compiler warning fixes for signedness issues. 2015-02-16 22:00:27 +01:00
ftmac.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftmm.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftobjs.c [truetype] Introduce named instance access to GX fonts. 2015-08-13 15:22:17 +02:00
ftotval.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftoutln.c Fix some bugs found by clang's `-fsanitize=undefined' (#45661). 2015-08-01 07:53:48 +02:00
ftpatent.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftpfr.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftpic.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftrfork.c Fix typo in clang bug from 2015-07-31 (#45678). 2015-08-03 08:51:18 +02:00
ftsnames.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftstream.c [base] NULL. 2015-04-10 23:45:11 -04:00
ftstroke.c Fix Savannah bug #44412 (part 1). 2015-03-10 23:25:49 -04:00
ftsynth.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftsystem.c [base] NULL. 2015-04-10 23:45:11 -04:00
fttrigon.c [base] Optimize `FT_Angle_Diff'. 2015-03-21 23:30:16 -04:00
fttype1.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
ftutil.c [base] NULL. 2015-04-10 23:45:11 -04:00
ftwinfnt.c Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00
Jamfile Make Jam support work again. 2015-06-21 19:12:12 +02:00
md5.c * src/base/md5.c, src/base/md5.h: Updated to recent version. 2013-10-22 01:10:10 +02:00
md5.h * src/base/md5.c, src/base/md5.h: Updated to recent version. 2013-10-22 01:10:10 +02:00
rules.mk Run `src/tools/update-copyright'. 2015-01-17 20:41:43 +01:00