t42objs.c File Reference

#include "t42objs.h"
#include "t42parse.h"
#include "t42error.h"

Go to the source code of this file.

Defines

#define FT_COMPONENT   trace_t42

Functions

static FT_Error T42_Open_Face (T42_Face face)
 T42_Face_Init (FT_Stream stream, T42_Face face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
 T42_Face_Done (T42_Face face)
 T42_Driver_Init (T42_Driver driver)
 T42_Driver_Done (T42_Driver driver)
 T42_Size_Init (T42_Size size)
 T42_Size_Request (T42_Size size, FT_Size_Request req)
 T42_Size_Select (T42_Size size, FT_ULong strike_index)
 T42_Size_Done (T42_Size size)
 T42_GlyphSlot_Init (T42_GlyphSlot slot)
 T42_GlyphSlot_Done (T42_GlyphSlot slot)
static void t42_glyphslot_clear (FT_GlyphSlot slot)
 T42_GlyphSlot_Load (FT_GlyphSlot glyph, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags)


Define Documentation

#define FT_COMPONENT   trace_t42

Definition at line 27 of file t42objs.c.


Function Documentation

T42_Driver_Done ( T42_Driver  driver  ) 

Definition at line 471 of file t42objs.c.

References FT_UNUSED.

T42_Driver_Init ( T42_Driver  driver  ) 

Definition at line 458 of file t42objs.c.

References FT_ModuleRec_::clazz, FT_Get_Module(), and FT_MODULE.

T42_Face_Done ( T42_Face  face  ) 

Definition at line 389 of file t42objs.c.

References T1_FontRec_::charstrings, T1_FontRec_::charstrings_block, T1_FontRec_::charstrings_len, T1_FontRec_::encoding, T1_FontRec_::font_info, T1_FontRec_::font_name, FT_Done_Face(), FT_FREE, T1_FontRec_::glyph_names, T1_FontRec_::glyph_names_block, and info.

T42_Face_Init ( FT_Stream  stream,
T42_Face  face,
FT_Int  face_index,
FT_Int  num_params,
FT_Parameter params 
)

Definition at line 153 of file t42objs.c.

References T1_CMap_ClassesRec_::custom, FT_CharMapRec_::encoding, FT_CharMapRec_::encoding_id, error, T1_CMap_ClassesRec_::expert, FT_CharMapRec_::face, FT_Open_Args_::flags, FT_CMap_New(), FT_Done_Size(), FT_ENCODING_ADOBE_CUSTOM, FT_ENCODING_ADOBE_EXPERT, FT_ENCODING_ADOBE_LATIN_1, FT_ENCODING_ADOBE_STANDARD, FT_ENCODING_UNICODE, FT_ERROR, FT_FACE_FIND_GLOBAL_SERVICE, FT_FACE_FLAG_FIXED_WIDTH, FT_FACE_FLAG_GLYPH_NAMES, FT_FACE_FLAG_HINTER, FT_FACE_FLAG_HORIZONTAL, FT_FACE_FLAG_SCALABLE, FT_FACE_FLAG_VERTICAL, FT_FACE_LIBRARY, FT_Get_Module_Interface(), FT_Open_Face(), FT_OPEN_MEMORY, FT_OPEN_PARAMS, FT_STYLE_FLAG_BOLD, FT_STYLE_FLAG_ITALIC, FT_UNUSED, info, FT_Open_Args_::memory_base, FT_Open_Args_::memory_size, NULL, FT_Open_Args_::num_params, FT_Open_Args_::params, FT_CharMapRec_::platform_id, root, T1_CMap_ClassesRec_::standard, PSAux_ServiceRec_::t1_cmap_classes, T1_ENCODING_TYPE_ARRAY, T1_ENCODING_TYPE_EXPERT, T1_ENCODING_TYPE_ISOLATIN1, T1_ENCODING_TYPE_STANDARD, T42_Open_Face(), and T1_CMap_ClassesRec_::unicode.

static void t42_glyphslot_clear ( FT_GlyphSlot  slot  )  [static]

Definition at line 581 of file t42objs.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_::metrics, FT_GlyphSlotRec_::num_subglyphs, FT_GlyphSlotRec_::other, FT_GlyphSlotRec_::outline, and FT_GlyphSlotRec_::subglyphs.

Referenced by T42_GlyphSlot_Load().

T42_GlyphSlot_Done ( T42_GlyphSlot  slot  ) 

Definition at line 574 of file t42objs.c.

References FT_Done_GlyphSlot().

T42_GlyphSlot_Init ( T42_GlyphSlot  slot  ) 

Definition at line 550 of file t42objs.c.

References error, FT_New_GlyphSlot(), and NULL.

T42_GlyphSlot_Load ( FT_GlyphSlot  glyph,
FT_Size  size,
FT_UInt  glyph_index,
FT_Int32  load_flags 
)

Definition at line 606 of file t42objs.c.

References FT_GlyphSlotRec_::bitmap, FT_GlyphSlotRec_::bitmap_left, FT_GlyphSlotRec_::bitmap_top, FT_GlyphSlotRec_::control_data, FT_GlyphSlotRec_::control_len, error, FT_GlyphSlotRec_::format, FT_LOAD_NO_BITMAP, FT_GlyphSlotRec_::linearHoriAdvance, FT_GlyphSlotRec_::linearVertAdvance, FT_Driver_ClassRec_::load_glyph, FT_GlyphSlotRec_::metrics, FT_GlyphSlotRec_::num_subglyphs, FT_GlyphSlotRec_::outline, FT_GlyphSlotRec_::subglyphs, t42_glyphslot_clear(), and T42_GlyphSlotRec_::ttslot.

static FT_Error T42_Open_Face ( T42_Face  face  )  [static]

Definition at line 31 of file t42objs.c.

References PS_TableRec_::block, T1_FontRec_::charstrings, T42_Loader_::charstrings, T1_FontRec_::charstrings_block, T1_FontRec_::charstrings_len, PS_TableRec_::elements, T1_FontRec_::encoding, T42_Loader_::encoding_table, T1_FontRec_::encoding_type, error, T1_FontRec_::font_type, FT_ALLOC, FT_ERROR, ft_strcmp, T1_FontRec_::glyph_names, T42_Loader_::glyph_names, T1_FontRec_::glyph_names_block, if(), PS_TableRec_::init, PS_TableRec_::lengths, PS_TableRec_::max_elems, T42_Loader_::num_chars, T42_Loader_::num_glyphs, T1_FontRec_::num_glyphs, T42_Loader_::parser, T1_ENCODING_TYPE_ARRAY, t42_loader_done(), t42_loader_init(), t42_parse_dict(), and t42_parser_init().

Referenced by T42_Face_Init().

T42_Size_Done ( T42_Size  size  ) 

Definition at line 533 of file t42objs.c.

References FT_Done_Size(), FT_List_Find(), and NULL.

T42_Size_Init ( T42_Size  size  ) 

Definition at line 478 of file t42objs.c.

References error, FT_Activate_Size(), and FT_New_Size().

T42_Size_Request ( T42_Size  size,
FT_Size_Request  req 
)

Definition at line 496 of file t42objs.c.

References error, FT_Activate_Size(), and FT_Request_Size().

T42_Size_Select ( T42_Size  size,
FT_ULong  strike_index 
)

Definition at line 514 of file t42objs.c.

References error, FT_Activate_Size(), and FT_Select_Size().


Generated on Tue Jul 5 15:58:27 2011 for ROOT_528-00b_version by  doxygen 1.5.1