pango 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/Rakefile +29 -3
  2. data/ext/pango/extconf.rb +7 -0
  3. data/ext/pango/rbpangocairo.c +12 -0
  4. data/ext/pango/rbpangofontmap.c +22 -3
  5. data/lib/1.9/pango.so +0 -0
  6. data/lib/2.0/pango.so +0 -0
  7. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  8. data/vendor/local/bin/hb-shape.exe +0 -0
  9. data/vendor/local/bin/hb-view.exe +0 -0
  10. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  11. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  12. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  13. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  14. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  15. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  16. data/vendor/local/bin/libstdc++-6.dll +0 -0
  17. data/vendor/local/bin/pango-querymodules.exe +0 -0
  18. data/vendor/local/bin/pango-view.exe +0 -0
  19. data/vendor/local/etc/pango/pango.modules +1 -0
  20. data/vendor/local/include/harfbuzz/hb-blob.h +127 -0
  21. data/vendor/local/include/harfbuzz/hb-buffer.h +323 -0
  22. data/vendor/local/include/harfbuzz/hb-common.h +317 -0
  23. data/vendor/local/include/harfbuzz/hb-font.h +454 -0
  24. data/vendor/local/include/harfbuzz/hb-ft.h +62 -0
  25. data/vendor/local/include/harfbuzz/hb-glib.h +52 -0
  26. data/vendor/local/include/harfbuzz/hb-gobject.h +69 -0
  27. data/vendor/local/include/harfbuzz/hb-ot-layout.h +293 -0
  28. data/vendor/local/include/harfbuzz/hb-ot-tag.h +59 -0
  29. data/vendor/local/include/harfbuzz/hb-ot.h +49 -0
  30. data/vendor/local/include/harfbuzz/hb-set.h +152 -0
  31. data/vendor/local/include/harfbuzz/hb-shape-plan.h +89 -0
  32. data/vendor/local/include/harfbuzz/hb-shape.h +81 -0
  33. data/vendor/local/include/harfbuzz/hb-unicode.h +357 -0
  34. data/vendor/local/include/harfbuzz/hb-uniscribe.h +49 -0
  35. data/vendor/local/include/harfbuzz/hb-version.h +66 -0
  36. data/vendor/local/include/harfbuzz/hb.h +45 -0
  37. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +2 -2
  38. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  39. data/vendor/local/include/pango-1.0/pango/pango-ot.h +242 -0
  40. data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +110 -0
  41. data/vendor/local/include/pango-1.0/pango/pangofc-font.h +153 -0
  42. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +289 -0
  43. data/vendor/local/include/pango-1.0/pango/pangoft2.h +120 -0
  44. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  45. data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
  46. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  47. data/vendor/local/lib/libharfbuzz.la +41 -0
  48. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  49. data/vendor/local/lib/libpango-1.0.la +1 -1
  50. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  51. data/vendor/local/lib/libpangocairo-1.0.la +2 -2
  52. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  53. data/vendor/local/lib/libpangoft2-1.0.la +41 -0
  54. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  55. data/vendor/local/lib/libpangowin32-1.0.la +1 -1
  56. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  57. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  58. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  59. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  60. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +41 -0
  61. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  62. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  63. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  64. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  65. data/vendor/local/lib/pkgconfig/harfbuzz.pc +11 -0
  66. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  67. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  68. data/vendor/local/lib/pkgconfig/pangoft2.pc +12 -0
  69. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  70. data/vendor/local/share/gir-1.0/Pango-1.0.gir +1 -1
  71. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +22 -1
  72. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +349 -0
  73. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +5 -5
  74. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +4 -4
  75. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +3 -3
  76. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +17 -17
  77. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +22 -22
  78. data/vendor/local/share/gtk-doc/html/pango/index.html +1 -1
  79. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +15 -15
  80. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +30 -30
  81. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +1 -1
  82. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +7 -7
  83. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +11 -11
  84. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +123 -123
  85. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +15 -15
  86. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +56 -56
  87. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +130 -130
  88. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +76 -76
  89. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +9 -9
  90. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +101 -101
  91. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +38 -38
  92. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +35 -35
  93. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +135 -135
  94. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +75 -75
  95. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +3 -3
  96. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +8 -8
  97. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +22 -22
  98. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +35 -35
  99. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +1 -1
  100. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +11 -11
  101. data/vendor/local/share/license/harfbuzz/AUTHORS +8 -0
  102. data/vendor/local/share/license/harfbuzz/COPYING +36 -0
  103. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  104. data/vendor/local/share/man/man1/pango-view.1 +1 -1
  105. metadata +50 -8
@@ -0,0 +1,81 @@
1
+ /*
2
+ * Copyright © 2009 Red Hat, Inc.
3
+ * Copyright © 2012 Google, Inc.
4
+ *
5
+ * This is part of HarfBuzz, a text shaping library.
6
+ *
7
+ * Permission is hereby granted, without written agreement and without
8
+ * license or royalty fees, to use, copy, modify, and distribute this
9
+ * software and its documentation for any purpose, provided that the
10
+ * above copyright notice and the following two paragraphs appear in
11
+ * all copies of this software.
12
+ *
13
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
14
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
15
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
16
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
17
+ * DAMAGE.
18
+ *
19
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
20
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
22
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
23
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
24
+ *
25
+ * Red Hat Author(s): Behdad Esfahbod
26
+ * Google Author(s): Behdad Esfahbod
27
+ */
28
+
29
+ #ifndef HB_H_IN
30
+ #error "Include <hb.h> instead."
31
+ #endif
32
+
33
+ #ifndef HB_SHAPE_H
34
+ #define HB_SHAPE_H
35
+
36
+ #include "hb-common.h"
37
+ #include "hb-buffer.h"
38
+ #include "hb-font.h"
39
+
40
+ HB_BEGIN_DECLS
41
+
42
+
43
+ typedef struct hb_feature_t {
44
+ hb_tag_t tag;
45
+ uint32_t value;
46
+ unsigned int start;
47
+ unsigned int end;
48
+ } hb_feature_t;
49
+
50
+ /* len=-1 means str is NUL-terminated */
51
+ hb_bool_t
52
+ hb_feature_from_string (const char *str, int len,
53
+ hb_feature_t *feature);
54
+
55
+ /* Something like 128 bytes is more than enough.
56
+ * nul-terminates. */
57
+ void
58
+ hb_feature_to_string (hb_feature_t *feature,
59
+ char *buf, unsigned int size);
60
+
61
+
62
+ void
63
+ hb_shape (hb_font_t *font,
64
+ hb_buffer_t *buffer,
65
+ const hb_feature_t *features,
66
+ unsigned int num_features);
67
+
68
+ hb_bool_t
69
+ hb_shape_full (hb_font_t *font,
70
+ hb_buffer_t *buffer,
71
+ const hb_feature_t *features,
72
+ unsigned int num_features,
73
+ const char * const *shaper_list);
74
+
75
+ const char **
76
+ hb_shape_list_shapers (void);
77
+
78
+
79
+ HB_END_DECLS
80
+
81
+ #endif /* HB_SHAPE_H */
@@ -0,0 +1,357 @@
1
+ /*
2
+ * Copyright © 2009 Red Hat, Inc.
3
+ * Copyright © 2011 Codethink Limited
4
+ * Copyright © 2011,2012 Google, Inc.
5
+ *
6
+ * This is part of HarfBuzz, a text shaping library.
7
+ *
8
+ * Permission is hereby granted, without written agreement and without
9
+ * license or royalty fees, to use, copy, modify, and distribute this
10
+ * software and its documentation for any purpose, provided that the
11
+ * above copyright notice and the following two paragraphs appear in
12
+ * all copies of this software.
13
+ *
14
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
15
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
16
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
17
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
18
+ * DAMAGE.
19
+ *
20
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
21
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
22
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
23
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
24
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
25
+ *
26
+ * Red Hat Author(s): Behdad Esfahbod
27
+ * Codethink Author(s): Ryan Lortie
28
+ * Google Author(s): Behdad Esfahbod
29
+ */
30
+
31
+ #ifndef HB_H_IN
32
+ #error "Include <hb.h> instead."
33
+ #endif
34
+
35
+ #ifndef HB_UNICODE_H
36
+ #define HB_UNICODE_H
37
+
38
+ #include "hb-common.h"
39
+
40
+ HB_BEGIN_DECLS
41
+
42
+
43
+ /* hb_unicode_general_category_t */
44
+
45
+ /* Unicode Character Database property: General_Category (gc) */
46
+ typedef enum
47
+ {
48
+ HB_UNICODE_GENERAL_CATEGORY_CONTROL, /* Cc */
49
+ HB_UNICODE_GENERAL_CATEGORY_FORMAT, /* Cf */
50
+ HB_UNICODE_GENERAL_CATEGORY_UNASSIGNED, /* Cn */
51
+ HB_UNICODE_GENERAL_CATEGORY_PRIVATE_USE, /* Co */
52
+ HB_UNICODE_GENERAL_CATEGORY_SURROGATE, /* Cs */
53
+ HB_UNICODE_GENERAL_CATEGORY_LOWERCASE_LETTER, /* Ll */
54
+ HB_UNICODE_GENERAL_CATEGORY_MODIFIER_LETTER, /* Lm */
55
+ HB_UNICODE_GENERAL_CATEGORY_OTHER_LETTER, /* Lo */
56
+ HB_UNICODE_GENERAL_CATEGORY_TITLECASE_LETTER, /* Lt */
57
+ HB_UNICODE_GENERAL_CATEGORY_UPPERCASE_LETTER, /* Lu */
58
+ HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK, /* Mc */
59
+ HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK, /* Me */
60
+ HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK, /* Mn */
61
+ HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER, /* Nd */
62
+ HB_UNICODE_GENERAL_CATEGORY_LETTER_NUMBER, /* Nl */
63
+ HB_UNICODE_GENERAL_CATEGORY_OTHER_NUMBER, /* No */
64
+ HB_UNICODE_GENERAL_CATEGORY_CONNECT_PUNCTUATION, /* Pc */
65
+ HB_UNICODE_GENERAL_CATEGORY_DASH_PUNCTUATION, /* Pd */
66
+ HB_UNICODE_GENERAL_CATEGORY_CLOSE_PUNCTUATION, /* Pe */
67
+ HB_UNICODE_GENERAL_CATEGORY_FINAL_PUNCTUATION, /* Pf */
68
+ HB_UNICODE_GENERAL_CATEGORY_INITIAL_PUNCTUATION, /* Pi */
69
+ HB_UNICODE_GENERAL_CATEGORY_OTHER_PUNCTUATION, /* Po */
70
+ HB_UNICODE_GENERAL_CATEGORY_OPEN_PUNCTUATION, /* Ps */
71
+ HB_UNICODE_GENERAL_CATEGORY_CURRENCY_SYMBOL, /* Sc */
72
+ HB_UNICODE_GENERAL_CATEGORY_MODIFIER_SYMBOL, /* Sk */
73
+ HB_UNICODE_GENERAL_CATEGORY_MATH_SYMBOL, /* Sm */
74
+ HB_UNICODE_GENERAL_CATEGORY_OTHER_SYMBOL, /* So */
75
+ HB_UNICODE_GENERAL_CATEGORY_LINE_SEPARATOR, /* Zl */
76
+ HB_UNICODE_GENERAL_CATEGORY_PARAGRAPH_SEPARATOR, /* Zp */
77
+ HB_UNICODE_GENERAL_CATEGORY_SPACE_SEPARATOR /* Zs */
78
+ } hb_unicode_general_category_t;
79
+
80
+ /* hb_unicode_combining_class_t */
81
+
82
+ /* Note: newer versions of Unicode may add new values. Clients should be ready to handle
83
+ * any value in the 0..254 range being returned from hb_unicode_combining_class().
84
+ */
85
+
86
+ /* Unicode Character Database property: Canonical_Combining_Class (ccc) */
87
+ typedef enum
88
+ {
89
+ HB_UNICODE_COMBINING_CLASS_NOT_REORDERED = 0,
90
+ HB_UNICODE_COMBINING_CLASS_OVERLAY = 1,
91
+ HB_UNICODE_COMBINING_CLASS_NUKTA = 7,
92
+ HB_UNICODE_COMBINING_CLASS_KANA_VOICING = 8,
93
+ HB_UNICODE_COMBINING_CLASS_VIRAMA = 9,
94
+
95
+ /* Hebrew */
96
+ HB_UNICODE_COMBINING_CLASS_CCC10 = 10,
97
+ HB_UNICODE_COMBINING_CLASS_CCC11 = 11,
98
+ HB_UNICODE_COMBINING_CLASS_CCC12 = 12,
99
+ HB_UNICODE_COMBINING_CLASS_CCC13 = 13,
100
+ HB_UNICODE_COMBINING_CLASS_CCC14 = 14,
101
+ HB_UNICODE_COMBINING_CLASS_CCC15 = 15,
102
+ HB_UNICODE_COMBINING_CLASS_CCC16 = 16,
103
+ HB_UNICODE_COMBINING_CLASS_CCC17 = 17,
104
+ HB_UNICODE_COMBINING_CLASS_CCC18 = 18,
105
+ HB_UNICODE_COMBINING_CLASS_CCC19 = 19,
106
+ HB_UNICODE_COMBINING_CLASS_CCC20 = 20,
107
+ HB_UNICODE_COMBINING_CLASS_CCC21 = 21,
108
+ HB_UNICODE_COMBINING_CLASS_CCC22 = 22,
109
+ HB_UNICODE_COMBINING_CLASS_CCC23 = 23,
110
+ HB_UNICODE_COMBINING_CLASS_CCC24 = 24,
111
+ HB_UNICODE_COMBINING_CLASS_CCC25 = 25,
112
+ HB_UNICODE_COMBINING_CLASS_CCC26 = 26,
113
+
114
+ /* Arabic */
115
+ HB_UNICODE_COMBINING_CLASS_CCC27 = 27,
116
+ HB_UNICODE_COMBINING_CLASS_CCC28 = 28,
117
+ HB_UNICODE_COMBINING_CLASS_CCC29 = 29,
118
+ HB_UNICODE_COMBINING_CLASS_CCC30 = 30,
119
+ HB_UNICODE_COMBINING_CLASS_CCC31 = 31,
120
+ HB_UNICODE_COMBINING_CLASS_CCC32 = 32,
121
+ HB_UNICODE_COMBINING_CLASS_CCC33 = 33,
122
+ HB_UNICODE_COMBINING_CLASS_CCC34 = 34,
123
+ HB_UNICODE_COMBINING_CLASS_CCC35 = 35,
124
+
125
+ /* Syriac */
126
+ HB_UNICODE_COMBINING_CLASS_CCC36 = 36,
127
+
128
+ /* Telugu */
129
+ HB_UNICODE_COMBINING_CLASS_CCC84 = 84,
130
+ HB_UNICODE_COMBINING_CLASS_CCC91 = 91,
131
+
132
+ /* Thai */
133
+ HB_UNICODE_COMBINING_CLASS_CCC103 = 103,
134
+ HB_UNICODE_COMBINING_CLASS_CCC107 = 107,
135
+
136
+ /* Lao */
137
+ HB_UNICODE_COMBINING_CLASS_CCC118 = 118,
138
+ HB_UNICODE_COMBINING_CLASS_CCC122 = 122,
139
+
140
+ /* Tibetan */
141
+ HB_UNICODE_COMBINING_CLASS_CCC129 = 129,
142
+ HB_UNICODE_COMBINING_CLASS_CCC130 = 130,
143
+ HB_UNICODE_COMBINING_CLASS_CCC133 = 132,
144
+
145
+
146
+ HB_UNICODE_COMBINING_CLASS_ATTACHED_BELOW_LEFT = 200,
147
+ HB_UNICODE_COMBINING_CLASS_ATTACHED_BELOW = 202,
148
+ HB_UNICODE_COMBINING_CLASS_ATTACHED_ABOVE = 214,
149
+ HB_UNICODE_COMBINING_CLASS_ATTACHED_ABOVE_RIGHT = 216,
150
+ HB_UNICODE_COMBINING_CLASS_BELOW_LEFT = 218,
151
+ HB_UNICODE_COMBINING_CLASS_BELOW = 220,
152
+ HB_UNICODE_COMBINING_CLASS_BELOW_RIGHT = 222,
153
+ HB_UNICODE_COMBINING_CLASS_LEFT = 224,
154
+ HB_UNICODE_COMBINING_CLASS_RIGHT = 226,
155
+ HB_UNICODE_COMBINING_CLASS_ABOVE_LEFT = 228,
156
+ HB_UNICODE_COMBINING_CLASS_ABOVE = 230,
157
+ HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT = 232,
158
+ HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW = 233,
159
+ HB_UNICODE_COMBINING_CLASS_DOUBLE_ABOVE = 234,
160
+
161
+ HB_UNICODE_COMBINING_CLASS_IOTA_SUBSCRIPT = 240,
162
+
163
+ HB_UNICODE_COMBINING_CLASS_INVALID = 255
164
+ } hb_unicode_combining_class_t;
165
+
166
+
167
+ /*
168
+ * hb_unicode_funcs_t
169
+ */
170
+
171
+ typedef struct hb_unicode_funcs_t hb_unicode_funcs_t;
172
+
173
+
174
+ /*
175
+ * just give me the best implementation you've got there.
176
+ */
177
+ hb_unicode_funcs_t *
178
+ hb_unicode_funcs_get_default (void);
179
+
180
+
181
+ hb_unicode_funcs_t *
182
+ hb_unicode_funcs_create (hb_unicode_funcs_t *parent);
183
+
184
+ hb_unicode_funcs_t *
185
+ hb_unicode_funcs_get_empty (void);
186
+
187
+ hb_unicode_funcs_t *
188
+ hb_unicode_funcs_reference (hb_unicode_funcs_t *ufuncs);
189
+
190
+ void
191
+ hb_unicode_funcs_destroy (hb_unicode_funcs_t *ufuncs);
192
+
193
+ hb_bool_t
194
+ hb_unicode_funcs_set_user_data (hb_unicode_funcs_t *ufuncs,
195
+ hb_user_data_key_t *key,
196
+ void * data,
197
+ hb_destroy_func_t destroy,
198
+ hb_bool_t replace);
199
+
200
+
201
+ void *
202
+ hb_unicode_funcs_get_user_data (hb_unicode_funcs_t *ufuncs,
203
+ hb_user_data_key_t *key);
204
+
205
+
206
+ void
207
+ hb_unicode_funcs_make_immutable (hb_unicode_funcs_t *ufuncs);
208
+
209
+ hb_bool_t
210
+ hb_unicode_funcs_is_immutable (hb_unicode_funcs_t *ufuncs);
211
+
212
+ hb_unicode_funcs_t *
213
+ hb_unicode_funcs_get_parent (hb_unicode_funcs_t *ufuncs);
214
+
215
+
216
+ /*
217
+ * funcs
218
+ */
219
+
220
+ /* typedefs */
221
+
222
+ typedef hb_unicode_combining_class_t (*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs,
223
+ hb_codepoint_t unicode,
224
+ void *user_data);
225
+ typedef unsigned int (*hb_unicode_eastasian_width_func_t) (hb_unicode_funcs_t *ufuncs,
226
+ hb_codepoint_t unicode,
227
+ void *user_data);
228
+ typedef hb_unicode_general_category_t (*hb_unicode_general_category_func_t) (hb_unicode_funcs_t *ufuncs,
229
+ hb_codepoint_t unicode,
230
+ void *user_data);
231
+ typedef hb_codepoint_t (*hb_unicode_mirroring_func_t) (hb_unicode_funcs_t *ufuncs,
232
+ hb_codepoint_t unicode,
233
+ void *user_data);
234
+ typedef hb_script_t (*hb_unicode_script_func_t) (hb_unicode_funcs_t *ufuncs,
235
+ hb_codepoint_t unicode,
236
+ void *user_data);
237
+
238
+ typedef hb_bool_t (*hb_unicode_compose_func_t) (hb_unicode_funcs_t *ufuncs,
239
+ hb_codepoint_t a,
240
+ hb_codepoint_t b,
241
+ hb_codepoint_t *ab,
242
+ void *user_data);
243
+ typedef hb_bool_t (*hb_unicode_decompose_func_t) (hb_unicode_funcs_t *ufuncs,
244
+ hb_codepoint_t ab,
245
+ hb_codepoint_t *a,
246
+ hb_codepoint_t *b,
247
+ void *user_data);
248
+
249
+ /**
250
+ * hb_unicode_decompose_compatibility_func_t:
251
+ * @ufuncs: Unicode function structure
252
+ * @u: codepoint to decompose
253
+ * @decomposed: address of codepoint array (of length %HB_UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into
254
+ * @user_data: user data pointer as passed to hb_unicode_funcs_set_decompose_compatibility_func()
255
+ *
256
+ * Fully decompose @u to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to @decomposed.
257
+ * The complete length of the decomposition will be returned.
258
+ *
259
+ * If @u has no compatibility decomposition, zero should be returned.
260
+ *
261
+ * The Unicode standard guarantees that a buffer of length %HB_UNICODE_MAX_DECOMPOSITION_LEN codepoints will always be sufficient for any
262
+ * compatibility decomposition plus an terminating value of 0. Consequently, @decompose must be allocated by the caller to be at least this length. Implementations
263
+ * of this function type must ensure that they do not write past the provided array.
264
+ *
265
+ * Return value: number of codepoints in the full compatibility decomposition of @u, or 0 if no decomposition available.
266
+ */
267
+ typedef unsigned int (*hb_unicode_decompose_compatibility_func_t) (hb_unicode_funcs_t *ufuncs,
268
+ hb_codepoint_t u,
269
+ hb_codepoint_t *decomposed,
270
+ void *user_data);
271
+
272
+ /* See Unicode 6.1 for details on the maximum decomposition length. */
273
+ #define HB_UNICODE_MAX_DECOMPOSITION_LEN (18+1) /* codepoints */
274
+
275
+ /* setters */
276
+
277
+ void
278
+ hb_unicode_funcs_set_combining_class_func (hb_unicode_funcs_t *ufuncs,
279
+ hb_unicode_combining_class_func_t combining_class_func,
280
+ void *user_data, hb_destroy_func_t destroy);
281
+
282
+ void
283
+ hb_unicode_funcs_set_eastasian_width_func (hb_unicode_funcs_t *ufuncs,
284
+ hb_unicode_eastasian_width_func_t eastasian_width_func,
285
+ void *user_data, hb_destroy_func_t destroy);
286
+
287
+ void
288
+ hb_unicode_funcs_set_general_category_func (hb_unicode_funcs_t *ufuncs,
289
+ hb_unicode_general_category_func_t general_category_func,
290
+ void *user_data, hb_destroy_func_t destroy);
291
+
292
+ void
293
+ hb_unicode_funcs_set_mirroring_func (hb_unicode_funcs_t *ufuncs,
294
+ hb_unicode_mirroring_func_t mirroring_func,
295
+ void *user_data, hb_destroy_func_t destroy);
296
+
297
+ void
298
+ hb_unicode_funcs_set_script_func (hb_unicode_funcs_t *ufuncs,
299
+ hb_unicode_script_func_t script_func,
300
+ void *user_data, hb_destroy_func_t destroy);
301
+
302
+ void
303
+ hb_unicode_funcs_set_compose_func (hb_unicode_funcs_t *ufuncs,
304
+ hb_unicode_compose_func_t compose_func,
305
+ void *user_data, hb_destroy_func_t destroy);
306
+
307
+ void
308
+ hb_unicode_funcs_set_decompose_func (hb_unicode_funcs_t *ufuncs,
309
+ hb_unicode_decompose_func_t decompose_func,
310
+ void *user_data, hb_destroy_func_t destroy);
311
+
312
+ void
313
+ hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
314
+ hb_unicode_decompose_compatibility_func_t decompose_compatibility_func,
315
+ void *user_data, hb_destroy_func_t destroy);
316
+
317
+ /* accessors */
318
+
319
+ hb_unicode_combining_class_t
320
+ hb_unicode_combining_class (hb_unicode_funcs_t *ufuncs,
321
+ hb_codepoint_t unicode);
322
+
323
+ unsigned int
324
+ hb_unicode_eastasian_width (hb_unicode_funcs_t *ufuncs,
325
+ hb_codepoint_t unicode);
326
+
327
+ hb_unicode_general_category_t
328
+ hb_unicode_general_category (hb_unicode_funcs_t *ufuncs,
329
+ hb_codepoint_t unicode);
330
+
331
+ hb_codepoint_t
332
+ hb_unicode_mirroring (hb_unicode_funcs_t *ufuncs,
333
+ hb_codepoint_t unicode);
334
+
335
+ hb_script_t
336
+ hb_unicode_script (hb_unicode_funcs_t *ufuncs,
337
+ hb_codepoint_t unicode);
338
+
339
+ hb_bool_t
340
+ hb_unicode_compose (hb_unicode_funcs_t *ufuncs,
341
+ hb_codepoint_t a,
342
+ hb_codepoint_t b,
343
+ hb_codepoint_t *ab);
344
+ hb_bool_t
345
+ hb_unicode_decompose (hb_unicode_funcs_t *ufuncs,
346
+ hb_codepoint_t ab,
347
+ hb_codepoint_t *a,
348
+ hb_codepoint_t *b);
349
+
350
+ unsigned int
351
+ hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs,
352
+ hb_codepoint_t u,
353
+ hb_codepoint_t *decomposed);
354
+
355
+ HB_END_DECLS
356
+
357
+ #endif /* HB_UNICODE_H */
@@ -0,0 +1,49 @@
1
+ /*
2
+ * Copyright © 2011 Google, Inc.
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ *
24
+ * Google Author(s): Behdad Esfahbod
25
+ */
26
+
27
+ #ifndef HB_UNISCRIBE_H
28
+ #define HB_UNISCRIBE_H
29
+
30
+ #include "hb.h"
31
+
32
+ #ifndef _WIN32_WINNT
33
+ #define _WIN32_WINNT 0x0600
34
+ #endif
35
+ #include <windows.h>
36
+
37
+ HB_BEGIN_DECLS
38
+
39
+
40
+ LOGFONTW *
41
+ hb_uniscribe_font_get_logfontw (hb_font_t *font);
42
+
43
+ HFONT
44
+ hb_uniscribe_font_get_hfont (hb_font_t *font);
45
+
46
+
47
+ HB_END_DECLS
48
+
49
+ #endif /* HB_UNISCRIBE_H */
@@ -0,0 +1,66 @@
1
+ /*
2
+ * Copyright © 2011 Google, Inc.
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ *
24
+ * Google Author(s): Behdad Esfahbod
25
+ */
26
+
27
+ #ifndef HB_H_IN
28
+ #error "Include <hb.h> instead."
29
+ #endif
30
+
31
+ #ifndef HB_VERSION_H
32
+ #define HB_VERSION_H
33
+
34
+ #include "hb-common.h"
35
+
36
+ HB_BEGIN_DECLS
37
+
38
+
39
+ #define HB_VERSION_MAJOR 0
40
+ #define HB_VERSION_MINOR 9
41
+ #define HB_VERSION_MICRO 17
42
+
43
+ #define HB_VERSION_STRING "0.9.17"
44
+
45
+ #define HB_VERSION_CHECK(major,minor,micro) \
46
+ ((major)*10000+(minor)*100+(micro) >= \
47
+ HB_VERSION_MAJOR*10000+HB_VERSION_MINOR*100+HB_VERSION_MICRO)
48
+
49
+
50
+ void
51
+ hb_version (unsigned int *major,
52
+ unsigned int *minor,
53
+ unsigned int *micro);
54
+
55
+ const char *
56
+ hb_version_string (void);
57
+
58
+ hb_bool_t
59
+ hb_version_check (unsigned int major,
60
+ unsigned int minor,
61
+ unsigned int micro);
62
+
63
+
64
+ HB_END_DECLS
65
+
66
+ #endif /* HB_VERSION_H */
@@ -0,0 +1,45 @@
1
+ /*
2
+ * Copyright © 2009 Red Hat, Inc.
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ *
24
+ * Red Hat Author(s): Behdad Esfahbod
25
+ */
26
+
27
+ #ifndef HB_H
28
+ #define HB_H
29
+ #define HB_H_IN
30
+
31
+ #include "hb-blob.h"
32
+ #include "hb-buffer.h"
33
+ #include "hb-common.h"
34
+ #include "hb-font.h"
35
+ #include "hb-set.h"
36
+ #include "hb-shape.h"
37
+ #include "hb-shape-plan.h"
38
+ #include "hb-unicode.h"
39
+ #include "hb-version.h"
40
+
41
+ HB_BEGIN_DECLS
42
+ HB_END_DECLS
43
+
44
+ #undef HB_H_IN
45
+ #endif /* HB_H */
@@ -118,8 +118,8 @@ struct _PangoAttribute
118
118
  *
119
119
  * Type of a function filtering a list of attributes.
120
120
  *
121
- * Return value: %TRUE if the attribute should be kept, %FALSE if it should be
122
- * filtered out.
121
+ * Return value: %TRUE if the attribute should be selected for
122
+ * filtering, %FALSE otherwise.
123
123
  **/
124
124
  typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute,
125
125
  gpointer user_data);
@@ -4,9 +4,9 @@
4
4
 
5
5
  #define PANGO_VERSION_MAJOR 1
6
6
  #define PANGO_VERSION_MINOR 34
7
- #define PANGO_VERSION_MICRO 0
7
+ #define PANGO_VERSION_MICRO 1
8
8
 
9
- #define PANGO_VERSION_STRING "1.34.0"
9
+ #define PANGO_VERSION_STRING "1.34.1"
10
10
 
11
11
 
12
12
  #endif