freetype2/src/sfnt
Oran Agra fb429ec409 Position Independent Code (PIC) support in sfnt driver.
* include/freetype/internal/services/svbdf.h add macros to init
instances of FT_Service_BDFRec.
* include/freetype/internal/services/svgldict.h add macros to init
instances of FT_Service_GlyphDictRec.
* include/freetype/internal/services/svpostnm.h add macros to init
instances of FT_Service_PsFontNameRec.
* include/freetype/internal/services/svsfnt.h add macros to init
instances of FT_Service_SFNT_TableRec.
* include/freetype/internal/services/svttcmap.h add macros to init
instances of FT_Service_TTCMapsRec.
* include/freetype/internal/sfnt.h add macros to init
instances of SFNT_Interface.

* src/sfnt/sfdriver.h declare sfnt_module_class using macros from
ftmodapi.h, when FT_CONFIG_OPTION_PIC is defined create and destroy
functions will be declared.
* src/sfnt/sfdriver.c when FT_CONFIG_OPTION_PIC is defined
the following structs:
sfnt_service_sfnt_table, sfnt_service_glyph_dict, sfnt_service_ps_name
tt_service_get_cmap_info, sfnt_service_bdf, sfnt_interface,
sfnt_module_class, and sfnt_services array
will have functions to init or create and destroy them
instead of being allocated in the global scope.
And macros will be used from sfntpic.h in order to access them
from the pic_container.

* src/sfnt/ttcmap.h add macros to init
instances of TT_CMap_ClassRec.
* src/sfnt/ttcmap.c when FT_CONFIG_OPTION_PIC is defined
the following structs:
tt_cmap0_class_rec, tt_cmap2_class_rec, tt_cmap4_class_rec
tt_cmap6_class_rec, tt_cmap8_class_rec, tt_cmap10_class_rec,
tt_cmap12_class_rec, tt_cmap14_class_rec and tt_cmap_classes array
will have functions to init or create and destroy them
instead of being allocated in the global scope.
And macros will be used from sfntpic.h in order to access them
from the pic_container.
The content of tt_cmap_classes is now described in the
new file 'ttcmapc.h'.

New Files:
* src/sfnt/sfntpic.h declare struct to hold PIC globals for sfnt
driver and macros to access them.
* src/sfnt/sfntpic.c implement functions to allocate, destroy and
initialize PIC globals for sfnt driver.
* src/sfnt/ttcmapc.h describing the content of
tt_cmap_classes allocated in ttcmap.c

* src/sfnt/sfnt.c add new file to build: sfntpic.c.
* src/sfnt/jamfile add new files to FT2_MULTI build: sfntpic.c.
2009-04-05 18:08:32 +03:00
..
Jamfile Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
module.mk FT_USE_MODULE declares things as: 2008-12-21 10:29:30 +00:00
rules.mk * src/sfnt/rules.mk (SFNT_DRV_H): Add ttsbit0.c. 2009-03-09 13:18:47 +00:00
sfdriver.c Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
sfdriver.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
sferrors.h * include/freetype/internal/ftobjs.h: Don't include 2004-09-06 07:06:56 +00:00
sfnt.c Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
sfntpic.c Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
sfntpic.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
sfobjs.c Fix Savannah bug #25495. 2009-02-09 22:20:27 +00:00
sfobjs.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttbdf.c Formatting, copyright years. 2006-02-25 16:52:16 +00:00
ttbdf.h Convert to Unix line endings. 2006-03-01 11:31:08 +00:00
ttcmap.c Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
ttcmap.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
ttcmapc.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
ttkern.c Remove redundant header inclusions. 2009-03-21 08:51:44 +01:00
ttkern.h formatting, minor doc fixes, copyright years 2007-01-05 09:03:31 +00:00
ttload.c * include/freetype/freetype.h (FT_LOAD_ADVANCE_ONLY): Use value 2008-12-05 18:37:44 +00:00
ttload.h * include/freetype/ftoutln.h (FT_Outline_Embolden): Mention in 2006-02-15 06:05:52 +00:00
ttmtx.c Formatting. 2008-11-29 09:31:44 +00:00
ttmtx.h Clean up the SFNT_Interface. In this final pass, `load_hmtx' is 2006-02-14 07:25:57 +00:00
ttpost.c Remove redundant header inclusions. 2009-03-21 08:51:44 +01:00
ttpost.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttsbit.c Fix some FreeType Coverity issues as reported for Ghostscript. 2009-03-12 08:07:49 +00:00
ttsbit.h Formatting. 2008-11-29 09:31:44 +00:00
ttsbit0.c Fix valgrind warning. 2009-03-14 23:32:24 +01:00