2e7a4e9b7f
* include/freetype/internal/services/svmm.h add macros to init instances of FT_Service_MultiMastersRec. * include/freetype/internal/services/svttglyf.h add macros to init instances of FT_Service_TTGlyfRec. * src/truetype/ttdriver.h declare tt_driver_class using macros from ftdriver.h, when FT_CONFIG_OPTION_PIC is defined create and destroy functions will be declared. * src/truetype/ttdriver.c when FT_CONFIG_OPTION_PIC is defined the following structs: tt_service_gx_multi_masters, tt_service_truetype_glyf, tt_driver_class and tt_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 ttpic.h in order to access them from the pic_container. * src/truetype/ttobjs.c change trick_names array to be PIC-compatible by being a two dimentional array rather than array of pointers. New Files: * src/truetype/ttpic.h declare struct to hold PIC globals for truetype driver and macros to access them. * src/truetype/ttpic.c implement functions to allocate, destroy and initialize PIC globals for truetype driver. * src/truetype/truetype.c add new file to build: ttpic.c. * src/truetype/jamfile add new files to FT2_MULTI build: ttpic.c.
30 lines
694 B
Plaintext
30 lines
694 B
Plaintext
# FreeType 2 src/truetype Jamfile
|
|
#
|
|
# Copyright 2001, 2004 by
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
#
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
# and distributed under the terms of the FreeType project license,
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
# indicate that you have read the license and understand and accept it
|
|
# fully.
|
|
|
|
SubDir FT2_TOP $(FT2_SRC_DIR) truetype ;
|
|
|
|
{
|
|
local _sources ;
|
|
|
|
if $(FT2_MULTI)
|
|
{
|
|
_sources = ttdriver ttobjs ttpload ttgload ttinterp ttgxvar ttpic ;
|
|
}
|
|
else
|
|
{
|
|
_sources = truetype ;
|
|
}
|
|
|
|
Library $(FT2_LIB) : $(_sources).c ;
|
|
}
|
|
|
|
# end of src/truetype Jamfile
|