#include <ft2build.h>
Go to the source code of this file.
#define FREETYPE_VER_FIXED |
Definition at line 835 of file ftobjs.c.
References FT_CMAP, ft_cmap_done_internal(), FT_FREE, n, and NULL.
Referenced by destroy_face(), and open_face().
static void Destroy_Driver | ( | FT_Driver | driver | ) | [static] |
Definition at line 912 of file ftobjs.c.
References destroy_face(), FT_DriverRec_::faces_list, FT_DRIVER_USES_OUTLINES, FT_GlyphLoader_Done(), FT_List_Finalize(), FT_DriverRec_::glyph_loader, FT_ModuleRec_::memory, and FT_DriverRec_::root.
Referenced by Destroy_Module().
Definition at line 861 of file ftobjs.c.
References FT_DriverRec_::clazz, destroy_charmaps(), destroy_size(), FT_Driver_ClassRec_::done_face, FT_Done_GlyphSlot(), FT_FACE_FLAG_EXTERNAL_STREAM, FT_FREE, FT_List_Finalize(), and FT_Stream_Free().
Referenced by Destroy_Driver(), and FT_Done_Face().
static void Destroy_Module | ( | FT_Module | module | ) | [static] |
Definition at line 3883 of file ftobjs.c.
References FT_LibraryRec_::auto_hinter, FT_ModuleRec_::clazz, Destroy_Driver(), FT_Generic_::finalizer, FT_DRIVER, FT_FREE, FT_MODULE_IS_DRIVER, FT_MODULE_IS_RENDERER, ft_remove_renderer(), FT_ModuleRec_::generic, FT_ModuleRec_::library, FT_ModuleRec_::memory, and FT_Module_Class_::module_done.
Referenced by FT_Remove_Module().
Definition at line 813 of file ftobjs.c.
References FT_DriverRec_::clazz, FT_Driver_ClassRec_::done_size, FT_FREE, and size.
Referenced by destroy_face(), and FT_Done_Size().
Definition at line 940 of file ftobjs.c.
References FT_ASSERT, FT_ENCODING_UNICODE, TT_APPLE_ID_UNICODE_32, TT_MS_ID_UCS_4, TT_PLATFORM_APPLE_UNICODE, and TT_PLATFORM_MICROSOFT.
Referenced by FT_Select_Charmap(), and open_face().
static FT_CharMap find_variant_selector_charmap | ( | FT_Face | face | ) | [static] |
Definition at line 1028 of file ftobjs.c.
References FT_ASSERT, FT_Get_CMap_Format(), NULL, TT_APPLE_ID_VARIANT_SELECTOR, and TT_PLATFORM_APPLE_UNICODE.
Referenced by FT_Face_GetCharsOfVariant(), FT_Face_GetCharVariantIndex(), FT_Face_GetCharVariantIsDefault(), FT_Face_GetVariantSelectors(), and FT_Face_GetVariantsOfChar().
FT_Activate_Size | ( | FT_Size | size | ) |
Definition at line 3541 of file ftobjs.c.
References NULL.
Referenced by ftc_scaler_lookup_size(), ftc_size_node_compare(), T42_Size_Init(), T42_Size_Request(), and T42_Size_Select().
FT_Add_Module | ( | FT_Library | library, | |
const FT_Module_Class * | clazz | |||
) |
Definition at line 3917 of file ftobjs.c.
References FT_ModuleRec_::clazz, FREETYPE_VER_FIXED, FT_Remove_Module(), ft_strcmp, if(), FT_Module_Class_::module_name, and FT_Module_Class_::module_version.
Referenced by FT_Add_Default_Modules().
Definition at line 3643 of file ftobjs.c.
References FT_RendererRec_::clazz, FT_ModuleRec_::clazz, FT_ListNodeRec_::data, FT_FREE, FT_GLYPH_FORMAT_OUTLINE, FT_List_Add(), FT_NEW, FT_RENDERER, ft_set_current_renderer(), FT_Renderer_Class_::glyph_format, FT_RendererRec_::glyph_format, if(), FT_ModuleRec_::library, FT_LibraryRec_::memory, FT_RendererRec_::raster, FT_Renderer_Class_::raster_class, FT_Raster_Funcs_::raster_new, FT_Raster_Funcs_::raster_render, FT_RendererRec_::raster_render, FT_RendererRec_::render, FT_Renderer_Class_::render_glyph, and FT_LibraryRec_::renderers.
FT_Attach_File | ( | FT_Face | face, | |
const char * | filepathname | |||
) |
Definition at line 2166 of file ftobjs.c.
References FT_Attach_Stream(), FT_OPEN_PATHNAME, NULL, and open.
Referenced by FTFace::Attach().
FT_Attach_Stream | ( | FT_Face | face, | |
FT_Open_Args * | parameters | |||
) |
Definition at line 2188 of file ftobjs.c.
References FT_Driver_ClassRec_::attach_file, FT_DriverRec_::clazz, FT_Bool, FT_OPEN_STREAM, FT_Stream_Free(), FT_Stream_New(), FT_ModuleRec_::library, FT_DriverRec_::root, and PC3::stream().
Referenced by FTFace::Attach(), and FT_Attach_File().
FT_CMap_Done | ( | FT_CMap | cmap | ) |
Definition at line 2980 of file ftobjs.c.
References for(), ft_cmap_done_internal(), FT_FACE_MEMORY, FT_RENEW_ARRAY, if(), j, and NULL.
static void ft_cmap_done_internal | ( | FT_CMap | cmap | ) | [static] |
Definition at line 2965 of file ftobjs.c.
References FT_CMapRec_::charmap, FT_CMapRec_::clazz, FT_CMap_ClassRec_::done, FT_CharMapRec_::face, FT_FACE_MEMORY, and FT_FREE.
Referenced by destroy_charmaps(), FT_CMap_Done(), and FT_CMap_New().
FT_CMap_New | ( | FT_CMap_Class | clazz, | |
FT_Pointer | init_data, | |||
FT_CharMap | charmap, | |||
FT_CMap * | acmap | |||
) |
Definition at line 3026 of file ftobjs.c.
References FT_CMapRec_::charmap, FT_CMapRec_::clazz, FT_ALLOC, ft_cmap_done_internal(), FT_FACE_MEMORY, FT_RENEW_ARRAY, FT_CMap_ClassRec_::init, and NULL.
Referenced by BDF_Face_Init(), cff_face_init(), FNT_Face_Init(), PCF_Face_Init(), T1_Face_Init(), and T42_Face_Init().
FT_Done_Face | ( | FT_Face | face | ) |
Definition at line 2232 of file ftobjs.c.
References destroy_face(), FT_DriverRec_::faces_list, FT_FREE, FT_List_Find(), FT_List_Remove(), FT_ModuleRec_::memory, and FT_DriverRec_::root.
Referenced by TTF::Cleanup(), destroy_font(), ExecuteTest(), FT_Done_Library(), FT_Open_Face(), ftc_face_node_done(), TTF::SetTextFont(), T42_Face_Done(), TestFace(), and FTFace::~FTFace().
FT_Done_GlyphSlot | ( | FT_GlyphSlot | slot | ) |
Definition at line 421 of file ftobjs.c.
References FT_GlyphSlotRec_::face, FT_FREE, ft_glyphslot_done(), FT_FaceRec_::glyph, FT_ModuleRec_::memory, FT_GlyphSlotRec_::next, NULL, and FT_DriverRec_::root.
Referenced by destroy_face(), and T42_GlyphSlot_Done().
FT_Done_Library | ( | FT_Library | library | ) |
Definition at line 4275 of file ftobjs.c.
References FT_Done_Face(), FT_DRIVER, FT_FACE, FT_MODULE_FONT_DRIVER, FT_TRACE0, if(), and n.
Referenced by FT_Done_FreeType().
FT_Done_Size | ( | FT_Size | size | ) |
Definition at line 2327 of file ftobjs.c.
References destroy_size(), FT_FREE, FT_List_Find(), FT_List_Remove(), FT_ModuleRec_::memory, and FT_DriverRec_::root.
Referenced by ftc_face_node_init(), ftc_scaler_lookup_size(), ftc_size_node_done(), ftc_size_node_reset(), T42_Face_Init(), and T42_Size_Done().
Definition at line 3302 of file ftobjs.c.
References FT_CMapRec_::clazz, find_variant_selector_charmap(), FT_CMAP, FT_FACE_MEMORY, FT_TRACE1, NULL, result(), and FT_CMap_ClassRec_::variantchar_list.
Definition at line 3157 of file ftobjs.c.
References FT_CMap_ClassRec_::char_var_index, FT_CMapRec_::clazz, find_variant_selector_charmap(), FT_CMAP, FT_ENCODING_UNICODE, FT_TRACE1, NULL, and result().
Definition at line 3200 of file ftobjs.c.
References FT_CMap_ClassRec_::char_var_default, FT_CMapRec_::clazz, find_variant_selector_charmap(), FT_CMAP, FT_TRACE1, NULL, and result().
FT_Face_GetVariantSelectors | ( | FT_Face | face | ) |
Definition at line 3241 of file ftobjs.c.
References FT_CMapRec_::clazz, find_variant_selector_charmap(), FT_CMAP, FT_FACE_MEMORY, NULL, result(), and FT_CMap_ClassRec_::variant_list.
Definition at line 3268 of file ftobjs.c.
References FT_CMap_ClassRec_::charvariant_list, FT_CMapRec_::clazz, find_variant_selector_charmap(), FT_CMAP, FT_FACE_MEMORY, FT_TRACE1, NULL, and result().
Definition at line 3080 of file ftobjs.c.
References FT_CMap_ClassRec_::char_index, FT_CMapRec_::clazz, FT_CMAP, FT_TRACE1, and result().
Referenced by af_face_globals_compute_script_coverage(), af_latin2_metrics_check_digits(), af_latin2_metrics_init_blues(), af_latin2_metrics_init_widths(), af_latin_metrics_check_digits(), af_latin_metrics_init_blues(), af_latin_metrics_init_widths(), TTF::CharToUnicode(), FTCharmap::FontIndex(), FT_Get_First_Char(), FT_Load_Char(), FTC_CMapCache_Lookup(), load_freetype_glyphs(), load_freetype_locale_glyph(), and split_freetype_glyph_range().
FT_Get_Charmap_Index | ( | FT_CharMap | charmap | ) |
FT_Get_CMap_Format | ( | FT_CharMap | charmap | ) |
Definition at line 3517 of file ftobjs.c.
References TT_CMapInfo_::format, FT_FACE_FIND_SERVICE, and NULL.
Referenced by find_variant_selector_charmap(), and FT_Set_Charmap().
FT_Get_CMap_Language_ID | ( | FT_CharMap | charmap | ) |
Definition at line 3493 of file ftobjs.c.
References FT_FACE_FIND_SERVICE, TT_CMapInfo_::language, and NULL.
Definition at line 3105 of file ftobjs.c.
References FT_Get_Char_Index(), FT_Get_Next_Char(), and result().
FT_Get_Glyph_Name | ( | FT_Face | face, | |
FT_UInt | glyph_index, | |||
FT_Pointer | buffer, | |||
FT_UInt | buffer_max | |||
) |
Definition at line 3363 of file ftobjs.c.
References FT_FACE_LOOKUP_SERVICE, and FT_HAS_GLYPH_NAMES.
FT_Get_Kerning | ( | FT_Face | face, | |
FT_UInt | left_glyph, | |||
FT_UInt | right_glyph, | |||
FT_UInt | kern_mode, | |||
FT_Vector * | akerning | |||
) |
Definition at line 2783 of file ftobjs.c.
References FT_DriverRec_::clazz, FT_KERNING_UNFITTED, FT_KERNING_UNSCALED, FT_MulDiv(), FT_MulFix(), FT_PIX_ROUND, and FT_Driver_ClassRec_::get_kerning.
Referenced by FT_Get_PFR_Kerning(), FTFace::KernAdvance(), and TTF::LayoutGlyphs().
FT_Get_Module | ( | FT_Library | library, | |
const char * | module_name | |||
) |
Definition at line 4044 of file ftobjs.c.
References ft_strcmp, and result().
Referenced by cff_size_get_globals_funcs(), cff_slot_init(), cid_size_get_globals_funcs(), cid_slot_init(), FT_Get_Module_Interface(), FT_Get_TrueType_Engine_Type(), T1_GlyphSlot_Init(), T1_Size_Get_Globals_Funcs(), T42_Driver_Init(), and tt_get_interface().
FT_Get_Module_Interface | ( | FT_Library | library, | |
const char * | mod_name | |||
) |
Definition at line 4072 of file ftobjs.c.
References FT_ModuleRec_::clazz, FT_Get_Module(), and FT_Module_Class_::module_interface.
Referenced by cff_face_init(), cid_face_init(), parse_afm(), sfnt_init_face(), T1_Face_Init(), T42_Face_Init(), and tt_face_init().
Definition at line 3337 of file ftobjs.c.
References FT_FACE_LOOKUP_SERVICE, FT_HAS_GLYPH_NAMES, and result().
Definition at line 3129 of file ftobjs.c.
References FT_CMap_ClassRec_::char_next, FT_CMapRec_::clazz, FT_CMAP, and result().
Referenced by af_face_globals_compute_script_coverage(), and FT_Get_First_Char().
FT_Get_Postscript_Name | ( | FT_Face | face | ) |
FT_Get_Renderer | ( | FT_Library | library, | |
FT_Glyph_Format | format | |||
) |
FT_Get_Sfnt_Table | ( | FT_Face | face, | |
FT_Sfnt_Tag | tag | |||
) |
Definition at line 3426 of file ftobjs.c.
References FT_FACE_FIND_SERVICE, FT_IS_SFNT, and NULL.
Referenced by FT_Get_FSType_Flags().
FT_Get_SubGlyph_Info | ( | FT_GlyphSlot | glyph, | |
FT_UInt | sub_index, | |||
FT_Int * | p_index, | |||
FT_UInt * | p_flags, | |||
FT_Int * | p_arg1, | |||
FT_Int * | p_arg2, | |||
FT_Matrix * | p_transform | |||
) |
Definition at line 4471 of file ftobjs.c.
References FT_SubGlyphRec_::arg1, FT_SubGlyphRec_::arg2, FT_SubGlyphRec_::flags, FT_GLYPH_FORMAT_COMPOSITE, FT_SubGlyphRec_::index, NULL, and FT_SubGlyphRec_::transform.
FT_Get_TrueType_Engine_Type | ( | FT_Library | library | ) |
Definition at line 4379 of file ftobjs.c.
References FT_Get_Module(), ft_module_get_service(), FT_SERVICE_ID_TRUETYPE_ENGINE, FT_TRUETYPE_ENGINE_TYPE_NONE, and result().
ft_glyphslot_alloc_bitmap | ( | FT_GlyphSlot | slot, | |
FT_ULong | size | |||
) |
Definition at line 291 of file ftobjs.c.
References error, FT_ALLOC, FT_FACE_MEMORY, FT_FREE, FT_GLYPH_OWN_BITMAP, and void.
Referenced by PCF_Glyph_Load(), and tt_sbit_decoder_alloc_bitmap().
static void ft_glyphslot_clear | ( | FT_GlyphSlot | slot | ) | [static] |
Definition at line 309 of file ftobjs.c.
References FT_GlyphSlotRec_::bitmap, FT_GlyphSlotRec_::bitmap_left, FT_GlyphSlotRec_::bitmap_top, FT_GlyphSlotRec_::control_data, FT_GlyphSlotRec_::control_len, FT_GlyphSlotRec_::format, FT_GLYPH_FORMAT_NONE, ft_glyphslot_free_bitmap(), FT_ZERO, FT_GlyphSlotRec_::linearHoriAdvance, FT_GlyphSlotRec_::linearVertAdvance, FT_GlyphSlotRec_::lsb_delta, FT_GlyphSlotRec_::metrics, FT_GlyphSlotRec_::num_subglyphs, FT_GlyphSlotRec_::other, FT_GlyphSlotRec_::outline, FT_Bitmap_::pitch, FT_Bitmap_::pixel_mode, FT_Bitmap_::rows, FT_GlyphSlotRec_::rsb_delta, FT_GlyphSlotRec_::subglyphs, and FT_Bitmap_::width.
Referenced by FT_Load_Glyph().
static void ft_glyphslot_done | ( | FT_GlyphSlot | slot | ) | [static] |
Definition at line 341 of file ftobjs.c.
References FT_DriverRec_::clazz, FT_Driver_ClassRec_::done_slot, FT_FaceRec_::driver, FT_GlyphSlotRec_::face, FT_DRIVER_USES_OUTLINES, FT_FREE, FT_GlyphLoader_Done(), ft_glyphslot_free_bitmap(), FT_GlyphSlotRec_::internal, FT_Slot_InternalRec_::loader, FT_ModuleRec_::memory, and FT_DriverRec_::root.
Referenced by FT_Done_GlyphSlot(), and FT_New_GlyphSlot().
ft_glyphslot_free_bitmap | ( | FT_GlyphSlot | slot | ) |
Definition at line 259 of file ftobjs.c.
References FT_FACE_MEMORY, FT_FREE, FT_GLYPH_OWN_BITMAP, and NULL.
Referenced by ft_glyphslot_clear(), ft_glyphslot_done(), ft_glyphslot_set_bitmap(), and t42_glyphslot_clear().
static void ft_glyphslot_grid_fit_metrics | ( | FT_GlyphSlot | slot, | |
FT_Bool | vertical | |||
) | [static] |
Definition at line 510 of file ftobjs.c.
References FT_PIX_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, FT_Pos, metrics(), and FT_GlyphSlotRec_::metrics.
Referenced by FT_Load_Glyph().
static FT_Error ft_glyphslot_init | ( | FT_GlyphSlot | slot | ) | [static] |
Definition at line 231 of file ftobjs.c.
References FT_DriverRec_::clazz, FT_FaceRec_::driver, error, FT_GlyphSlotRec_::face, FT_DRIVER_USES_OUTLINES, FT_GlyphLoader_New(), FT_NEW, FT_Driver_ClassRec_::init_slot, FT_GlyphSlotRec_::internal, FT_ModuleRec_::library, FT_GlyphSlotRec_::library, FT_Slot_InternalRec_::loader, FT_ModuleRec_::memory, and FT_DriverRec_::root.
Referenced by FT_New_GlyphSlot().
ft_glyphslot_set_bitmap | ( | FT_GlyphSlot | slot, | |
FT_Byte * | buffer | |||
) |
Definition at line 279 of file ftobjs.c.
References FT_ASSERT, FT_GLYPH_OWN_BITMAP, and ft_glyphslot_free_bitmap().
Referenced by BDF_Glyph_Load().
FT_Library_Version | ( | FT_Library | library, | |
FT_Int * | amajor, | |||
FT_Int * | aminor, | |||
FT_Int * | apatch | |||
) |
Definition at line 555 of file ftobjs.c.
References FT_GlyphSlotRec_::advance, FT_LibraryRec_::auto_hinter, FT_DriverRec_::clazz, FT_RendererRec_::clazz, FT_ModuleRec_::clazz, error, FALSE, FT_GlyphSlotRec_::format, FT_Bool, FT_BOOL, FT_DRIVER_HAS_HINTER, FT_DRIVER_IS_SCALABLE, FT_DRIVER_USES_OUTLINES, FT_GLYPH_FORMAT_BITMAP, FT_GLYPH_FORMAT_COMPOSITE, FT_GLYPH_FORMAT_OUTLINE, ft_glyphslot_clear(), ft_glyphslot_grid_fit_metrics(), FT_HAS_FIXED_SIZES, FT_IS_SCALABLE, FT_IS_TRICKY, FT_LOAD_FORCE_AUTOHINT, FT_LOAD_IGNORE_TRANSFORM, FT_LOAD_LINEAR_DESIGN, FT_LOAD_MONOCHROME, FT_LOAD_NO_AUTOHINT, FT_LOAD_NO_BITMAP, FT_LOAD_NO_HINTING, FT_LOAD_NO_RECURSE, FT_LOAD_NO_SCALE, FT_LOAD_RENDER, FT_LOAD_SBITS_ONLY, FT_LOAD_TARGET_MODE, FT_LOAD_VERTICAL_LAYOUT, ft_lookup_glyph_renderer(), FT_MulDiv(), FT_Outline_Check(), FT_Outline_Transform(), FT_Outline_Translate(), FT_Render_Glyph(), FT_RENDER_MODE_LIGHT, FT_RENDER_MODE_MONO, FT_RENDER_MODE_NORMAL, FT_TRACE5, FT_Vector_Transform(), FT_ModuleRec_::library, FT_GlyphSlotRec_::linearHoriAdvance, FT_GlyphSlotRec_::linearVertAdvance, FT_Driver_ClassRec_::load_glyph, FT_AutoHinter_ServiceRec_::load_glyph, metrics(), FT_GlyphSlotRec_::metrics, FT_Module_Class_::module_interface, FT_GlyphSlotRec_::outline, FT_DriverRec_::root, FT_Face_InternalRec_::transform_delta, FT_Face_InternalRec_::transform_flags, FT_Renderer_Class_::transform_glyph, FT_Face_InternalRec_::transform_matrix, TRUE, FT_Vector_::x, and FT_Vector_::y.
Referenced by af_latin2_metrics_init_blues(), af_latin2_metrics_init_widths(), af_latin_metrics_init_blues(), af_latin_metrics_init_widths(), af_loader_load_g(), FT_Get_Advances(), FT_Load_Char(), ftc_basic_family_load_bitmap(), ftc_basic_family_load_glyph(), FTFace::Glyph(), gxv_ctlPoint_validate(), gxv_prop_zero_advance_validate(), TTF::LayoutGlyphs(), load_glyph_freetype(), TTF::PrepareString(), and TestFace().
FT_Load_Sfnt_Table | ( | FT_Face | face, | |
FT_ULong | tag, | |||
FT_Long | offset, | |||
FT_Byte * | buffer, | |||
FT_ULong * | length | |||
) |
Definition at line 3447 of file ftobjs.c.
References FT_FACE_FIND_SERVICE, FT_IS_SFNT, and NULL.
Referenced by gxv_load_table(), and otv_load_table().
static FT_Renderer ft_lookup_glyph_renderer | ( | FT_GlyphSlot | slot | ) | [static] |
Definition at line 3617 of file ftobjs.c.
References FT_LibraryRec_::cur_renderer, FT_GlyphSlotRec_::face, FT_GlyphSlotRec_::format, FT_FACE_LIBRARY, FT_Lookup_Renderer(), and result().
Referenced by FT_Load_Glyph().
FT_Lookup_Renderer | ( | FT_Library | library, | |
FT_Glyph_Format | format, | |||
FT_ListNode * | node | |||
) |
Definition at line 3575 of file ftobjs.c.
References FT_ListNodeRec_::data, FT_RENDERER, FT_RendererRec_::glyph_format, FT_ListNodeRec_::next, and result().
Referenced by FT_Get_Glyph(), FT_Get_Renderer(), ft_lookup_glyph_renderer(), FT_Outline_Render(), FT_Render_Glyph_Internal(), and ft_set_current_renderer().
FT_Match_Size | ( | FT_Face | face, | |
FT_Size_Request | req, | |||
FT_Bool | ignore_width, | |||
FT_ULong * | size_index | |||
) |
Definition at line 2375 of file ftobjs.c.
References bsize, FT_HAS_FIXED_SIZES, FT_PIX_ROUND, FT_REQUEST_HEIGHT, FT_REQUEST_WIDTH, FT_SIZE_REQUEST_TYPE_NOMINAL, h, if(), and w.
Referenced by FT_Request_Size(), and tt_face_set_sbit_strike().
ft_module_get_service | ( | FT_Module | module, | |
const char * | service_id | |||
) |
Definition at line 4087 of file ftobjs.c.
References FT_ModuleRec_::clazz, FT_ASSERT, FT_Module_Class_::get_interface, FT_LibraryRec_::modules, NULL, FT_LibraryRec_::num_modules, and result().
Referenced by FT_Get_TrueType_Engine_Type().
FT_New_Face | ( | FT_Library | library, | |
const char * | pathname, | |||
FT_Long | face_index, | |||
FT_Face * | aface | |||
) |
Definition at line 1157 of file ftobjs.c.
References error, FT_Open_Args_::flags, FT_New_Face_From_Resource(), FT_Open_Face(), FT_OPEN_PATHNAME, NULL, FT_Open_Args_::pathname, and FT_Open_Args_::stream.
FT_New_GlyphSlot | ( | FT_Face | face, | |
FT_GlyphSlot * | aslot | |||
) |
Definition at line 372 of file ftobjs.c.
References FT_DriverRec_::clazz, error, FT_GlyphSlotRec_::face, FT_ALLOC, FT_FREE, ft_glyphslot_done(), ft_glyphslot_init(), FT_TRACE4, FT_ModuleRec_::memory, FT_GlyphSlotRec_::next, FT_DriverRec_::root, and FT_Driver_ClassRec_::slot_object_size.
Referenced by FT_Open_Face(), and T42_GlyphSlot_Init().
FT_New_Library | ( | FT_Memory | memory, | |
FT_Library * | alibrary | |||
) |
Definition at line 4188 of file ftobjs.c.
References FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH, FT_ALLOC, ft_debug_init(), FT_FREE, FT_NEW, FT_RENDER_POOL_SIZE, FT_LibraryRec_::memory, FT_LibraryRec_::raster_pool, FT_LibraryRec_::raster_pool_size, FT_LibraryRec_::version_major, FT_LibraryRec_::version_minor, and FT_LibraryRec_::version_patch.
Referenced by FT_Init_FreeType().
FT_New_Memory_Face | ( | FT_Library | library, | |
const FT_Byte * | file_base, | |||
FT_Long | file_size, | |||
FT_Long | face_index, | |||
FT_Face * | aface | |||
) |
Definition at line 1182 of file ftobjs.c.
References FT_Open_Args_::flags, FT_Open_Face(), FT_OPEN_MEMORY, FT_Open_Args_::memory_base, FT_Open_Args_::memory_size, NULL, and FT_Open_Args_::stream.
Referenced by FTFace::FTFace().
Definition at line 2266 of file ftobjs.c.
References FT_DriverRec_::clazz, FT_ListNodeRec_::data, FT_ALLOC, FT_FREE, FT_List_Add(), FT_NEW, FT_Driver_ClassRec_::init_size, size, and FT_Driver_ClassRec_::size_object_size.
Referenced by FT_Open_Face(), ftc_scaler_lookup_size(), and T42_Size_Init().
FT_Open_Face | ( | FT_Library | library, | |
const FT_Open_Args * | args, | |||
FT_Long | face_index, | |||
FT_Face * | aface | |||
) |
Definition at line 1910 of file ftobjs.c.
References bsize, FT_ListNodeRec_::data, FT_Bool, FT_BOOL, FT_Done_Face(), FT_DRIVER, FT_ERROR_BASE, FT_FACE_FLAG_EXTERNAL_STREAM, FT_HAS_FIXED_SIZES, FT_HAS_VERTICAL, FT_IS_SCALABLE, FT_List_Add(), FT_MODULE_IS_DRIVER, FT_NEW, FT_New_GlyphSlot(), FT_New_Size(), FT_OPEN_DRIVER, FT_OPEN_PARAMS, FT_OPEN_STREAM, ft_strcmp, FT_Stream_Free(), FT_Stream_New(), FT_Stream_Seek(), FT_TRACE4, if(), RooFitShortHand::L(), NULL, open_face(), open_face_PS_from_sfnt_stream(), params, size, PC3::stream(), Success, FT_Face_InternalRec_::transform_delta, FT_Face_InternalRec_::transform_matrix, FT_Vector_::x, FT_Matrix_::xx, FT_Matrix_::xy, FT_Vector_::y, FT_Matrix_::yx, and FT_Matrix_::yy.
Referenced by FT_New_Face(), FT_New_Face_From_FSRef(), FT_New_Face_From_FSSpec(), FT_New_Memory_Face(), and T42_Face_Init().
static void ft_recompute_scaled_metrics | ( | FT_Face | face, | |
FT_Size_Metrics * | metrics | |||
) | [static] |
Definition at line 2452 of file ftobjs.c.
References FT_MulFix(), FT_PIX_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, and metrics().
Referenced by FT_Request_Metrics(), and FT_Select_Metrics().
FT_Remove_Module | ( | FT_Library | library, | |
FT_Module | module | |||
) |
Definition at line 4133 of file ftobjs.c.
References Destroy_Module().
Referenced by FT_Add_Module().
static void ft_remove_renderer | ( | FT_Module | module | ) | [static] |
Definition at line 3691 of file ftobjs.c.
References FT_RendererRec_::clazz, FT_FREE, FT_List_Find(), FT_List_Remove(), FT_RENDERER, ft_set_current_renderer(), FT_ModuleRec_::library, FT_LibraryRec_::memory, FT_RendererRec_::raster, FT_Renderer_Class_::raster_class, FT_Raster_Funcs_::raster_done, and FT_LibraryRec_::renderers.
Referenced by Destroy_Module().
FT_Render_Glyph | ( | FT_GlyphSlot | slot, | |
FT_Render_Mode | render_mode | |||
) |
Definition at line 3839 of file ftobjs.c.
References FT_FACE_LIBRARY, and FT_Render_Glyph_Internal().
Referenced by FT_Load_Glyph(), FTBitmapGlyph::FTBitmapGlyph(), FTPixmapGlyph::FTPixmapGlyph(), FTTextureGlyph::FTTextureGlyph(), load_glyph_freetype(), and TestFace().
FT_Render_Glyph_Internal | ( | FT_Library | library, | |
FT_GlyphSlot | slot, | |||
FT_Render_Mode | render_mode | |||
) |
Definition at line 3778 of file ftobjs.c.
References FT_Bool, FT_ERROR_BASE, FT_GLYPH_FORMAT_BITMAP, FT_GLYPH_FORMAT_OUTLINE, FT_Lookup_Renderer(), FT_Set_Renderer(), NULL, FT_RendererRec_::render, and update().
Referenced by FT_Glyph_To_Bitmap(), and FT_Render_Glyph().
FT_Request_Metrics | ( | FT_Face | face, | |
FT_Size_Request | req | |||
) |
Definition at line 2521 of file ftobjs.c.
References FT_DivFix(), FT_IS_SCALABLE, FT_MulDiv(), FT_MulFix(), ft_recompute_scaled_metrics(), FT_REQUEST_HEIGHT, FT_REQUEST_WIDTH, FT_SIZE_REQUEST_TYPE_BBOX, FT_SIZE_REQUEST_TYPE_CELL, FT_SIZE_REQUEST_TYPE_MAX, FT_SIZE_REQUEST_TYPE_NOMINAL, FT_SIZE_REQUEST_TYPE_REAL_DIM, FT_SIZE_REQUEST_TYPE_SCALES, FT_ZERO, h, RooFitShortHand::L(), metrics(), and w.
Referenced by cff_size_request(), cid_size_request(), FT_Request_Size(), T1_Size_Request(), and tt_size_request().
FT_Request_Size | ( | FT_Face | face, | |
FT_Size_Request | req | |||
) |
Definition at line 2657 of file ftobjs.c.
References FT_HAS_FIXED_SIZES, FT_IS_SCALABLE, FT_Match_Size(), FT_Request_Metrics(), FT_Select_Size(), FT_SIZE_REQUEST_TYPE_MAX, FT_TRACE3, and FT_Driver_ClassRec_::request_size.
Referenced by FT_Set_Char_Size(), FT_Set_Pixel_Sizes(), and T42_Size_Request().
FT_Select_Charmap | ( | FT_Face | face, | |
FT_Encoding | encoding | |||
) |
Definition at line 2874 of file ftobjs.c.
References find_unicode_charmap(), FT_ENCODING_NONE, and FT_ENCODING_UNICODE.
Referenced by af_face_globals_compute_script_coverage(), af_latin2_metrics_init(), af_latin_metrics_init(), FTCharmap::CharMap(), and FTC_CMapCache_Lookup().
Definition at line 2486 of file ftobjs.c.
References bsize, FT_DivFix(), FT_IS_SCALABLE, ft_recompute_scaled_metrics(), RooFitShortHand::L(), and metrics().
Referenced by BDF_Size_Select(), FNT_Size_Select(), FT_Select_Size(), and PCF_Size_Select().
Definition at line 2631 of file ftobjs.c.
References FT_HAS_FIXED_SIZES, FT_Select_Metrics(), and FT_Driver_ClassRec_::select_size.
Referenced by FT_Request_Size(), and T42_Size_Select().
ft_service_list_lookup | ( | FT_ServiceDesc | service_descriptors, | |
const char * | service_id | |||
) |
Definition at line 49 of file ftobjs.c.
References ft_strcmp, NULL, result(), FT_ServiceDescRec_::serv_data, and FT_ServiceDescRec_::serv_id.
Referenced by bdf_driver_requester(), cid_get_interface(), Get_Interface(), gxvalid_get_service(), otvalid_get_service(), pcf_driver_requester(), pfr_get_service(), T42_Get_Interface(), tt_get_interface(), and winfnt_get_service().
FT_Set_Char_Size | ( | FT_Face | face, | |
FT_F26Dot6 | char_width, | |||
FT_F26Dot6 | char_height, | |||
FT_UInt | horz_resolution, | |||
FT_UInt | vert_resolution | |||
) |
Definition at line 2707 of file ftobjs.c.
References FT_Request_Size(), FT_SIZE_REQUEST_TYPE_NOMINAL, FT_Size_RequestRec_::height, FT_Size_RequestRec_::horiResolution, FT_Size_RequestRec_::type, FT_Size_RequestRec_::vertResolution, and FT_Size_RequestRec_::width.
Referenced by FTSize::CharSize(), ftc_scaler_lookup_size(), TTF::SetTextSize(), and TestFace().
FT_Set_Charmap | ( | FT_Face | face, | |
FT_CharMap | charmap | |||
) |
Definition at line 2916 of file ftobjs.c.
References FT_Get_CMap_Format().
Referenced by af_latin2_metrics_init(), af_latin_metrics_init(), TTF::CharToUnicode(), FTC_CMapCache_Lookup(), FTCharmap::FTCharmap(), and T1_Read_PFM().
static void ft_set_current_renderer | ( | FT_Library | library | ) | [static] |
Definition at line 3632 of file ftobjs.c.
References FT_LibraryRec_::cur_renderer, FT_GLYPH_FORMAT_OUTLINE, and FT_Lookup_Renderer().
Referenced by ft_add_renderer(), and ft_remove_renderer().
FT_Set_Debug_Hook | ( | FT_Library | library, | |
FT_UInt | hook_index, | |||
FT_DebugHook_Func | debug_hook | |||
) |
Definition at line 2747 of file ftobjs.c.
References FT_Request_Size(), FT_SIZE_REQUEST_TYPE_NOMINAL, FT_Size_RequestRec_::height, FT_Size_RequestRec_::horiResolution, FT_Size_RequestRec_::type, FT_Size_RequestRec_::vertResolution, and FT_Size_RequestRec_::width.
Referenced by ftc_scaler_lookup_size(), and open_freetype_font_int().
FT_Set_Renderer | ( | FT_Library | library, | |
FT_Renderer | renderer, | |||
FT_UInt | num_params, | |||
FT_Parameter * | parameters | |||
) |
Definition at line 3732 of file ftobjs.c.
References FT_GLYPH_FORMAT_OUTLINE, FT_List_Find(), FT_List_Up(), and if().
Referenced by FT_Outline_Render(), and FT_Render_Glyph_Internal().
Definition at line 458 of file ftobjs.c.
References RooFitShortHand::L(), FT_Face_InternalRec_::transform_delta, FT_Face_InternalRec_::transform_flags, FT_Face_InternalRec_::transform_matrix, FT_Vector_::x, x10000L, FT_Matrix_::xx, FT_Matrix_::xy, FT_Vector_::y, FT_Matrix_::yx, and FT_Matrix_::yy.
Referenced by TTF::SetTextFont().
Definition at line 191 of file ftobjs.c.
References FT_FREE, and FT_Stream_Close().
Referenced by destroy_face(), FT_Attach_Stream(), and FT_Open_Face().
FT_Stream_New | ( | FT_Library | library, | |
const FT_Open_Args * | args, | |||
FT_Stream * | astream | |||
) |
Definition at line 129 of file ftobjs.c.
References error, FT_FREE, FT_NEW, FT_OPEN_MEMORY, FT_OPEN_PATHNAME, FT_OPEN_STREAM, FT_Stream_Open(), FT_Stream_OpenMemory(), and PC3::stream().
Referenced by FT_Attach_Stream(), and FT_Open_Face().
ft_synthesize_vertical_metrics | ( | FT_Glyph_Metrics * | metrics, | |
FT_Pos | advance | |||
) |
Definition at line 2426 of file ftobjs.c.
References FT_Pos, and height.
Referenced by BDF_Glyph_Load(), cff_slot_load(), cid_slot_load_glyph(), FNT_Load_Glyph(), PCF_Glyph_Load(), and T1_Load_Glyph().
ft_validator_error | ( | FT_Validator | valid, | |
FT_Error | error | |||
) |
ft_validator_init | ( | FT_Validator | valid, | |
const FT_Byte * | base, | |||
const FT_Byte * | limit, | |||
FT_ValidationLevel | level | |||
) |
ft_validator_run | ( | FT_Validator | valid | ) |
static FT_Error open_face | ( | FT_Driver | driver, | |
FT_Stream | stream, | |||
FT_Long | face_index, | |||
FT_Int | num_params, | |||
FT_Parameter * | params, | |||
FT_Face * | aface | |||
) | [static] |
Definition at line 1066 of file ftobjs.c.
References FT_DriverRec_::clazz, destroy_charmaps(), FT_Driver_ClassRec_::done_face, error, FT_Driver_ClassRec_::face_object_size, find_unicode_charmap(), FT_ALLOC, FT_FREE, FT_NEW, FT_PARAM_TAG_INCREMENTAL, i, FT_Driver_ClassRec_::init_face, FT_ModuleRec_::memory, NULL, params, FT_DriverRec_::root, and PC3::stream().
Referenced by FT_Open_Face().