22#include FT_INTERNAL_OBJECTS_H
23#include FT_INTERNAL_DEBUG_H
30#define FT_COMPONENT trace_cache
120 FT_ERROR((
"ftc_snode_load: invalid glyph index" ));
121 return FT_THROW( Invalid_Argument );
137 FT_Pos xadvance, yadvance;
140 if (
slot->format != FT_GLYPH_FORMAT_BITMAP )
143 " glyph loaded didn't return a bitmap\n" ));
151#define CHECK_CHAR( d ) ( temp = (FT_Char)d, (FT_Int) temp == (FT_Int) d )
152#define CHECK_BYTE( d ) ( temp = (FT_Byte)d, (FT_UInt)temp == (FT_UInt)d )
155 xadvance = (
slot->advance.x + 32 ) >> 6;
156 yadvance = (
slot->advance.y + 32 ) >> 6;
167 " glyph too large for small bitmap cache\n"));
217 FT_UInt gindex = gquery->gindex;
245 for ( node_count = 0; node_count <
count; node_count++ )
296 size =
sizeof ( *snode );
340 *list_changed =
FALSE;
387 ftcsnode->ref_count++;
396 ftcsnode->ref_count--;
418 cache, list_changed );
#define FTC_CACHE_TRYLOOP_END(list_changed)
#define FTC_CACHE_TRYLOOP(cache)
FTC_GNode_Done(FTC_GNode gnode, FTC_Cache cache)
FTC_GNode_Init(FTC_GNode gnode, FT_UInt gindex, FTC_Family family)
FT_BEGIN_HEADER struct FTC_FamilyRec_ * FTC_Family
struct FTC_GQueryRec_ * FTC_GQuery
ftc_snode_new(FTC_Node *ftcpsnode, FT_Pointer ftcgquery, FTC_Cache cache)
ftc_snode_weight(FTC_Node ftcsnode, FTC_Cache cache)
FTC_SNode_Compare(FTC_SNode snode, FTC_GQuery gquery, FTC_Cache cache, FT_Bool *list_changed)
ftc_snode_free(FTC_Node ftcsnode, FTC_Cache cache)
static FT_Error ftc_snode_load(FTC_SNode snode, FTC_Manager manager, FT_UInt gindex, FT_ULong *asize)
static FT_Error ftc_sbit_copy_bitmap(FTC_SBit sbit, FT_Bitmap *bitmap, FT_Memory memory)
FTC_SNode_New(FTC_SNode *psnode, FTC_GQuery gquery, FTC_Cache cache)
FTC_SNode_Free(FTC_SNode snode, FTC_Cache cache)
ftc_snode_compare(FTC_Node ftcsnode, FT_Pointer ftcgquery, FTC_Cache cache, FT_Bool *list_changed)
#define FTC_CACHE_SFAMILY_CLASS(x)
const FTC_SFamilyClassRec * FTC_SFamilyClass
struct FTC_SNodeRec_ * FTC_SNode
#define FTC_SBIT_ITEMS_PER_NODE
#define FT_ASSERT(condition)
#define FT_TRACE0(varformat)
#define FT_ERROR(varformat)
#define FT_TRACE2(varformat)
FT_BEGIN_HEADER typedef signed long FT_Pos
#define FT_ALLOC(ptr, size)
#define FT_MEM_COPY(dest, source, count)
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
static char memory[1024 *256]
FTC_SFamily_GetCountFunc family_get_count
FTC_SFamily_LoadGlyphFunc family_load_glyph
FTC_MruListClassRec clazz
FTC_SBitRec sbits[FTC_SBIT_ITEMS_PER_NODE]