22#include FT_INTERNAL_DEBUG_H
32#define FT_COMPONENT afglobal
37#define WRITING_SYSTEM( ws, WS )
44#define SCRIPT( s, S, d, h, H, ss ) \
45 AF_DEFINE_SCRIPT_CLASS( \
46 af_ ## s ## _script_class, \
48 af_ ## s ## _uniranges, \
49 af_ ## s ## _nonbase_uniranges, \
57#define STYLE( s, S, d, ws, sc, ss, c ) \
58 AF_DEFINE_STYLE_CLASS( \
59 af_ ## s ## _style_class, \
70#define WRITING_SYSTEM( ws, WS ) \
71 &af_ ## ws ## _writing_system_class,
84#define SCRIPT( s, S, d, h, H, ss ) \
85 &af_ ## s ## _script_class,
98#define STYLE( s, S, d, ws, sc, ss, c ) \
99 &af_ ## s ## _style_class,
111#ifdef FT_DEBUG_LEVEL_TRACE
114#define STYLE( s, S, d, ws, sc, ss, c ) #s,
176 globals->
module->default_script )
198 if ( gindex == 0 || charcode >
range->last )
227 if ( gindex == 0 || charcode >
range->last )
257 for (
i = 0x30;
i <= 0x39;
i++ )
280 gstyles[nn] &= ~AF_STYLE_MASK;
281 gstyles[nn] |= globals->
module->fallback_style;
286#ifdef FT_DEBUG_LEVEL_TRACE
306 if ( !(
count % 10 ) )
312 if ( !(
count % 10 ) )
345 sizeof ( *globals ) +
361#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
362 globals->hb_font = hb_ft_font_create(
face,
NULL );
363 globals->hb_buf = hb_buffer_create();
392 if ( globals->metrics[nn] )
403 FT_FREE( globals->metrics[nn] );
407#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
408 hb_font_destroy( globals->hb_font );
409 hb_buffer_destroy( globals->hb_buf );
434 if ( gindex >= (
FT_ULong)globals->glyph_count )
460 metrics->style_class = style_class;
491 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
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