tools/qharfbuzz.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5extern "C" { -
6 -
7void HB_GetUnicodeCharProperties(HB_UChar32 ch, HB_CharCategory *category, int *combiningClass) -
8{ -
9 const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ch); -
10 *category = (HB_CharCategory)prop->category; -
11 *combiningClass = prop->combiningClass; -
12}
executed: }
Execution Count:2917021
2917021
13 -
14HB_CharCategory HB_GetUnicodeCharCategory(HB_UChar32 ch) -
15{ -
16 return (HB_CharCategory)QChar::category(ch);
executed: return (HB_CharCategory)QChar::category(ch);
Execution Count:75
75
17} -
18 -
19int HB_GetUnicodeCharCombiningClass(HB_UChar32 ch) -
20{ -
21 return QChar::combiningClass(ch);
never executed: return QChar::combiningClass(ch);
0
22} -
23 -
24HB_UChar16 HB_GetMirroredChar(HB_UChar16 ch) -
25{ -
26 return QChar::mirroredChar(ch);
never executed: return QChar::mirroredChar(ch);
0
27} -
28 -
29void (*HB_Library_Resolve(const char *library, int version, const char *symbol))() -
30{ -
31 -
32 -
33 -
34 return QLibrary::resolve(QLatin1String(library), version, symbol);
executed: return QLibrary::resolve(QLatin1String(library), version, symbol);
Execution Count:10
10
35 -
36} -
37 -
38} -
39 -
40 -
41 -
42HB_Bool qShapeItem(HB_ShaperItem *item) -
43{ -
44 return HB_ShapeItem(item);
executed: return HB_ShapeItem(item);
Execution Count:248442
248442
45} -
46 -
47HB_Face qHBNewFace(void *font, HB_GetFontTableFunc tableFunc) -
48{ -
49 return HB_AllocFace(font, tableFunc);
executed: return HB_AllocFace(font, tableFunc);
Execution Count:1887
1887
50} -
51 -
52HB_Face qHBLoadFace(HB_Face face) -
53{ -
54 return HB_LoadFace(face);
executed: return HB_LoadFace(face);
Execution Count:218
218
55} -
56 -
57void qHBFreeFace(HB_Face face) -
58{ -
59 HB_FreeFace(face); -
60}
executed: }
Execution Count:4413
4413
61 -
62 -
63 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial