freetype2/include/freetype
Werner Lemberg 44bb303510 * src/pcf/pcfdrivr.c: Revert change from 2004-04-17.
* src/pcf/pcfutil.c: Use FT_LOCAL_DEF.
* src/pcf/pcfutil.h: Include FT_CONFIG_CONFIG_H.
Use FT_BEGIN_HEADER and FT_END_HEADER.
Use FT_LOCAL.

2004-04-24  George Williams  <gww@silcom.com>

Add support for Apple's distortable font technology (in GX fonts).

* devel/ftoption.h, include/freetype/config/ftoption.h
(TT_CONFIG_OPTION_GX_VAR_SUPPORT): New macro.

* include/freetype/ftmm.h (FT_Var_Axis, FT_Var_Named_Style,
FT_MM_Var): New structures.
(FT_Get_MM_Var, FT_Set_Var_Design_Coordinates,
FT_Set_Var_Blend_Coordinates): New function declarations.

* include/freetype/internal/services/svmm.h (FT_Get_MM_Var_Func,
FT_Set_Var_Design_Func): New typedefs.
Update MultiMasters service.

* include/freetype/internal/tttypes.h
[TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include FT_MULTIPLE_MASTERS_H.
(GX_Blend) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: New typedef.
(TT_Face) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: New members `doblend'
and `blend'.

* include/freetype/tttags.h (TTAG_avar, TTAG_cvar, TTAG_gvar): New
macros.

* include/freetype/internal/fttrace.h: Add `ttgxvar'.

* src/base/ftmm.c (FT_Get_MM_Var, FT_Set_Var_Design_Coordinates,
FT_Set_Var_Blend_Coordinates): New functions.

* src/sfnt/sfobjs.c (sfnt_load_face)
[TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Set FT_FACE_FLAG_MULTIPLE_MASTERS
flag for GX var fonts.

* src/truetype/ttgxvar.c, src/truetype/ttgxvar.h: New files.

* src/truetype/truetype.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include
ttgxvar.c.

* src/truetype/ttdriver.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include
FT_MULTIPLE_MASTERS_H, FT_SERVICE_MULTIPLE_MASTERS_H, and ttgxvar.h.
(tt_service_gx_multi_masters) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]:
New service.
(tt_services) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Updated.

* src/truetype/ttgload.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include
ttgxvar.h.
(TT_Process_Simple_Glyph, load_truetype_glyph)
[TT_CONFIG_OPTION_GX_VAR_SUPPORT] :Support GX var fonts.

* src/truetype/ttobjs.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include
ttgxvar.h.
(tt_done_face) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Call
tt_done_blend.

* src/truetype/ttpload.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include
ttgxvar.h.
(tt_face_load_cvt)  [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Call
tt_face_vary_cvt.

* src/truetype/rules.mk (TT_DRV_SRC): Add ttgxvar.c.

* src/type1/t1driver.c (t1_service_multi_masters): Add T1_Get_MM_Var
and T1_Set_Var_Design.

* src/type1/t1load.c (FT_INT_TO_FIXED, FT_FIXED_TO_INT): New macros.
(T1_Get_MM_Var, T1_Set_Var_Design): New functions.

* src/type1/t1load.h (T1_Get_MM_Var, T1_Set_Var_Design): New
function declarations.
2004-04-25 20:15:11 +00:00
..
cache * include/freetype/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): 2004-02-05 14:36:43 +00:00
config * src/pcf/pcfdrivr.c: Revert change from 2004-04-17. 2004-04-25 20:15:11 +00:00
internal * src/pcf/pcfdrivr.c: Revert change from 2004-04-17. 2004-04-25 20:15:11 +00:00
freetype.h * include/freetype/ftcache.h (FT_Get_CharMap_Index): Rename 2004-04-24 14:43:37 +00:00
ftbbox.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftbdf.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftcache.h * include/freetype/ftcache.h (FT_Get_CharMap_Index): Rename 2004-04-24 14:43:37 +00:00
ftchapters.h updating documentation & changes 2002-11-13 23:28:08 +00:00
fterrdef.h * src/cid/cidload.c (cid_face_open): Always allocate 2004-02-12 08:33:20 +00:00
fterrors.h * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to 2002-03-29 07:43:04 +00:00
ftglyph.h Fix documentation error. 2003-11-12 15:15:49 +00:00
ftgzip.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftimage.h * include/freetype/config/ftconfig.h: Use CHAR_BIT to define 2004-04-13 21:08:17 +00:00
ftincrem.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftlist.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftlzw.h Delete Jamfile.in, add include/freetype/ftlzw.h. 2004-03-05 10:09:20 +00:00
ftmac.h * docs/CHANGES: Updated. 2004-02-26 21:56:27 +00:00
ftmm.h * src/pcf/pcfdrivr.c: Revert change from 2004-04-17. 2004-04-25 20:15:11 +00:00
ftmodapi.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftmoderr.h * Jamfile, vms_make.com, builds/win32/visualc/freetype.dsp, 2004-03-05 09:26:24 +00:00
ftoutln.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftpfr.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftrender.h * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, 2002-09-27 11:09:23 +00:00
ftsizes.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftsnames.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftstroke.h * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
ftsynth.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftsysio.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftsysmem.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftsystem.h * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
fttrigon.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
fttypes.h * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle 2003-12-24 13:37:58 +00:00
ftwinfnt.h * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle 2003-12-24 13:37:58 +00:00
ftxf86.h * include/freetype/ftmac.h (FT_GetFile_From_Mac_Name): Fix a typo 2004-02-17 13:46:17 +00:00
t1tables.h * include/freetype/t1tables.h (PS_PrivateRec): Add 2004-02-25 21:17:49 +00:00
ttnameid.h * include/freetype/ttnameid.h (TT_ADOBE_ID_LATIN_1): New macro. 2003-12-18 15:29:20 +00:00
tttables.h * src/pcf/pcfdrivr.c: Revert change from 2004-04-17. 2004-04-25 20:15:11 +00:00
tttags.h * src/pcf/pcfdrivr.c: Revert change from 2004-04-17. 2004-04-25 20:15:11 +00:00
ttunpat.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00