blob: 34fbfebc5f8bdff9d0f9387c5a5e52bc9f6bd4db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Harfbuzz
http://freedesktop.org/wiki/Software/HarfBuzz
This code was taken from cb83c38045a7dd098f8edd4530d328e999a7bbaf
(git://anongit.freedesktop.org/harfbuzz)
The contrib/ directory was written by us and is in the process of getting upstreamed. Additionally, this patch was applied:
diff --git a/src/harfbuzz-shaper.h b/src/harfbuzz-shaper.h
index e8f5513..1577b59 100644
--- a/src/harfbuzz-shaper.h
+++ b/src/harfbuzz-shaper.h
@@ -242,7 +242,9 @@ typedef struct HB_Font_ {
void *userData;
} HB_FontRec;
-typedef struct {
+typedef struct HB_ShaperItem_ HB_ShaperItem;
+
+struct HB_ShaperItem_ {
const HB_UChar16 *string;
hb_uint32 stringLength;
HB_ScriptItem item;
@@ -262,7 +264,7 @@ typedef struct {
/* internal */
HB_Bool kerning_applied; /* out: kerning applied by shaper */
-} HB_ShaperItem;
+};
HB_Bool HB_ShapeItem(HB_ShaperItem *item);
|