754353343e
* src/base/ftrfork.c, include/freetype/internal/ftrfork.h: New files. * src/base/ftobjs.c: Include FT_INTERNAL_RFORK_H. (Mac_Read_POST_Resource, Mac_Read_sfnt_Resource): Remove arguments `resource_listoffset' and `resource_data' and adapt code accordingly. These values are calculated outside of the function now. Add new argument `offsets'. (IsMacResource): Use `FT_Raccess_Get_HeaderInfo' and `FT_Raccess_Get_DataOffsets'. (load_face_in_embedded_rfork): New function. (load_mac_face): Use load_face_in_embedded_rfork. (ft_input_stream_new): Renamed to... (FT_Stream_New): This. Use FT_BASE_DEF. Updated all callers. (ft_input_stream_free): Renamed to... (FT_Stream_Free): This. Use FT_BASE_DEF. Updated all callers. * src/base/ftbase.c: Include ftrfork.c. * src/base/rules.mk (BASE_SRC), src/base/Jamfile: Updated. * include/freetype/internal/internal.h (FT_INTERNAL_RFORK_H): New macro. * include/freetype/internal/fttrace.h: Added `rfork' as a new trace definition. * include/freetype/internal/ftstream.h: Declare FT_Stream_New and FT_Stream_Free. * include/freetype/config/ftoption.h, devel/ftoption.h (FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK): New option. * include/freetype/config/ftstdlib.h (ft_strrchr): New macro.
37 lines
739 B
Plaintext
37 lines
739 B
Plaintext
# FreeType 2 src/base Jamfile (c) 2001, 2002, 2003, 2004 David Turner
|
|
#
|
|
|
|
SubDir FT2_TOP $(FT2_SRC_DIR) base ;
|
|
|
|
|
|
{
|
|
local _sources ;
|
|
|
|
if $(FT2_MULTI)
|
|
{
|
|
_sources = ftutil ftdbgmem ftstream ftcalc fttrigon ftgloadr ftoutln
|
|
ftobjs ftnames ftrfork ;
|
|
}
|
|
else
|
|
{
|
|
_sources = ftbase ;
|
|
}
|
|
|
|
Library $(FT2_LIB) : $(_sources).c ;
|
|
}
|
|
|
|
# Add the optional/replaceable files.
|
|
#
|
|
Library $(FT2_LIB) : ftsystem.c ftinit.c ftglyph.c ftmm.c ftbdf.c
|
|
ftbbox.c ftdebug.c ftxf86.c fttype1.c ftpfr.c
|
|
ftstroke.c ftwinfnt.c ;
|
|
|
|
# Add Macintosh-specific file to the library when necessary.
|
|
#
|
|
if $(MAC)
|
|
{
|
|
Library $(FT2_LIB) : ftmac.c ;
|
|
}
|
|
|
|
# end of src/base Jamfile
|