22#include FT_INTERNAL_DEBUG_H
32#define FT_COMPONENT trace_afglobal
37#define WRITING_SYSTEM( ws, WS )
45#define SCRIPT( s, S, d, h, H, ss ) \
46 AF_DEFINE_SCRIPT_CLASS( \
47 af_ ## s ## _script_class, \
49 af_ ## s ## _uniranges, \
50 af_ ## s ## _nonbase_uniranges, \
58#define STYLE( s, S, d, ws, sc, ss, c ) \
59 AF_DEFINE_STYLE_CLASS( \
60 af_ ## s ## _style_class, \
70#ifndef FT_CONFIG_OPTION_PIC
73#define WRITING_SYSTEM( ws, WS ) \
74 &af_ ## ws ## _writing_system_class,
87#define SCRIPT( s, S, d, h, H, ss ) \
88 &af_ ## s ## _script_class,
101#define STYLE( s, S, d, ws, sc, ss, c ) \
102 &af_ ## s ## _style_class,
116#ifdef FT_DEBUG_LEVEL_TRACE
119#define STYLE( s, S, d, ws, sc, ss, c ) #s,
181 globals->
module->default_script )
203 if ( gindex == 0 || charcode >
range->last )
232 if ( gindex == 0 || charcode >
range->last )
262 for (
i = 0x30;
i <= 0x39;
i++ )
285 gstyles[nn] &= ~AF_STYLE_MASK;
286 gstyles[nn] |= globals->
module->fallback_style;
291#ifdef FT_DEBUG_LEVEL_TRACE
311 if ( !(
count % 10 ) )
317 if ( !(
count % 10 ) )
350 sizeof ( *globals ) +
366#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
367 globals->hb_font = hb_ft_font_create(
face,
NULL );
368 globals->hb_buf = hb_buffer_create();
397 if ( globals->metrics[nn] )
408 FT_FREE( globals->metrics[nn] );
412#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
413 hb_font_destroy( globals->hb_font );
414 hb_buffer_destroy( globals->hb_buf );
439 if ( gindex >= (
FT_ULong)globals->glyph_count )
465 metrics->style_class = style_class;
496 if ( gindex < (
FT_ULong)globals->glyph_count )
af_face_globals_is_digit(AF_FaceGlobals globals, FT_UInt gindex)
af_face_globals_new(FT_Face face, AF_FaceGlobals *aglobals, AF_Module module)
af_face_globals_free(AF_FaceGlobals globals)
af_face_globals_get_metrics(AF_FaceGlobals globals, FT_UInt gindex, FT_UInt options, AF_StyleMetrics *ametrics)
af_writing_system_classes[]
static FT_Error af_face_globals_compute_style_coverage(AF_FaceGlobals globals)
#define AF_PROP_INCREASE_X_HEIGHT_MAX
#define AF_STYLE_UNASSIGNED
FT_BEGIN_HEADER struct AF_ModuleRec_ * AF_Module
#define AF_SCRIPT_CLASSES_GET
#define AF_STYLE_CLASSES_GET
#define AF_WRITING_SYSTEM_CLASSES_GET
FT_Error af_shaper_get_coverage(AF_FaceGlobals globals, AF_StyleClass style_class, FT_UShort *gstyles, FT_Bool default_script)
FT_Get_Char_Index(FT_Face face, FT_ULong charcode)
FT_Select_Charmap(FT_Face face, FT_Encoding encoding)
FT_Get_Next_Char(FT_Face face, FT_ULong char_code, FT_UInt *agindex)
FT_Set_Charmap(FT_Face face, FT_CharMap charmap)
#define FT_LOCAL_ARRAY_DEF(x)
#define FT_TRACE4(varformat)
#define FT_ALLOC(ptr, size)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
FT_BEGIN_HEADER typedef unsigned char FT_Bool
GLuint GLuint GLsizei count
GLenum GLuint GLint GLenum face
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
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
static char memory[1024 *256]
FT_UShort stem_darkening_for_ppem
FT_Pos standard_horizontal_width
FT_Pos standard_vertical_width
FT_UInt increase_x_height
FT_Fixed scale_down_factor
AF_Script_UniRange script_uni_nonbase_ranges
AF_Script_UniRange script_uni_ranges
AF_WritingSystem writing_system
AF_WritingSystem_DoneMetricsFunc style_metrics_done
FT_Offset style_metrics_size
AF_WritingSystem_InitMetricsFunc style_metrics_init
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList