freetype2/src/autofit
Oran Agra 59b4af8d59 Position Independent Code (PIC) support in autofit module.
* include/freetype/internal/autohint.h add macros to init
instances of FT_AutoHinter_ServiceRec.

* src/autofit/afmodule.h declare autofit_module_class
using macros from ftmodapi.h,
when FT_CONFIG_OPTION_PIC is defined create and destroy
functions will be declared.
* src/autofit/afmodule.c when FT_CONFIG_OPTION_PIC is defined
af_autofitter_service and autofit_module_class structs
will have functions to init or create and destroy them
instead of being allocated in the global scope.
And macros will be used from afpic.h in order to access them.

* src/autofit/aftypes.h add macros to init and declare
instances of AF_ScriptClassRec.

* src/autofit/afcjk.h declare af_cjk_script_class
using macros from aftypes.h,
when FT_CONFIG_OPTION_PIC is defined init function will be declared.
* src/autofit/afcjk.c when FT_CONFIG_OPTION_PIC is defined
af_cjk_script_class struct will have function to init it instead of
being allocated in the global scope.

* src/autofit/afdummy.h declare af_dummy_script_class
using macros from aftypes.h,
when FT_CONFIG_OPTION_PIC is defined init function will be declared.
* src/autofit/afdummy.c when FT_CONFIG_OPTION_PIC is defined
af_dummy_script_class struct will have function to init it instead of
being allocated in the global scope.

* src/autofit/afindic.h declare af_indic_script_class
using macros from aftypes.h,
when FT_CONFIG_OPTION_PIC is defined init function will be declared.
* src/autofit/afindic.c when FT_CONFIG_OPTION_PIC is defined
af_indic_script_class struct will have function to init it instead of
being allocated in the global scope.

* src/autofit/aflatin.h declare af_latin_script_class
using macros from aftypes.h,
when FT_CONFIG_OPTION_PIC is defined init function will be declared.
* src/autofit/aflatin.c when FT_CONFIG_OPTION_PIC is defined
af_latin_script_class struct will have function to init it instead of
being allocated in the global scope.
Change af_latin_blue_chars to be PIC-compatible by being a two
dimentional array rather than array of pointers.


* src/autofit/aflatin2.h declare af_latin2_script_class
using macros from aftypes.h,
when FT_CONFIG_OPTION_PIC is defined init function will be declared.
* src/autofit/aflatin2.c when FT_CONFIG_OPTION_PIC is defined
af_latin2_script_class struct will have function to init it instead of
being allocated in the global scope.
Change af_latin2_blue_chars to be PIC-compatible by being a two
dimentional array rather than array of pointers.

* src/autofit/afglobal.c when FT_CONFIG_OPTION_PIC is defined
af_script_classes array initialization was moved to afpic.c and
is later refered using macros defeined in afpic.h.

New Files:
* src/autofit/afpic.h declare struct to hold PIC globals for autofit
module and macros to access them.
* src/autofit/afpic.c implement functions to allocate, destroy and
initialize PIC globals for autofit module.

* src/autofit/autofit.c add new file to build: afpic.c.
* src/autofit/jamfile add new files to FT2_MULTI build: afpic.c.
2009-04-05 18:23:38 +03:00
..
Jamfile Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afangles.c * src/base/ftcalc.c: Don't use `long long' but `FT_Int64'. 2006-11-03 09:40:12 +00:00
afangles.h * src/autofit/afdummy.c, src/autofit/afdummy.h 2005-03-02 11:24:23 +00:00
afcjk.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afcjk.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afdummy.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afdummy.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aferrors.h * docs/CHANGES, docs/INSTALL.ANY: Updated. 2005-03-23 16:45:24 +00:00
afglobal.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afglobal.h formatting 2007-06-11 21:15:09 +00:00
afhints.c Don't use stdlib.h and friends directly. 2009-01-13 17:34:48 +00:00
afhints.h Cosmetic code changes. 2008-05-28 22:17:28 +00:00
afindic.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afindic.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aflatin.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aflatin.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aflatin2.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aflatin2.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afloader.c Remove redundant header inclusions. 2009-03-21 08:51:44 +01:00
afloader.h Various fixes for C and C++ compiling. 2005-03-03 17:09:08 +00:00
afmodule.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afmodule.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afpic.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afpic.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aftypes.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afwarp.c formatting 2007-01-26 16:08:49 +00:00
afwarp.h * src/cff/cffload.c (cff_index_get_pointers): Handle last entry 2007-01-25 11:50:00 +00:00
autofit.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
module.mk FT_USE_MODULE declares things as: 2008-12-21 10:29:30 +00:00
rules.mk Add autofit module for Indic scripts. This currently just reuses 2007-06-26 04:44:35 +00:00