freetype2/src/base
Oran Agra 636c294bef Position Independent Code (PIC) support and infrastructure in base.
* include/freetype/config/ftoption.h add FT_CONFIG_OPTION_PIC
* include/freetype/internal/ftobjs.h Add pic_container member to
FT_LibraryRec.
Add macros to declare and init instances of FT_CMap_ClassRec.
Add macros to init instances of FT_Outline_Funcs and FT_Raster_Funcs.
Add macros to declare, allocate and initialize modules
(FT_Module_Class).
Add macros to declare, allocate and initialize renderers
(FT_Renderer_Class).
Add macro to init instances of FT_Glyph_Class.
Add macros to declare, allocate and initialize drivers
(FT_Driver_ClassRec).
* include/freetype/internal/ftpic.h new file to declare the
FT_PIC_Container struct and the functions to allocate and detroy it.
* include/freetype/internal/ftserv.h add macros to allocate and
destory arrays of FT_ServiceDescRec.
* include/freetype/internal/internal.h define macro to include
ftpic.h.

New Files:
* src/base/ftpic.c implement functions to allocate and destory the
global pic_container.
* src/base/basepic.h declare struct to hold PIC globals for base and
macros to access them.
* src/base/basepic.c implement functions to allocate, destroy and
initialize PIC globals for base.

* src/base/ftinit.c when FT_CONFIG_OPTION_PIC is defined implement
functions that allocate and destroy ft_default_modules according to
FT_CONFIG_MODULES_H in the pic_container instead of the global scope
and use macro from basepic.h to access it.
* src/base/ftobjs.c add calls to the functions that allocate and
destroy the global pic_container when the library is created and
destroyed.

* src/base/jamfile add new files to FT2_MULTI build:
ftpic.c and basepic.c.
* src/base/ftbase.c add new files to build:
ftpic.c and basepic.c.

* src/base/ftglyph.c when FT_CONFIG_OPTION_PIC is defined
ft_bitmap_glyph_class and ft_outline_glyph_class will be allocated
in the pic_container instead of the global scope and use macros from
basepic.h to access them.
* src/base/ftbbox.c allocate bbox_interface stract on the stack
instead of the global scope when FT_CONFIG_OPTION_PIC is defined.
* src/base/ftstroke.c access ft_outline_glyph_class allocated in
ftglyph.c via macros from basepic.h
2009-04-05 17:59:26 +03:00
..
Jamfile Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
basepic.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
basepic.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftadvanc.c Fix Savannah bug #25669. 2009-02-24 21:34:51 +00:00
ftapi.c Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftbase.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftbase.h * src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler 2008-10-04 11:39:03 +00:00
ftbbox.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftbdf.c * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden), 2005-10-20 02:13:46 +00:00
ftbitmap.c FT_Bitmap_Convert: Support missing pixel modes. 2009-01-06 09:07:22 +00:00
ftcalc.c * autogen.sh, builds/unix/configure.raw, 2008-09-12 16:27:48 +00:00
ftcid.c Extend CID service functions to handle CID-keyed CFFs as CID fonts. 2009-03-11 21:29:54 +00:00
ftdbgmem.c Don't use stdlib.h and friends directly. 2009-01-13 17:34:48 +00:00
ftdebug.c Formatting. 2008-11-29 09:31:44 +00:00
ftfstype.c Formatting, copyright years. 2009-03-03 21:35:32 +00:00
ftgasp.c formatting, copyright years and messages, doc polishing 2007-01-09 10:37:36 +00:00
ftgloadr.c formatting 2006-08-19 11:18:09 +00:00
ftglyph.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftgxval.c formatting, copyright years 2006-06-25 06:07:14 +00:00
ftinit.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftlcdfil.c Fix stdlib dependencies. 2009-01-12 20:01:10 +00:00
ftmac.c Minor fixes. 2009-01-06 06:59:36 +00:00
ftmm.c Fix some FreeType Coverity issues as reported for Ghostscript. 2009-03-12 08:07:49 +00:00
ftobjs.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftotval.c Fixes from the gnuwin32 port. 2008-11-24 08:15:05 +00:00
ftoutln.c * src/autofit/afcjk.c, src/base/ftoutln.c, src/base/ftrfork.c, 2008-11-29 22:50:24 +00:00
ftpatent.c Generalize the concept of `tricky' fonts by introducing 2008-12-11 08:55:48 +00:00
ftpfr.c * src/base/ftpfr.c (FT_Get_PFR_Metrics): Protect against NULL 2008-12-21 17:38:23 +00:00
ftpic.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftrfork.c Fix some FreeType Coverity issues as reported for Ghostscript. 2009-03-12 08:07:49 +00:00
ftsnames.c ftnames.c -> ftsnames.c 2009-04-04 09:20:14 +02:00
ftstream.c * src/base/ftstream.c (FT_Stream_ReadFields): Don't access stream 2008-11-25 05:44:41 +00:00
ftstroke.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftsynth.c * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Don't use internal 2008-12-17 11:03:26 +00:00
ftsystem.c * src/base/ftsystem.c (FT_Done_Memory): Use ft_sfree directly for 2008-09-18 11:20:12 +00:00
fttrigon.c * src/base/fttrigon.c (ft_trig_prenorm): fixed a bug that created 2005-11-15 17:30:56 +00:00
fttype1.c Add new function FT_Get_PS_Font_Private(). 2004-11-12 07:02:45 +00:00
ftutil.c fixing implementation bug in ft_mem_strcpyn 2007-03-08 10:50:38 +00:00
ftwinfnt.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
ftxf86.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
rules.mk ftnames.c -> ftsnames.c 2009-04-04 09:20:14 +02:00