235 {
242 FT_Int no_cmap_change = 0;
243
244
245 if ( cmap_index < 0 )
246 {
247
248
249
250
251
252 no_cmap_change = 1;
253 cmap_index = 0;
254 }
255
257 {
258 FT_TRACE0((
"FTC_CMapCache_Lookup: bad arguments, returning 0\n" ));
259 return 0;
260 }
261
262 query.face_id = face_id;
264 query.char_code = char_code;
265
267
268#if 1
271#else
273#endif
276
279
280
283 return 0;
284
288 {
290
291
292 gindex = 0;
293
299
301 {
303
304
306 cmap =
face->charmaps[cmap_index];
307
308 if ( old != cmap && !no_cmap_change )
310
312
313 if ( old != cmap && !no_cmap_change )
315 }
316
320 }
321
323 return gindex;
324 }
FT_Get_Char_Index(FT_Face face, FT_ULong charcode)
FT_Set_Charmap(FT_Face face, FT_CharMap charmap)
FTC_Manager_LookupFace(FTC_Manager manager, FTC_FaceID face_id, FT_Face *aface)
#define FTC_CACHE_LOOKUP_CMP(cache, nodecmp, hash, query, node, error)
ftc_cmap_node_compare(FTC_Node ftcnode, FT_Pointer ftcquery, FTC_Cache cache, FT_Bool *list_changed)
#define FTC_CMAP_HASH(faceid, index, charcode)
#define FT_ASSERT(condition)
#define FT_TRACE0(varformat)
GLenum GLuint GLint GLenum face