42 #include FT_INTERNAL_DEBUG_H 44 #include FT_SERVICE_XFREE86_NAME_H 45 #include FT_SERVICE_GLYPH_DICT_H 46 #include FT_SERVICE_POSTSCRIPT_NAME_H 47 #include FT_SERVICE_POSTSCRIPT_INFO_H 50 #define FT_COMPONENT trace_t42 65 FT_STRCPYN( buffer, face->type1.glyph_names[glyph_index], buffer_max );
79 for ( i = 0; i <
face->type1.num_glyphs; i++ )
81 gname =
face->type1.glyph_names[
i];
83 if ( glyph_name[0] == gname[0] && !
ft_strcmp( glyph_name, gname ) )
91 static const FT_Service_GlyphDictRec t42_service_glyph_dict =
107 return (
const char*)face->type1.font_name;
111 static const FT_Service_PsFontNameRec t42_service_ps_font_name =
127 *afont_info = ((
T42_Face)face)->type1.font_info;
134 t42_ps_get_font_extra(
FT_Face face,
137 *afont_extra = ((
T42_Face)face)->type1.font_extra;
144 t42_ps_has_glyph_names(
FT_Face face )
153 t42_ps_get_font_private(
FT_Face face,
156 *afont_private = ((
T42_Face)face)->type1.private_dict;
162 static const FT_Service_PsInfoRec t42_service_ps_info =
203 #ifdef TT_USE_BYTECODE_INTERPRETER 233 #ifdef FT_CONFIG_OPTION_OLD_INTERNALS 234 ft_stub_set_char_sizes,
235 ft_stub_set_pixel_sizes,
T42_GlyphSlot_Done(FT_GlyphSlot t42slot)
const FT_Driver_ClassRec t42_driver_class
ft_service_list_lookup(FT_ServiceDesc service_descriptors, const char *service_id)
T42_Driver_Init(FT_Module module)
T42_Size_Init(FT_Size size)
FT_SERVICE_ID_POSTSCRIPT_INFO
#define FT_MODULE_DRIVER_SCALABLE
T42_GlyphSlot_Load(FT_GlyphSlot glyph, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags)
T42_Face_Init(FT_Stream stream, FT_Face t42face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
FT_BEGIN_HEADER struct T42_FaceRec_ * T42_Face
FT_BEGIN_HEADER struct T42_SizeRec_ T42_SizeRec
GLenum GLuint GLint GLenum face
T42_Size_Done(FT_Size t42size)
T42_GlyphSlot_Init(FT_GlyphSlot t42slot)
FT_BEGIN_HEADER struct T42_FaceRec_ T42_FaceRec
#define FT_MODULE_DRIVER_HAS_HINTER
T42_Size_Select(FT_Size t42size, FT_ULong strike_index)
#define FT_XF86_FORMAT_TYPE_42
FT_Long(* PS_GetFontValueFunc)(FT_Face face, PS_Dict_Keys key, FT_UInt idx, void *value, FT_Long value_len)
T42_Get_Interface(FT_Module module, const FT_String *t42_interface)
FT_UInt(* FT_GlyphDict_NameIndexFunc)(FT_Face face, FT_String *glyph_name)
#define FT_SERVICE_ID_XF86_NAME
T42_Size_Request(FT_Size t42size, FT_Size_Request req)
FT_Pointer FT_Module_Interface
#define FT_CALLBACK_DEF(x)
struct T42_DriverRec_ T42_DriverRec
#define FT_MODULE_FONT_DRIVER
FT_SERVICE_ID_POSTSCRIPT_FONT_NAME
FT_Error(* PS_GetFontExtraFunc)(FT_Face face, PS_FontExtraRec *afont_extra)
const char *(* FT_PsName_GetFunc)(FT_Face face)
T42_Face_Done(FT_Face t42face)
FT_BEGIN_HEADER struct PS_FontInfoRec_ PS_FontInfoRec
FT_Int(* PS_HasGlyphNamesFunc)(FT_Face face)
FT_Error(* PS_GetFontPrivateFunc)(FT_Face face, PS_PrivateRec *afont_private)
#define FT_STRCPYN(dst, src, size)
FT_Error(* FT_GlyphDict_GetNameFunc)(FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max)
T42_Driver_Done(FT_Module module)
FT_Error(* PS_GetFontInfoFunc)(FT_Face face, PS_FontInfoRec *afont_info)