20#include FT_INTERNAL_CALC_H
21#include FT_INTERNAL_DEBUG_H
22#include FT_INTERNAL_STREAM_H
23#include FT_TRUETYPE_IDS_H
31#ifndef T1_CONFIG_OPTION_NO_AFM
35#include FT_SERVICE_POSTSCRIPT_CMAPS_H
36#include FT_INTERNAL_POSTSCRIPT_AUX_H
46#define FT_COMPONENT trace_t1objs
66 return (
module && pshinter && pshinter->get_globals_funcs )
67 ? pshinter->get_globals_funcs(
module )
78 if ( t1size->internal->module_data )
87 t1size->internal->module_data =
NULL;
107 &
face->type1.private_dict, &globals );
109 t1size->internal->module_data = globals;
128 size->root.metrics.x_scale,
129 size->root.metrics.y_scale,
172 slot->internal->glyph_hints = (
void*)
funcs;
210 type1 = &
face->type1;
212#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
216 if (
face->buildchar )
221 face->len_buildchar = 0;
259#ifndef T1_CONFIG_OPTION_NO_AFM
261 if (
face->afm_data )
268 face->unicode_map_rec.num_maps = 0;
309 FT_Service_PsCMaps psnames;
319 face->root.num_faces = 1;
322 face->psnames = psnames;
329 FT_ERROR((
"T1_Face_Init: cannot access `psaux' module\n" ));
345 if ( face_index < 0 )
349 if ( ( face_index & 0xFFFF ) > 0 )
351 FT_ERROR((
"T1_Face_Init: invalid face index\n" ));
366 root->face_index = 0;
373 if (
info->is_fixed_pitch )
387 root->family_name =
info->family_name;
390 if (
root->family_name )
392 char* full =
info->full_name;
393 char* family =
root->family_name;
403 if ( *full == *family )
410 if ( *full ==
' ' || *full ==
'-' )
412 else if ( *family ==
' ' || *family ==
'-' )
419 root->style_name = full;
426 root->style_name = (
char *)
"Regular";
436 if ( !
root->style_name )
442 root->style_name = (
char *)
"Regular";
446 root->style_flags = 0;
447 if (
info->italic_angle )
457 root->num_fixed_sizes = 0;
467 if ( !
root->units_per_EM )
468 root->units_per_EM = 1000;
478 root->max_advance_width =
493 root->max_advance_height =
root->height;
515 charmap.
encoding = FT_ENCODING_UNICODE;
530 charmap.
encoding = FT_ENCODING_ADOBE_STANDARD;
536 charmap.
encoding = FT_ENCODING_ADOBE_EXPERT;
538 clazz = cmap_classes->
expert;
542 charmap.
encoding = FT_ENCODING_ADOBE_CUSTOM;
544 clazz = cmap_classes->
custom;
548 charmap.
encoding = FT_ENCODING_ADOBE_LATIN_1;
590#ifdef T1_CONFIG_OPTION_OLD_ENGINE
608 seed = (FT_UInt32)( (
FT_Offset)(
char*)&seed ^
611 seed = seed ^ ( seed >> 10 ) ^ ( seed >> 20 );
613 driver->random_seed = (FT_Int32)seed;
614 if (
driver->random_seed < 0 )
616 else if (
driver->random_seed == 0 )
617 driver->random_seed = 123456789;
#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1
#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y4
#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_X4
#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_X2
#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y2
#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y1
#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_X3
#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y3
#define TT_MS_ID_UNICODE_CS
#define TT_PLATFORM_MICROSOFT
#define FT_STYLE_FLAG_ITALIC
#define FT_FACE_FLAG_SCALABLE
#define FT_FACE_FLAG_HINTER
#define FT_FACE_FLAG_FIXED_WIDTH
struct FT_FaceRec_ * FT_Face
#define FT_FACE_FLAG_GLYPH_NAMES
#define FT_FACE_FLAG_MULTIPLE_MASTERS
#define FT_STYLE_FLAG_BOLD
#define FT_FACE_FLAG_HORIZONTAL
#define FT_ASSERT(condition)
#define FT_ERROR(varformat)
#define FT_TRACE2(varformat)
#define FT_HINTING_FREETYPE
FT_BEGIN_HEADER typedef signed long FT_Pos
FT_Get_Module(FT_Library library, const char *module_name)
#define FT_FACE_LIBRARY(x)
FT_Request_Metrics(FT_Face face, FT_Size_Request req)
FT_CMap_New(FT_CMap_Class clazz, FT_Pointer init_data, FT_CharMap charmap, FT_CMap *acmap)
FT_Get_Module_Interface(FT_Library library, const char *mod_name)
#define FT_FACE_FIND_GLOBAL_SERVICE(face, ptr, id)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
FT_BEGIN_HEADER typedef unsigned char FT_Bool
GLenum GLuint GLint GLenum face
GLenum const GLfloat * params
typedefFT_BEGIN_HEADER struct PSH_GlobalsRec_ * PSH_Globals
static char memory[1024 *256]
struct @1678::@1679 driver
FT_BEGIN_HEADER struct PS_DriverRec_ * PS_Driver
struct PSAux_ServiceRec_ * PSAux_Service
static struct __wine_debug_functions funcs
T1_CMap_Classes t1_cmap_classes
T1_Hints_Funcs(* get_t1_funcs)(FT_Module module)
T1_EncodingType encoding_type
FT_UInt * charstrings_len
FT_Byte * charstrings_block
FT_Byte * glyph_names_block
T1_Done_Metrics(FT_Memory memory, AFM_FontInfo fi)
T1_Compute_Max_Advance(T1_Face face, FT_Pos *max_advance)
T1_Done_Blend(T1_Face face)
T1_Open_Face(T1_Face face)
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)
static PSH_Globals_Funcs T1_Size_Get_Globals_Funcs(T1_Size size)
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_SizeRec_ * T1_Size
@ T1_ENCODING_TYPE_ISOLATIN1
@ T1_ENCODING_TYPE_STANDARD
@ T1_ENCODING_TYPE_EXPERT
struct T1_FaceRec_ * T1_Face
#define TT_ADOBE_ID_EXPERT
#define TT_ADOBE_ID_STANDARD
#define TT_PLATFORM_ADOBE
#define TT_ADOBE_ID_LATIN_1
#define TT_ADOBE_ID_CUSTOM