pango 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. checksums.yaml +7 -0
  2. data/README +2 -2
  3. data/Rakefile +7 -5
  4. data/ext/pango/extconf.rb +4 -4
  5. data/ext/pango/rbpango.c +0 -9
  6. data/ext/pango/rbpango.h +2 -10
  7. data/ext/pango/rbpangoanalysis.c +0 -4
  8. data/ext/pango/rbpangoattribute.c +1 -26
  9. data/ext/pango/rbpangoattrlist.c +0 -4
  10. data/ext/pango/rbpangocairo.c +13 -12
  11. data/ext/pango/rbpangocairocontext.c +6 -26
  12. data/ext/pango/rbpangocontext.c +2 -14
  13. data/ext/pango/rbpangofont.c +0 -12
  14. data/ext/pango/rbpangofontdescription.c +0 -5
  15. data/ext/pango/rbpangofontface.c +0 -6
  16. data/ext/pango/rbpangofontfamily.c +0 -3
  17. data/ext/pango/rbpangofontmap.c +0 -4
  18. data/ext/pango/rbpangofontmetrics.c +1 -4
  19. data/ext/pango/rbpangofontset.c +0 -4
  20. data/ext/pango/rbpangoglyphitem.c +0 -8
  21. data/ext/pango/rbpangoglyphstring.c +0 -4
  22. data/ext/pango/rbpangoitem.c +0 -16
  23. data/ext/pango/rbpangolanguage.c +0 -5
  24. data/ext/pango/rbpangolayout.c +36 -19
  25. data/ext/pango/rbpangolayoutline.c +0 -33
  26. data/ext/pango/rbpangologattr.c +0 -5
  27. data/ext/pango/rbpangomatrix.c +0 -10
  28. data/ext/pango/rbpangoprivate.h +0 -4
  29. data/ext/pango/rbpangorenderer.c +0 -6
  30. data/ext/pango/rbpangoscript.c +0 -4
  31. data/ext/pango/rbpangoscriptiter.c +0 -5
  32. data/lib/1.9/pango.so +0 -0
  33. data/lib/2.0/pango.so +0 -0
  34. data/test/{test_layout.rb → test-layout.rb} +14 -0
  35. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  36. data/vendor/local/bin/hb-shape.exe +0 -0
  37. data/vendor/local/bin/hb-view.exe +0 -0
  38. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  39. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  40. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  41. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  42. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  43. data/vendor/local/bin/libstdc++-6.dll +0 -0
  44. data/vendor/local/bin/pango-querymodules.exe +0 -0
  45. data/vendor/local/bin/pango-view.exe +0 -0
  46. data/vendor/local/include/harfbuzz/hb-buffer.h +10 -10
  47. data/vendor/local/include/harfbuzz/hb-common.h +147 -131
  48. data/vendor/local/include/harfbuzz/{hb-uniscribe.h → hb-deprecated.h} +15 -13
  49. data/vendor/local/include/harfbuzz/hb-face.h +117 -0
  50. data/vendor/local/include/harfbuzz/hb-font.h +130 -77
  51. data/vendor/local/include/harfbuzz/hb-ot-layout.h +6 -0
  52. data/vendor/local/include/harfbuzz/hb-set.h +2 -0
  53. data/vendor/local/include/harfbuzz/hb-unicode.h +97 -9
  54. data/vendor/local/include/harfbuzz/hb-version.h +2 -2
  55. data/vendor/local/include/harfbuzz/hb.h +2 -0
  56. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +213 -4
  57. data/vendor/local/include/pango-1.0/pango/pango-break.h +53 -0
  58. data/vendor/local/include/pango-1.0/pango/pango-coverage.h +21 -0
  59. data/vendor/local/include/pango-1.0/pango/pango-engine.h +46 -0
  60. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  61. data/vendor/local/include/pango-1.0/pango/pango-font.h +234 -0
  62. data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +68 -0
  63. data/vendor/local/include/pango-1.0/pango/pango-fontset.h +42 -0
  64. data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +64 -0
  65. data/vendor/local/include/pango-1.0/pango/pango-glyph.h +55 -0
  66. data/vendor/local/include/pango-1.0/pango/pango-item.h +28 -0
  67. data/vendor/local/include/pango-1.0/pango/pango-language.h +5 -0
  68. data/vendor/local/include/pango-1.0/pango/pango-layout.h +43 -0
  69. data/vendor/local/include/pango-1.0/pango/pango-modules.h +11 -0
  70. data/vendor/local/include/pango-1.0/pango/pango-ot.h +149 -0
  71. data/vendor/local/include/pango-1.0/pango/pango-script.h +102 -0
  72. data/vendor/local/include/pango-1.0/pango/pango-tabs.h +11 -0
  73. data/vendor/local/include/pango-1.0/pango/pango-types.h +102 -2
  74. data/vendor/local/include/pango-1.0/pango/pango-utils.h +44 -0
  75. data/vendor/local/include/pango-1.0/pango/pangocairo.h +14 -0
  76. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +2 -2
  77. data/vendor/local/include/pango-1.0/pango/pangoft2.h +13 -0
  78. data/vendor/local/include/pango-1.0/pango/pangowin32.h +6 -0
  79. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  80. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  81. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  82. data/vendor/local/lib/libharfbuzz.la +5 -5
  83. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  84. data/vendor/local/lib/libpango-1.0.la +2 -2
  85. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  86. data/vendor/local/lib/libpangocairo-1.0.la +4 -4
  87. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  88. data/vendor/local/lib/libpangoft2-1.0.la +3 -3
  89. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  90. data/vendor/local/lib/libpangowin32-1.0.la +2 -2
  91. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  92. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  93. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  94. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  95. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
  96. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  97. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  98. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  99. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  100. data/vendor/local/lib/pkgconfig/harfbuzz.pc +5 -5
  101. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  102. data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
  103. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  104. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  105. data/vendor/local/share/gir-1.0/Pango-1.0.gir +1824 -1434
  106. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +109 -103
  107. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +18 -15
  108. data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +71 -0
  109. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1419 -0
  110. data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
  111. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +48 -0
  112. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +415 -0
  113. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1045 -0
  114. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1073 -0
  115. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +67 -0
  116. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +90 -0
  117. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +344 -0
  118. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1617 -0
  119. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +130 -0
  120. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +75 -0
  121. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +52 -0
  122. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +76 -0
  123. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +75 -0
  124. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +544 -0
  125. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +105 -0
  126. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +67 -0
  127. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +540 -0
  128. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +264 -0
  129. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +194 -0
  130. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1180 -0
  131. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +67 -0
  132. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +156 -0
  133. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +52 -0
  134. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +591 -0
  135. data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
  136. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
  137. data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +650 -0
  138. data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
  139. data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
  140. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +32 -0
  141. data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
  142. data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
  143. data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +321 -0
  144. data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
  145. data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
  146. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +3 -4
  147. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +3 -4
  148. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +2 -2
  149. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +4 -9
  150. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +8 -13
  151. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
  152. data/vendor/local/share/gtk-doc/html/pango/{pango-pango-renderer.html → PangoRenderer.html} +99 -102
  153. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +20 -29
  154. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +2 -2
  155. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +2 -2
  156. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +2 -2
  157. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +6 -2
  158. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +2 -2
  159. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +2 -2
  160. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +4 -11
  161. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +3 -3
  162. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +15 -4
  163. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +4 -4
  164. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
  165. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +42 -0
  166. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +58 -0
  167. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +6 -5
  168. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +41 -0
  169. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +2 -2
  170. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +2 -2
  171. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +19 -19
  172. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +2 -2
  173. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +31 -27
  174. data/vendor/local/share/gtk-doc/html/pango/index.html +7 -5
  175. data/vendor/local/share/gtk-doc/html/pango/index.sgml +38 -38
  176. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +5 -5
  177. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +6 -9
  178. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +113 -66
  179. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +2 -2
  180. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +8 -12
  181. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -8
  182. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +90 -53
  183. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +10 -10
  184. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +21 -8
  185. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +44 -15
  186. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +2 -2
  187. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +2 -2
  188. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +12 -12
  189. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +87 -90
  190. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +2 -5
  191. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +38 -31
  192. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +10 -18
  193. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +10 -11
  194. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +4 -6
  195. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -4
  196. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +12 -12
  197. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +4 -4
  198. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +2 -2
  199. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +34 -31
  200. data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
  201. data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
  202. data/vendor/local/share/gtk-doc/html/pango/tools.html +2 -2
  203. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  204. data/vendor/local/share/man/man1/pango-view.1 +2 -2
  205. metadata +57 -24
  206. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  207. data/vendor/local/include/harfbuzz/hb-gobject.h +0 -69
  208. data/vendor/local/share/gtk-doc/html/pango/api-index-1-28.html +0 -31
@@ -36,6 +36,8 @@
36
36
  HB_BEGIN_DECLS
37
37
 
38
38
 
39
+ #define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
40
+
39
41
  typedef struct hb_set_t hb_set_t;
40
42
 
41
43
 
@@ -248,7 +248,7 @@ typedef hb_bool_t (*hb_unicode_decompose_func_t) (hb_unicode_funcs_t *ufuncs,
248
248
 
249
249
  /**
250
250
  * hb_unicode_decompose_compatibility_func_t:
251
- * @ufuncs: Unicode function structure
251
+ * @ufuncs: a Unicode function structure
252
252
  * @u: codepoint to decompose
253
253
  * @decomposed: address of codepoint array (of length %HB_UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into
254
254
  * @user_data: user data pointer as passed to hb_unicode_funcs_set_decompose_compatibility_func()
@@ -274,44 +274,132 @@ typedef unsigned int (*hb_unicode_decompose_compatibility_func_t) (hb_unicode_
274
274
 
275
275
  /* setters */
276
276
 
277
+ /**
278
+ * hb_unicode_funcs_set_combining_class_func:
279
+ * @ufuncs: a Unicode function structure
280
+ * @func: (closure user_data) (destroy destroy) (scope notified):
281
+ * @user_data:
282
+ * @destroy:
283
+ *
284
+ *
285
+ *
286
+ * Since: 1.0
287
+ **/
277
288
  void
278
289
  hb_unicode_funcs_set_combining_class_func (hb_unicode_funcs_t *ufuncs,
279
- hb_unicode_combining_class_func_t combining_class_func,
290
+ hb_unicode_combining_class_func_t func,
280
291
  void *user_data, hb_destroy_func_t destroy);
281
292
 
293
+ /**
294
+ * hb_unicode_funcs_set_eastasian_width_func:
295
+ * @ufuncs: a Unicode function structure
296
+ * @func: (closure user_data) (destroy destroy) (scope notified):
297
+ * @user_data:
298
+ * @destroy:
299
+ *
300
+ *
301
+ *
302
+ * Since: 1.0
303
+ **/
282
304
  void
283
305
  hb_unicode_funcs_set_eastasian_width_func (hb_unicode_funcs_t *ufuncs,
284
- hb_unicode_eastasian_width_func_t eastasian_width_func,
306
+ hb_unicode_eastasian_width_func_t func,
285
307
  void *user_data, hb_destroy_func_t destroy);
286
308
 
309
+ /**
310
+ * hb_unicode_funcs_set_general_category_func:
311
+ * @ufuncs: a Unicode function structure
312
+ * @func: (closure user_data) (destroy destroy) (scope notified):
313
+ * @user_data:
314
+ * @destroy:
315
+ *
316
+ *
317
+ *
318
+ * Since: 1.0
319
+ **/
287
320
  void
288
321
  hb_unicode_funcs_set_general_category_func (hb_unicode_funcs_t *ufuncs,
289
- hb_unicode_general_category_func_t general_category_func,
322
+ hb_unicode_general_category_func_t func,
290
323
  void *user_data, hb_destroy_func_t destroy);
291
324
 
325
+ /**
326
+ * hb_unicode_funcs_set_mirroring_func:
327
+ * @ufuncs: a Unicode function structure
328
+ * @func: (closure user_data) (destroy destroy) (scope notified):
329
+ * @user_data:
330
+ * @destroy:
331
+ *
332
+ *
333
+ *
334
+ * Since: 1.0
335
+ **/
292
336
  void
293
337
  hb_unicode_funcs_set_mirroring_func (hb_unicode_funcs_t *ufuncs,
294
- hb_unicode_mirroring_func_t mirroring_func,
338
+ hb_unicode_mirroring_func_t func,
295
339
  void *user_data, hb_destroy_func_t destroy);
296
340
 
341
+ /**
342
+ * hb_unicode_funcs_set_script_func:
343
+ * @ufuncs: a Unicode function structure
344
+ * @func: (closure user_data) (destroy destroy) (scope notified):
345
+ * @user_data:
346
+ * @destroy:
347
+ *
348
+ *
349
+ *
350
+ * Since: 1.0
351
+ **/
297
352
  void
298
353
  hb_unicode_funcs_set_script_func (hb_unicode_funcs_t *ufuncs,
299
- hb_unicode_script_func_t script_func,
354
+ hb_unicode_script_func_t func,
300
355
  void *user_data, hb_destroy_func_t destroy);
301
356
 
357
+ /**
358
+ * hb_unicode_funcs_set_compose_func:
359
+ * @ufuncs: a Unicode function structure
360
+ * @func: (closure user_data) (destroy destroy) (scope notified):
361
+ * @user_data:
362
+ * @destroy:
363
+ *
364
+ *
365
+ *
366
+ * Since: 1.0
367
+ **/
302
368
  void
303
369
  hb_unicode_funcs_set_compose_func (hb_unicode_funcs_t *ufuncs,
304
- hb_unicode_compose_func_t compose_func,
370
+ hb_unicode_compose_func_t func,
305
371
  void *user_data, hb_destroy_func_t destroy);
306
372
 
373
+ /**
374
+ * hb_unicode_funcs_set_decompose_func:
375
+ * @ufuncs: a Unicode function structure
376
+ * @func: (closure user_data) (destroy destroy) (scope notified):
377
+ * @user_data:
378
+ * @destroy:
379
+ *
380
+ *
381
+ *
382
+ * Since: 1.0
383
+ **/
307
384
  void
308
385
  hb_unicode_funcs_set_decompose_func (hb_unicode_funcs_t *ufuncs,
309
- hb_unicode_decompose_func_t decompose_func,
386
+ hb_unicode_decompose_func_t func,
310
387
  void *user_data, hb_destroy_func_t destroy);
311
388
 
389
+ /**
390
+ * hb_unicode_funcs_set_decompose_compatibility_func:
391
+ * @ufuncs: a Unicode function structure
392
+ * @func: (closure user_data) (destroy destroy) (scope notified):
393
+ * @user_data:
394
+ * @destroy:
395
+ *
396
+ *
397
+ *
398
+ * Since: 1.0
399
+ **/
312
400
  void
313
401
  hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
314
- hb_unicode_decompose_compatibility_func_t decompose_compatibility_func,
402
+ hb_unicode_decompose_compatibility_func_t func,
315
403
  void *user_data, hb_destroy_func_t destroy);
316
404
 
317
405
  /* accessors */
@@ -38,9 +38,9 @@ HB_BEGIN_DECLS
38
38
 
39
39
  #define HB_VERSION_MAJOR 0
40
40
  #define HB_VERSION_MINOR 9
41
- #define HB_VERSION_MICRO 17
41
+ #define HB_VERSION_MICRO 25
42
42
 
43
- #define HB_VERSION_STRING "0.9.17"
43
+ #define HB_VERSION_STRING "0.9.25"
44
44
 
45
45
  #define HB_VERSION_CHECK(major,minor,micro) \
46
46
  ((major)*10000+(minor)*100+(micro) >= \
@@ -31,6 +31,8 @@
31
31
  #include "hb-blob.h"
32
32
  #include "hb-buffer.h"
33
33
  #include "hb-common.h"
34
+ #include "hb-deprecated.h"
35
+ #include "hb-face.h"
34
36
  #include "hb-font.h"
35
37
  #include "hb-set.h"
36
38
  #include "hb-shape.h"
@@ -31,6 +31,15 @@ G_BEGIN_DECLS
31
31
 
32
32
  typedef struct _PangoColor PangoColor;
33
33
 
34
+ /**
35
+ * PangoColor:
36
+ * @red: value of red component
37
+ * @green: value of green component
38
+ * @blue: value of blue component
39
+ *
40
+ * The #PangoColor structure is used to
41
+ * represent a color in an uncalibrated RGB color-space.
42
+ */
34
43
  struct _PangoColor
35
44
  {
36
45
  guint16 red;
@@ -38,6 +47,11 @@ struct _PangoColor
38
47
  guint16 blue;
39
48
  };
40
49
 
50
+ /**
51
+ * PANGO_TYPE_COLOR:
52
+ *
53
+ * The #GObject type for #PangoColor.
54
+ */
41
55
  #define PANGO_TYPE_COLOR pango_color_get_type ()
42
56
  GType pango_color_get_type (void) G_GNUC_CONST;
43
57
 
@@ -62,10 +76,73 @@ typedef struct _PangoAttrColor PangoAttrColor;
62
76
  typedef struct _PangoAttrFontDesc PangoAttrFontDesc;
63
77
  typedef struct _PangoAttrShape PangoAttrShape;
64
78
 
79
+ /**
80
+ * PANGO_TYPE_ATTR_LIST:
81
+ *
82
+ * The #GObject type for #PangoAttrList.
83
+ */
65
84
  #define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
85
+ /**
86
+ * PangoAttrIterator:
87
+ *
88
+ * The #PangoAttrIterator structure is used to represent an
89
+ * iterator through a #PangoAttrList. A new iterator is created
90
+ * with pango_attr_list_get_iterator(). Once the iterator
91
+ * is created, it can be advanced through the style changes
92
+ * in the text using pango_attr_iterator_next(). At each
93
+ * style change, the range of the current style segment and the
94
+ * attributes currently in effect can be queried.
95
+ */
96
+ /**
97
+ * PangoAttrList:
98
+ *
99
+ * The #PangoAttrList structure represents a list of attributes
100
+ * that apply to a section of text. The attributes are, in general,
101
+ * allowed to overlap in an arbitrary fashion, however, if the
102
+ * attributes are manipulated only through pango_attr_list_change(),
103
+ * the overlap between properties will meet stricter criteria.
104
+ *
105
+ * Since the #PangoAttrList structure is stored as a linear list,
106
+ * it is not suitable for storing attributes for large amounts
107
+ * of text. In general, you should not use a single #PangoAttrList
108
+ * for more than one paragraph of text.
109
+ */
66
110
  typedef struct _PangoAttrList PangoAttrList;
67
111
  typedef struct _PangoAttrIterator PangoAttrIterator;
68
112
 
113
+ /**
114
+ * PangoAttrType:
115
+ * @PANGO_ATTR_INVALID: does not happen
116
+ * @PANGO_ATTR_LANGUAGE: language (#PangoAttrLanguage)
117
+ * @PANGO_ATTR_FAMILY: font family name list (#PangoAttrString)
118
+ * @PANGO_ATTR_STYLE: font slant style (#PangoAttrInt)
119
+ * @PANGO_ATTR_WEIGHT: font weight (#PangoAttrInt)
120
+ * @PANGO_ATTR_VARIANT: font variant (normal or small caps) (#PangoAttrInt)
121
+ * @PANGO_ATTR_STRETCH: font stretch (#PangoAttrInt)
122
+ * @PANGO_ATTR_SIZE: font size in points scaled by %PANGO_SCALE (#PangoAttrInt)
123
+ * @PANGO_ATTR_FONT_DESC: font description (#PangoAttrFontDesc)
124
+ * @PANGO_ATTR_FOREGROUND: foreground color (#PangoAttrColor)
125
+ * @PANGO_ATTR_BACKGROUND: background color (#PangoAttrColor)
126
+ * @PANGO_ATTR_UNDERLINE: whether the text has an underline (#PangoAttrInt)
127
+ * @PANGO_ATTR_STRIKETHROUGH: whether the text is struck-through (#PangoAttrInt)
128
+ * @PANGO_ATTR_RISE: baseline displacement (#PangoAttrInt)
129
+ * @PANGO_ATTR_SHAPE: shape (#PangoAttrShape)
130
+ * @PANGO_ATTR_SCALE: font size scale factor (#PangoAttrFloat)
131
+ * @PANGO_ATTR_FALLBACK: whether fallback is enabled (#PangoAttrInt)
132
+ * @PANGO_ATTR_LETTER_SPACING: letter spacing (#PangoAttrInt)
133
+ * @PANGO_ATTR_UNDERLINE_COLOR: underline color (#PangoAttrColor)
134
+ * @PANGO_ATTR_STRIKETHROUGH_COLOR: strikethrough color (#PangoAttrColor)
135
+ * @PANGO_ATTR_ABSOLUTE_SIZE: font size in pixels scaled by %PANGO_SCALE (#PangoAttrInt)
136
+ * @PANGO_ATTR_GRAVITY: base text gravity (#PangoAttrInt)
137
+ * @PANGO_ATTR_GRAVITY_HINT: gravity hint (#PangoAttrInt)
138
+ *
139
+ * The #PangoAttrType
140
+ * distinguishes between different types of attributes. Along with the
141
+ * predefined values, it is possible to allocate additional values
142
+ * for custom attributes using pango_attr_type_register(). The predefined
143
+ * values are given below. The type of structure used to store the
144
+ * attribute is listed in parentheses after the description.
145
+ */
69
146
  typedef enum
70
147
  {
71
148
  PANGO_ATTR_INVALID, /* 0 is an invalid attribute type */
@@ -93,6 +170,27 @@ typedef enum
93
170
  PANGO_ATTR_GRAVITY_HINT /* PangoAttrInt */
94
171
  } PangoAttrType;
95
172
 
173
+ /**
174
+ * PangoUnderline:
175
+ * @PANGO_UNDERLINE_NONE: no underline should be drawn
176
+ * @PANGO_UNDERLINE_SINGLE: a single underline should be drawn
177
+ * @PANGO_UNDERLINE_DOUBLE: a double underline should be drawn
178
+ * @PANGO_UNDERLINE_LOW: a single underline should be drawn at a position
179
+ * beneath the ink extents of the text being
180
+ * underlined. This should be used only for underlining
181
+ * single characters, such as for keyboard
182
+ * accelerators. %PANGO_UNDERLINE_SINGLE should
183
+ * be used for extended portions of text.
184
+ * @PANGO_UNDERLINE_ERROR: a wavy underline should be drawn below.
185
+ * This underline is typically used to indicate
186
+ * an error such as a possilble mispelling; in some
187
+ * cases a contrasting color may automatically
188
+ * be used. This type of underlining is available since Pango 1.4.
189
+ *
190
+ * The #PangoUnderline enumeration is used to specify
191
+ * whether text should be underlined, and if so, the type
192
+ * of underlining.
193
+ */
96
194
  typedef enum {
97
195
  PANGO_UNDERLINE_NONE,
98
196
  PANGO_UNDERLINE_SINGLE,
@@ -101,9 +199,39 @@ typedef enum {
101
199
  PANGO_UNDERLINE_ERROR
102
200
  } PangoUnderline;
103
201
 
202
+ /**
203
+ * PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING:
204
+ *
205
+ * This value can be used to set the start_index member of a #PangoAttribute
206
+ * such that the attribute covers from the beginning of the text.
207
+ *
208
+ * Since: 1.24
209
+ */
210
+ /**
211
+ * PANGO_ATTR_INDEX_TO_TEXT_END:
212
+ *
213
+ * This value can be used to set the end_index member of a #PangoAttribute
214
+ * such that the attribute covers to the end of the text.
215
+ *
216
+ * Since: 1.24
217
+ */
104
218
  #define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING 0
105
219
  #define PANGO_ATTR_INDEX_TO_TEXT_END G_MAXUINT
106
220
 
221
+ /**
222
+ * PangoAttribute:
223
+ * @klass: the class structure holding information about the type of the attribute
224
+ * @start_index: the start index of the range (in bytes).
225
+ * @end_index: end index of the range (in bytes). The character at this index
226
+ * is not included in the range.
227
+ *
228
+ * The #PangoAttribute structure represents the common portions of all
229
+ * attributes. Particular types of attributes include this structure
230
+ * as their initial portion. The common portion of the attribute holds
231
+ * the range to which the value in the type-specific part of the attribute
232
+ * applies and should be initialized using pango_attribute_init().
233
+ * By default an attribute will have an all-inclusive range of [0,%G_MAXUINT].
234
+ */
107
235
  struct _PangoAttribute
108
236
  {
109
237
  const PangoAttrClass *klass;
@@ -134,6 +262,18 @@ typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute,
134
262
  **/
135
263
  typedef gpointer (*PangoAttrDataCopyFunc) (gconstpointer user_data);
136
264
 
265
+ /**
266
+ * PangoAttrClass:
267
+ * @type: the type ID for this attribute
268
+ * @copy: function to duplicate an attribute of this type (see pango_attribute_copy())
269
+ * @destroy: function to free an attribute of this type (see pango_attribute_destroy())
270
+ * @equal: function to check two attributes of this type for equality (see pango_attribute_equal())
271
+ *
272
+ * The #PangoAttrClass structure stores the type and operations for
273
+ * a particular type of attribute. The functions in this structure should
274
+ * not be called directly. Instead, one should use the wrapper functions
275
+ * provided for #PangoAttribute.
276
+ */
137
277
  struct _PangoAttrClass
138
278
  {
139
279
  /*< public >*/
@@ -143,36 +283,85 @@ struct _PangoAttrClass
143
283
  gboolean (*equal) (const PangoAttribute *attr1, const PangoAttribute *attr2);
144
284
  };
145
285
 
286
+ /**
287
+ * PangoAttrString:
288
+ * @attr: the common portion of the attribute
289
+ * @value: the string which is the value of the attribute
290
+ *
291
+ * The #PangoAttrString structure is used to represent attributes with
292
+ * a string value.
293
+ */
146
294
  struct _PangoAttrString
147
295
  {
148
296
  PangoAttribute attr;
149
297
  char *value;
150
298
  };
151
-
299
+ /**
300
+ * PangoAttrLanguage:
301
+ * @attr: the common portion of the attribute
302
+ * @value: the #PangoLanguage which is the value of the attribute
303
+ *
304
+ * The #PangoAttrLanguage structure is used to represent attributes that
305
+ * are languages.
306
+ */
152
307
  struct _PangoAttrLanguage
153
308
  {
154
309
  PangoAttribute attr;
155
310
  PangoLanguage *value;
156
311
  };
157
-
312
+ /**
313
+ * PangoAttrInt:
314
+ * @attr: the common portion of the attribute
315
+ * @value: the value of the attribute
316
+ *
317
+ * The #PangoAttrInt structure is used to represent attributes with
318
+ * an integer or enumeration value.
319
+ */
158
320
  struct _PangoAttrInt
159
321
  {
160
322
  PangoAttribute attr;
161
323
  int value;
162
324
  };
163
-
325
+ /**
326
+ * PangoAttrFloat:
327
+ * @attr: the common portion of the attribute
328
+ * @value: the value of the attribute
329
+ *
330
+ * The #PangoAttrFloat structure is used to represent attributes with
331
+ * a float or double value.
332
+ */
164
333
  struct _PangoAttrFloat
165
334
  {
166
335
  PangoAttribute attr;
167
336
  double value;
168
337
  };
169
-
338
+ /**
339
+ * PangoAttrColor:
340
+ * @attr: the common portion of the attribute
341
+ * @color: the #PangoColor which is the value of the attribute
342
+ *
343
+ * The #PangoAttrColor structure is used to represent attributes that
344
+ * are colors.
345
+ */
170
346
  struct _PangoAttrColor
171
347
  {
172
348
  PangoAttribute attr;
173
349
  PangoColor color;
174
350
  };
175
351
 
352
+ /**
353
+ * PangoAttrSize:
354
+ * @attr: the common portion of the attribute
355
+ * @size: size of font, in units of 1/%PANGO_SCALE of a point (for
356
+ * %PANGO_ATTR_SIZE) or of a device uni (for %PANGO_ATTR_ABSOLUTE_SIZE)
357
+ * @absolute: whether the font size is in device units or points.
358
+ * This field is only present for compatibility with Pango-1.8.0
359
+ * (%PANGO_ATTR_ABSOLUTE_SIZE was added in 1.8.1); and always will
360
+ * be %FALSE for %PANGO_ATTR_SIZE and %TRUE for %PANGO_ATTR_ABSOLUTE_SIZE.
361
+ *
362
+ * The #PangoAttrSize structure is used to represent attributes which
363
+ * set font size.
364
+ */
176
365
  struct _PangoAttrSize
177
366
  {
178
367
  PangoAttribute attr;
@@ -180,6 +369,18 @@ struct _PangoAttrSize
180
369
  guint absolute : 1;
181
370
  };
182
371
 
372
+ /**
373
+ * PangoAttrShape:
374
+ * @attr: the common portion of the attribute
375
+ * @ink_rect: the ink rectangle to restrict to
376
+ * @logical_rect: the logical rectangle to restrict to
377
+ * @data: user data set (see pango_attr_shape_new_with_data())
378
+ * @copy_func: copy function for the user data
379
+ * @destroy_func: destroy function for the user data
380
+ *
381
+ * The #PangoAttrShape structure is used to represent attributes which
382
+ * impose shape restrictions.
383
+ */
183
384
  struct _PangoAttrShape
184
385
  {
185
386
  PangoAttribute attr;
@@ -191,6 +392,14 @@ struct _PangoAttrShape
191
392
  GDestroyNotify destroy_func;
192
393
  };
193
394
 
395
+ /**
396
+ * PangoAttrFontDesc:
397
+ * @attr: the common portion of the attribute
398
+ * @desc: the font description which is the value of this attribute
399
+ *
400
+ * The #PangoAttrFontDesc structure is used to store an attribute that
401
+ * sets all aspects of the font description at once.
402
+ */
194
403
  struct _PangoAttrFontDesc
195
404
  {
196
405
  PangoAttribute attr;