271 {
272#define TRICK_SFNT_IDS_PER_FACE 3
273#define TRICK_SFNT_IDS_NUM_FACES 26
274
277
278#define TRICK_SFNT_ID_cvt 0
279#define TRICK_SFNT_ID_fpgm 1
280#define TRICK_SFNT_ID_prep 2
281
282 {
283 { 0x05BCF058UL, 0x000002E4UL },
284 { 0x28233BF1UL, 0x000087C4UL },
285 { 0xA344A1EAUL, 0x000001E1UL }
286 },
287 {
288 { 0x05BCF058UL, 0x000002E4UL },
289 { 0x28233BF1UL, 0x000087C4UL },
290 { 0xA344A1EBUL, 0x000001E1UL }
291 },
292 {
293 { 0x12C3EBB2UL, 0x00000350UL },
294 { 0xB680EE64UL, 0x000087A7UL },
295 { 0xCE939563UL, 0x00000758UL }
296 },
297 {
298 { 0x11E5EAD4UL, 0x00000350UL },
299 { 0xCE5956E9UL, 0x0000BC85UL },
300 { 0x8272F416UL, 0x00000045UL }
301 },
302 {
303 { 0x1262EB4EUL, 0x00000350UL },
304 { 0xE86A5D64UL, 0x00007940UL },
305 { 0x7850F729UL, 0x000005FFUL }
306 },
307 {
308 { 0x122DEB0AUL, 0x00000350UL },
309 { 0x3D16328AUL, 0x0000859BUL },
310 { 0xA93FC33BUL, 0x000002CBUL }
311 },
312 {
313 { 0x125FEB26UL, 0x00000350UL },
314 { 0xA5ACC982UL, 0x00007EE1UL },
315 { 0x90999196UL, 0x0000041FUL }
316 },
317 {
318 { 0x11E5EAD4UL, 0x00000350UL },
319 { 0x5A30CA3BUL, 0x00009063UL },
320 { 0x13A42602UL, 0x0000007EUL }
321 },
322 {
323 { 0x11E5EAD4UL, 0x00000350UL },
324 { 0xA6E78C01UL, 0x00008998UL },
325 { 0x13A42602UL, 0x0000007EUL }
326 },
327 {
328 { 0x07DCF546UL, 0x00000308UL },
329 { 0x40FE7C90UL, 0x00008E2AUL },
330 { 0x608174B5UL, 0x0000007AUL }
331 },
332 {
333 { 0xEB891238UL, 0x00000308UL },
334 { 0xD2E4DCD4UL, 0x0000676FUL },
335 { 0x8EA5F293UL, 0x000003B8UL }
336 },
337 {
338 { 0xFFFBFFFCUL, 0x00000008UL },
339 { 0x9C9E48B8UL, 0x0000BEA2UL },
340 { 0x70020112UL, 0x00000008UL }
341 },
342 {
343 { 0xFFFBFFFCUL, 0x00000008UL },
344 { 0x0A5A0483UL, 0x00017C39UL },
345 { 0x70020112UL, 0x00000008UL }
346 },
347 {
348 { 0x00000000UL, 0x00000000UL },
349 { 0x40C92555UL, 0x000000E5UL },
350 { 0xA39B58E3UL, 0x0000117CUL }
351 },
352 {
353 { 0x00000000UL, 0x00000000UL },
354 { 0x33C41652UL, 0x000000E5UL },
355 { 0x26D6C52AUL, 0x00000F6AUL }
356 },
357 {
358 { 0x00000000UL, 0x00000000UL },
359 { 0x6DB1651DUL, 0x0000019DUL },
360 { 0x6C6E4B03UL, 0x00002492UL }
361 },
362 {
363 { 0x00000000UL, 0x00000000UL },
364 { 0x40C92555UL, 0x000000E5UL },
365 { 0xDE51FAD0UL, 0x0000117CUL }
366 },
367 {
368 { 0x00000000UL, 0x00000000UL },
369 { 0x85E47664UL, 0x000000E5UL },
370 { 0xA6C62831UL, 0x00001CAAUL }
371 },
372 {
373 { 0x00000000UL, 0x00000000UL },
374 { 0x2D891CFDUL, 0x0000019DUL },
375 { 0xA0604633UL, 0x00001DE8UL }
376 },
377 {
378 { 0x00000000UL, 0x00000000UL },
379 { 0x40AA774CUL, 0x000001CBUL },
380 { 0x9B5CAA96UL, 0x00001F9AUL }
381 },
382 {
383 { 0x00000000UL, 0x00000000UL },
384 { 0x0D3DE9CBUL, 0x00000141UL },
385 { 0xD4127766UL, 0x00002280UL }
386 },
387 {
388 { 0x00000000UL, 0x00000000UL },
389 { 0x4A692698UL, 0x000001F0UL },
390 { 0x340D4346UL, 0x00001FCAUL }
391 },
392 {
393 { 0x00000000UL, 0x00000000UL },
394 { 0xCD34C604UL, 0x00000166UL },
395 { 0x6CF31046UL, 0x000022B0UL }
396 },
397 {
398 { 0x00000000UL, 0x00000000UL },
399 { 0x5DA75315UL, 0x0000019DUL },
400 { 0x40745A5FUL, 0x000022E0UL }
401 },
402 {
403 { 0x00000000UL, 0x00000000UL },
404 { 0xF055FC48UL, 0x000001C2UL },
405 { 0x3900DED3UL, 0x00001E18UL }
406 },
407 {
408 { 0x00170003UL, 0x00000060UL },
409 { 0xDBB4306EUL, 0x000058AAUL },
410 { 0xD643482AUL, 0x00000035UL }
411 }
412 };
413
416 FT_Bool has_cvt, has_fpgm, has_prep;
419
420
426
427 for (
i = 0;
i <
face->num_tables;
i++ )
428 {
430
431 switch(
face->dir_tables[
i].Tag )
432 {
436 break;
437
441 break;
442
446 break;
447
448 default:
449 continue;
450 }
451
453 if (
face->dir_tables[
i].Length == sfnt_id[
j][
k].Length )
454 {
457
459 num_matched_ids[
j]++;
460
463 }
464 }
465
467 {
469 num_matched_ids[
j]++;
471 num_matched_ids[
j]++;
473 num_matched_ids[
j]++;
476 }
477
479 }
static cab_ULONG checksum(const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum)
#define FT_MEM_SET(dest, byte, count)
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 GLint GLint j
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define TRICK_SFNT_IDS_PER_FACE
#define TRICK_SFNT_IDS_NUM_FACES
#define TRICK_SFNT_ID_cvt
static FT_ULong tt_get_sfnt_checksum(TT_Face face, FT_UShort i)
#define TRICK_SFNT_ID_prep
#define TRICK_SFNT_ID_fpgm