26#ifndef T1_CONFIG_OPTION_NO_AFM
30#include FT_INTERNAL_DEBUG_H
31#include FT_INTERNAL_STREAM_H
32#include FT_INTERNAL_HASH_H
33#include FT_INTERNAL_POSTSCRIPT_PROPS_H
36#include FT_SERVICE_MULTIPLE_MASTERS_H
37#include FT_SERVICE_GLYPH_DICT_H
38#include FT_SERVICE_FONT_FORMAT_H
39#include FT_SERVICE_POSTSCRIPT_NAME_H
40#include FT_SERVICE_POSTSCRIPT_CMAPS_H
41#include FT_SERVICE_POSTSCRIPT_INFO_H
42#include FT_SERVICE_PROPERTIES_H
43#include FT_SERVICE_KERNING_H
53#define FT_COMPONENT trace_t1driver
79 for (
i = 0;
i <
face->type1.num_glyphs;
i++ )
107 return (
const char*)
face->type1.font_name;
122#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
178 *afont_private = ((
T1_Face)
face)->type1.private_dict;
396 if ( idx < type1->private_dict.num_blue_values )
429 if ( idx < type1->private_dict.num_other_blues )
444 if ( idx < type1->private_dict.num_family_blues )
459 if ( idx < type1->private_dict.num_family_other_blues )
474 if ( idx < type1->private_dict.num_snap_widths )
489 if ( idx < type1->private_dict.num_snap_heights )
612#ifndef T1_CONFIG_OPTION_NO_AFM
626 t1_service_properties,
645#ifndef T1_CONFIG_OPTION_NO_AFM
649#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
666#ifndef T1_CONFIG_OPTION_NO_AFM
712 if (
face->afm_data )
759#ifdef T1_CONFIG_OPTION_NO_AFM
FT_Properties_SetFunc ps_property_set
#define FT_CALLBACK_DEF(x)
#define FT_CALLBACK_TABLE_DEF
size_t * ft_hash_num_lookup(FT_Int num, FT_Hash hash)
#define FT_STRCPYN(dst, src, size)
#define FT_MODULE_FONT_DRIVER
#define FT_MODULE_DRIVER_HAS_HINTER
#define FT_MODULE_DRIVER_SCALABLE
ps_property_get(FT_Module module, const char *property_name, void *value)
ft_service_list_lookup(FT_ServiceDesc service_descriptors, const char *service_id)
FT_BEGIN_HEADER typedef unsigned char FT_Bool
GLenum GLuint GLint GLenum face
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
FT_BEGIN_HEADER struct PS_DriverRec_ PS_DriverRec
FT_UShort standard_width[1]
FT_Short snap_heights[13]
FT_Byte num_family_other_blues
FT_UShort standard_height[1]
FT_Short family_blues[14]
FT_Short family_other_blues[10]
PS_PrivateRec private_dict
T1_EncodingType encoding_type
FT_UInt * charstrings_len
PS_FontExtraRec font_extra
#define FT_SERVICE_ID_FONT_FORMAT
#define FT_FONT_FORMAT_TYPE_1
#define FT_SERVICE_ID_GLYPH_DICT
FT_UInt(* FT_GlyphDict_NameIndexFunc)(FT_Face face, FT_String *glyph_name)
FT_Error(* FT_GlyphDict_GetNameFunc)(FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max)
#define FT_SERVICE_ID_KERNING
FT_Error(* FT_Set_Instance_Func)(FT_Face face, FT_UInt instance_index)
FT_Error(* FT_Set_MM_Blend_Func)(FT_Face face, FT_UInt num_coords, FT_Long *coords)
FT_Error(* FT_Get_MM_Func)(FT_Face face, FT_Multi_Master *master)
FT_Error(* FT_Set_MM_Design_Func)(FT_Face face, FT_UInt num_coords, FT_Long *coords)
FT_Error(* FT_Get_MM_Var_Func)(FT_Face face, FT_MM_Var **master)
FT_Error(* FT_Get_MM_Blend_Func)(FT_Face face, FT_UInt num_coords, FT_Long *coords)
#define FT_SERVICE_ID_MULTI_MASTERS
void(* FT_Done_Blend_Func)(FT_Face)
FT_Error(* FT_Get_Var_Blend_Func)(FT_Face face, FT_UInt *num_coords, FT_Fixed **coords, FT_Fixed **normalizedcoords, FT_MM_Var **mm_var)
FT_Error(* FT_Get_Var_Design_Func)(FT_Face face, FT_UInt num_coords, FT_Fixed *coords)
FT_Error(* FT_Set_Var_Design_Func)(FT_Face face, FT_UInt num_coords, FT_Fixed *coords)
#define FT_SERVICE_ID_POSTSCRIPT_FONT_NAME
const char *(* FT_PsName_GetFunc)(FT_Face face)
#define FT_DEFINE_SERVICE_PROPERTIESREC(class_, set_property_, get_property_)
FT_Error(* FT_Properties_GetFunc)(FT_Module module, const char *property_name, void *value)
FT_Error(* FT_Properties_SetFunc)(FT_Module module, const char *property_name, const void *value, FT_Bool value_is_string)
#define FT_SERVICE_ID_PROPERTIES
FT_Long(* PS_GetFontValueFunc)(FT_Face face, PS_Dict_Keys key, FT_UInt idx, void *value, FT_Long value_len)
FT_Error(* PS_GetFontInfoFunc)(FT_Face face, PS_FontInfoRec *afont_info)
FT_Int(* PS_HasGlyphNamesFunc)(FT_Face face)
FT_Error(* PS_GetFontExtraFunc)(FT_Face face, PS_FontExtraRec *afont_extra)
FT_Error(* PS_GetFontPrivateFunc)(FT_Face face, PS_PrivateRec *afont_private)
#define FT_SERVICE_ID_POSTSCRIPT_INFO
T1_Get_Kerning(AFM_FontInfo fi, FT_UInt glyph1, FT_UInt glyph2, FT_Vector *kerning)
T1_Read_Metrics(FT_Face t1_face, FT_Stream stream)
T1_Get_Track_Kerning(FT_Face face, FT_Fixed ptsize, FT_Int degree, FT_Fixed *kerning)
static const char * t1_get_ps_name(T1_Face face)
FT_CALLBACK_TABLE_DEF const FT_Driver_ClassRec t1_driver_class
static FT_Error t1_ps_get_font_private(FT_Face face, PS_PrivateRec *afont_private)
static FT_Error t1_get_glyph_name(T1_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max)
static const FT_Service_PsFontNameRec t1_service_ps_name
static const FT_Service_GlyphDictRec t1_service_glyph_dict
static FT_Int t1_ps_has_glyph_names(FT_Face face)
static const FT_Service_PsInfoRec t1_service_ps_info
static FT_Error t1_ps_get_font_extra(FT_Face face, PS_FontExtraRec *afont_extra)
static FT_Error Get_Kerning(FT_Face t1face, FT_UInt left_glyph, FT_UInt right_glyph, FT_Vector *kerning)
static FT_Long t1_ps_get_font_value(FT_Face face, PS_Dict_Keys key, FT_UInt idx, void *value, FT_Long value_len_)
static FT_Error t1_ps_get_font_info(FT_Face face, PS_FontInfoRec *afont_info)
static const FT_Service_MultiMastersRec t1_service_multi_masters
static FT_UInt t1_get_name_index(T1_Face face, FT_String *glyph_name)
Get_Interface(FT_Module module, const FT_String *t1_interface)
static const FT_Service_KerningRec t1_service_kerning
T1_Get_Advances(FT_Face t1face, FT_UInt first, FT_UInt count, FT_Int32 load_flags, FT_Fixed *advances)
T1_Load_Glyph(FT_GlyphSlot t1glyph, FT_Size t1size, FT_UInt glyph_index, FT_Int32 load_flags)
T1_Reset_MM_Blend(T1_Face face, FT_UInt instance_index)
T1_Get_Var_Design(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
T1_Get_MM_Blend(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
T1_Set_Var_Design(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
T1_Set_MM_Blend(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
T1_Done_Blend(T1_Face face)
T1_Set_MM_Design(T1_Face face, FT_UInt num_coords, FT_Long *coords)
T1_Get_MM_Var(T1_Face face, FT_MM_Var **master)
T1_Get_Multi_Master(T1_Face face, FT_Multi_Master *master)
T1_Face_Init(FT_Stream stream, FT_Face t1face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
T1_Driver_Init(FT_Module module)
T1_GlyphSlot_Done(FT_GlyphSlot slot)
T1_Size_Done(FT_Size t1size)
T1_Driver_Done(FT_Module driver)
T1_Size_Request(FT_Size t1size, FT_Size_Request req)
T1_Size_Init(FT_Size t1size)
T1_Face_Done(FT_Face t1face)
T1_GlyphSlot_Init(FT_GlyphSlot slot)
struct T1_GlyphSlotRec_ T1_GlyphSlotRec
@ PS_DICT_NUM_BLUE_VALUES
@ PS_DICT_NUM_STEM_SNAP_V
@ PS_DICT_NUM_CHAR_STRINGS
@ PS_DICT_NUM_STEM_SNAP_H
@ PS_DICT_NUM_FAMILY_OTHER_BLUES
@ PS_DICT_FAMILY_OTHER_BLUE
@ PS_DICT_NUM_FAMILY_BLUES
@ PS_DICT_NUM_OTHER_BLUES
@ PS_DICT_CHAR_STRING_KEY
@ PS_DICT_UNDERLINE_POSITION
@ PS_DICT_UNDERLINE_THICKNESS
enum PS_Dict_Keys_ PS_Dict_Keys
FT_BEGIN_HEADER struct PS_FontInfoRec_ PS_FontInfoRec
enum T1_EncodingType_ T1_EncodingType
struct T1_FaceRec_ T1_FaceRec
struct T1_FaceRec_ * T1_Face
FT_UInt FT_UInt FT_Vector * kerning
FT_UInt FT_UInt right_glyph