20#include FT_INTERNAL_DEBUG_H
21#include FT_INTERNAL_STREAM_H
22#include FT_TRUETYPE_TAGS_H
24#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
25#include FT_SERVICE_METRICS_VARIATIONS_H
48#define FT_COMPONENT trace_ttmtx
83 ptable_offset = &
face->vert_metrics_offset;
84 ptable_size = &
face->vert_metrics_size;
89 ptable_offset = &
face->horz_metrics_offset;
90 ptable_size = &
face->horz_metrics_size;
134#define FT_STRUCTURE TT_HoriHeader
160 void *
v = &
face->vertical;
230#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
231 FT_Service_MetricsVariations
var =
232 (FT_Service_MetricsVariations)
face->var;
238 void*
v = &
face->vertical;
242 table_pos =
face->vert_metrics_offset;
248 table_pos =
face->horz_metrics_offset;
254 k =
header->number_Of_HMetrics;
260 table_pos += 4 * gindex;
261 if ( table_pos + 4 > table_end )
271 table_pos += 4 * (
k - 1 );
272 if ( table_pos + 4 > table_end )
279 table_pos += 4 + 2 * ( gindex -
k );
280 if ( table_pos + 2 > table_end )
296#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
306 if (
var->vadvance_adjust )
307 var->vadvance_adjust(
f, gindex, &
a );
308 if (
var->tsb_adjust )
309 var->tsb_adjust(
f, gindex, &
b );
313 if (
var->hadvance_adjust )
314 var->hadvance_adjust(
f, gindex, &
a );
315 if (
var->lsb_adjust )
316 var->lsb_adjust(
f, gindex, &
b );
#define FT_TRACE3(varformat)
#define FT_READ_USHORT(var)
#define FT_STREAM_SEEK(position)
#define FT_FRAME_SHORT(f)
#define FT_FRAME_ULONG(f)
#define FT_STREAM_READ_FIELDS(fields, object)
#define FT_FRAME_START(size)
#define FT_FRAME_USHORT(f)
#define FT_READ_SHORT(var)
FT_BEGIN_HEADER typedef unsigned char FT_Bool
GLenum GLuint GLint GLenum face
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
tt_face_get_metrics(TT_Face face, FT_Bool vertical, FT_UInt gindex, FT_Short *abearing, FT_UShort *aadvance)
tt_face_load_hhea(TT_Face face, FT_Stream stream, FT_Bool vertical)
tt_face_load_hmtx(TT_Face face, FT_Stream stream, FT_Bool vertical)
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
_Reserved_ PVOID Reserved