20 #include FT_INTERNAL_CALC_H 21 #include FT_INTERNAL_DEBUG_H 22 #include FT_INTERNAL_STREAM_H 23 #include FT_TRUETYPE_IDS_H 30 #ifndef T1_CONFIG_OPTION_NO_AFM 34 #include FT_SERVICE_POSTSCRIPT_CMAPS_H 35 #include FT_INTERNAL_POSTSCRIPT_AUX_H 45 #define FT_COMPONENT trace_t1objs 68 return ( module && pshinter && pshinter->get_globals_funcs )
69 ? pshinter->get_globals_funcs( module )
85 funcs = T1_Size_Get_Globals_Funcs( size );
147 slot->internal->glyph_hints = 0;
174 slot->internal->glyph_hints = (
void*)funcs;
212 type1 = &face->
type1;
214 #ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT 258 #ifndef T1_CONFIG_OPTION_NO_AFM 266 FT_FREE( face->unicode_map_rec.maps );
267 face->unicode_map_rec.num_maps = 0;
268 face->unicode_map =
NULL;
308 FT_Service_PsCMaps psnames;
328 FT_ERROR((
"T1_Face_Init: cannot access `psaux' module\n" ));
344 if ( face_index < 0 )
348 if ( face_index > 0 )
350 FT_ERROR((
"T1_Face_Init: invalid face index\n" ));
405 if ( *full == *family )
412 if ( *full ==
' ' || *full ==
'-' )
414 else if ( *family ==
' ' || *family ==
'-' )
517 charmap.
encoding = FT_ENCODING_UNICODE;
532 charmap.
encoding = FT_ENCODING_ADOBE_STANDARD;
538 charmap.
encoding = FT_ENCODING_ADOBE_EXPERT;
540 clazz = cmap_classes->
expert;
544 charmap.
encoding = FT_ENCODING_ADOBE_CUSTOM;
546 clazz = cmap_classes->
custom;
550 charmap.
encoding = FT_ENCODING_ADOBE_LATIN_1;
PSH_Globals_SetScaleFunc set_scale
T1_CMap_Classes t1_cmap_classes
typedefFT_BEGIN_HEADER struct PSH_GlobalsRec_ * PSH_Globals
struct T1_FaceRec_ * T1_Face
FT_BEGIN_HEADER typedef signed long FT_Pos
T1_Size_Done(FT_Size t1size)
PS_PrivateRec private_dict
#define TT_ADOBE_ID_STANDARD
#define TT_ADOBE_ID_LATIN_1
T1_GlyphSlot_Init(FT_GlyphSlot slot)
FT_Short underline_thickness
#define FT_FACE_FLAG_SCALABLE
return FT_THROW(Missing_Property)
T1_Face_Init(FT_Stream stream, FT_Face t1face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
#define FT_FACE_FLAG_MULTIPLE_MASTERS
FT_Bitmap_Size * available_sizes
#define FT_FACE_FIND_GLOBAL_SERVICE(face, ptr, id)
PSH_Globals_NewFunc create
struct FT_Size_InternalRec_ * FT_Size_Internal
T1_Driver_Init(FT_Module driver)
#define TT_PLATFORM_MICROSOFT
PSH_Globals_DestroyFunc destroy
T1_Done_Metrics(FT_Memory memory, AFM_FontInfo fi)
T1_Face_Done(FT_Face t1face)
FT_BEGIN_HEADER typedef unsigned char FT_Bool
FT_Short max_advance_height
GLenum GLuint GLint GLenum face
#define FT_ERROR(varformat)
#define FT_ASSERT(condition)
#define FT_STYLE_FLAG_BOLD
FT_Size_Internal internal
T1_Size_Init(FT_Size t1size)
#define TT_ADOBE_ID_CUSTOM
FT_Byte * charstrings_block
T1_Driver_Done(FT_Module driver)
#define FT_FACE_FLAG_FIXED_WIDTH
FT_Request_Metrics(FT_Face face, FT_Size_Request req)
#define TT_ADOBE_ID_EXPERT
struct T1_SizeRec_ * T1_Size
#define FT_FACE_FLAG_HORIZONTAL
T1_Hints_Funcs(* get_t1_funcs)(FT_Module module)
struct PSAux_ServiceRec_ * PSAux_Service
#define FT_TRACE2(varformat)
#define TT_PLATFORM_ADOBE
FT_PtrDist * charstrings_len
struct FT_FaceRec_ * FT_Face
FT_Short underline_position
FT_Byte * glyph_names_block
T1_Done_Blend(T1_Face face)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
T1_EncodingType encoding_type
#define FT_FACE_FLAG_HINTER
if(!abbox) return FT_THROW(Invalid_Argument)
FT_CMap_New(FT_CMap_Class clazz, FT_Pointer init_data, FT_CharMap charmap, FT_CMap *acmap)
GLenum const GLfloat * params
FT_UShort underline_thickness
T1_Open_Face(T1_Face face)
T1_Size_Request(FT_Size t1size, FT_Size_Request req)
FT_Get_Module(FT_Library library, const char *module_name)
T1_Compute_Max_Advance(T1_Face face, FT_Pos *max_advance)
FT_Get_Module_Interface(FT_Library library, const char *mod_name)
#define TT_MS_ID_UNICODE_CS
T1_GlyphSlot_Done(FT_GlyphSlot slot)
#define FT_STYLE_FLAG_ITALIC
#define FT_FACE_LIBRARY(x)
#define FT_FACE_FLAG_GLYPH_NAMES
FT_Short max_advance_width
FT_Short underline_position