pango 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (351) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +6 -6
  3. data/ext/pango/extconf.rb +1 -0
  4. data/lib/2.2/pango.so +0 -0
  5. data/lib/2.3/pango.so +0 -0
  6. data/lib/pango.rb +2 -10
  7. data/vendor/local/bin/derb.exe +0 -0
  8. data/vendor/local/bin/genbrk.exe +0 -0
  9. data/vendor/local/bin/genccode.exe +0 -0
  10. data/vendor/local/bin/gencfu.exe +0 -0
  11. data/vendor/local/bin/gencmn.exe +0 -0
  12. data/vendor/local/bin/gencnval.exe +0 -0
  13. data/vendor/local/bin/gendict.exe +0 -0
  14. data/vendor/local/bin/gennorm2.exe +0 -0
  15. data/vendor/local/bin/genrb.exe +0 -0
  16. data/vendor/local/bin/gensprep.exe +0 -0
  17. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  18. data/vendor/local/bin/hb-shape.exe +0 -0
  19. data/vendor/local/bin/hb-view.exe +0 -0
  20. data/vendor/local/bin/icu-config +6 -7
  21. data/vendor/local/bin/icuinfo.exe +0 -0
  22. data/vendor/local/bin/icupkg.exe +0 -0
  23. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  24. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  25. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  26. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  27. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  28. data/vendor/local/bin/makeconv.exe +0 -0
  29. data/vendor/local/bin/pango-view.exe +0 -0
  30. data/vendor/local/bin/pkgdata.exe +0 -0
  31. data/vendor/local/bin/uconv.exe +0 -0
  32. data/vendor/local/include/harfbuzz/hb-blob.h +12 -12
  33. data/vendor/local/include/harfbuzz/hb-buffer.h +181 -78
  34. data/vendor/local/include/harfbuzz/hb-common.h +23 -17
  35. data/vendor/local/include/harfbuzz/hb-deprecated.h +10 -0
  36. data/vendor/local/include/harfbuzz/hb-face.h +17 -17
  37. data/vendor/local/include/harfbuzz/hb-font.h +180 -79
  38. data/vendor/local/include/harfbuzz/hb-ft.h +16 -9
  39. data/vendor/local/include/harfbuzz/hb-glib.h +4 -4
  40. data/vendor/local/include/harfbuzz/hb-icu.h +3 -3
  41. data/vendor/local/include/harfbuzz/hb-ot-font.h +1 -1
  42. data/vendor/local/include/harfbuzz/hb-ot-layout.h +28 -28
  43. data/vendor/local/include/harfbuzz/hb-ot-shape.h +2 -2
  44. data/vendor/local/include/harfbuzz/hb-ot-tag.h +4 -4
  45. data/vendor/local/include/harfbuzz/hb-set.h +29 -26
  46. data/vendor/local/include/harfbuzz/hb-shape-plan.h +9 -9
  47. data/vendor/local/include/harfbuzz/hb-shape.h +5 -5
  48. data/vendor/local/include/harfbuzz/hb-unicode.h +47 -31
  49. data/vendor/local/include/harfbuzz/hb-version.h +6 -6
  50. data/vendor/local/include/harfbuzz/hb.h +4 -0
  51. data/vendor/local/include/layout/LELanguages.h +2 -5
  52. data/vendor/local/include/layout/LEScripts.h +3 -62
  53. data/vendor/local/include/layout/LETableReference.h +15 -3
  54. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -1
  55. data/vendor/local/include/pango-1.0/pango/pango-engine.h +50 -31
  56. data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
  57. data/vendor/local/include/pango-1.0/pango/pango-font.h +1 -0
  58. data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +2 -0
  59. data/vendor/local/include/pango-1.0/pango/pango-glyph.h +5 -0
  60. data/vendor/local/include/pango-1.0/pango/pango-item.h +4 -0
  61. data/vendor/local/include/pango-1.0/pango/pango-layout.h +3 -0
  62. data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -0
  63. data/vendor/local/include/pango-1.0/pango/pango-modules.h +6 -0
  64. data/vendor/local/include/pango-1.0/pango/pango-ot.h +8 -5
  65. data/vendor/local/include/pango-1.0/pango/pango-renderer.h +9 -2
  66. data/vendor/local/include/pango-1.0/pango/pango-script.h +63 -1
  67. data/vendor/local/include/pango-1.0/pango/pango-utils.h +12 -0
  68. data/vendor/local/include/pango-1.0/pango/pangofc-font.h +7 -10
  69. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +25 -16
  70. data/vendor/local/include/unicode/brkiter.h +6 -3
  71. data/vendor/local/include/unicode/bytestriebuilder.h +3 -1
  72. data/vendor/local/include/unicode/coll.h +21 -18
  73. data/vendor/local/include/unicode/compactdecimalformat.h +87 -3
  74. data/vendor/local/include/unicode/currpinf.h +2 -1
  75. data/vendor/local/include/unicode/datefmt.h +19 -41
  76. data/vendor/local/include/unicode/dcfmtsym.h +28 -9
  77. data/vendor/local/include/unicode/decimfmt.h +126 -304
  78. data/vendor/local/include/unicode/dtfmtsym.h +50 -19
  79. data/vendor/local/include/unicode/dtitvfmt.h +89 -30
  80. data/vendor/local/include/unicode/dtitvinf.h +63 -60
  81. data/vendor/local/include/unicode/dtptngen.h +81 -30
  82. data/vendor/local/include/unicode/filteredbrk.h +14 -24
  83. data/vendor/local/include/unicode/icuplug.h +9 -2
  84. data/vendor/local/include/unicode/listformatter.h +2 -2
  85. data/vendor/local/include/unicode/localpointer.h +231 -13
  86. data/vendor/local/include/unicode/locdspnm.h +2 -2
  87. data/vendor/local/include/unicode/locid.h +1 -3
  88. data/vendor/local/include/unicode/measfmt.h +14 -14
  89. data/vendor/local/include/unicode/measunit.h +213 -225
  90. data/vendor/local/include/unicode/normlzr.h +55 -43
  91. data/vendor/local/include/unicode/numfmt.h +60 -67
  92. data/vendor/local/include/unicode/platform.h +96 -3
  93. data/vendor/local/include/unicode/plurrule.h +5 -0
  94. data/vendor/local/include/unicode/rbnf.h +43 -4
  95. data/vendor/local/include/unicode/regex.h +14 -4
  96. data/vendor/local/include/unicode/region.h +5 -11
  97. data/vendor/local/include/unicode/reldatefmt.h +53 -43
  98. data/vendor/local/include/unicode/scientificnumberformatter.h +9 -11
  99. data/vendor/local/include/unicode/simpleformatter.h +295 -0
  100. data/vendor/local/include/unicode/smpdtfmt.h +36 -22
  101. data/vendor/local/include/unicode/tblcoll.h +32 -31
  102. data/vendor/local/include/unicode/timezone.h +4 -6
  103. data/vendor/local/include/unicode/tmunit.h +13 -13
  104. data/vendor/local/include/unicode/tzfmt.h +3 -6
  105. data/vendor/local/include/unicode/tznames.h +2 -4
  106. data/vendor/local/include/unicode/ubrk.h +14 -2
  107. data/vendor/local/include/unicode/uchar.h +61 -8
  108. data/vendor/local/include/unicode/ucharstriebuilder.h +1 -1
  109. data/vendor/local/include/unicode/ucol.h +2 -0
  110. data/vendor/local/include/unicode/uconfig.h +11 -6
  111. data/vendor/local/include/unicode/ucurr.h +24 -32
  112. data/vendor/local/include/unicode/udat.h +103 -87
  113. data/vendor/local/include/unicode/udateintervalformat.h +4 -1
  114. data/vendor/local/include/unicode/udatpg.h +6 -4
  115. data/vendor/local/include/unicode/udisplaycontext.h +6 -12
  116. data/vendor/local/include/unicode/ufieldpositer.h +10 -12
  117. data/vendor/local/include/unicode/uldnames.h +2 -2
  118. data/vendor/local/include/unicode/ulistformatter.h +9 -11
  119. data/vendor/local/include/unicode/uloc.h +13 -16
  120. data/vendor/local/include/unicode/umachine.h +2 -2
  121. data/vendor/local/include/unicode/uniset.h +25 -3
  122. data/vendor/local/include/unicode/unistr.h +168 -27
  123. data/vendor/local/include/unicode/unorm.h +40 -133
  124. data/vendor/local/include/unicode/unorm2.h +97 -1
  125. data/vendor/local/include/unicode/unum.h +61 -24
  126. data/vendor/local/include/unicode/uregex.h +7 -9
  127. data/vendor/local/include/unicode/ureldatefmt.h +365 -0
  128. data/vendor/local/include/unicode/urename.h +12 -1
  129. data/vendor/local/include/unicode/ures.h +157 -142
  130. data/vendor/local/include/unicode/uscript.h +1 -1
  131. data/vendor/local/include/unicode/ustdio.h +3 -5
  132. data/vendor/local/include/unicode/utf8.h +2 -2
  133. data/vendor/local/include/unicode/utypes.h +4 -6
  134. data/vendor/local/include/unicode/uvernum.h +7 -7
  135. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  136. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  137. data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
  138. data/vendor/local/lib/icu/{55.1 → 57.1}/Makefile.inc +6 -6
  139. data/vendor/local/lib/icu/{55.1 → 57.1}/pkgdata.inc +1 -1
  140. data/vendor/local/lib/icu/Makefile.inc +6 -6
  141. data/vendor/local/lib/icu/pkgdata.inc +1 -1
  142. data/vendor/local/lib/icudt.dll +0 -0
  143. data/vendor/local/lib/{icudt55.dll → icudt57.dll} +0 -0
  144. data/vendor/local/lib/icuin.dll +0 -0
  145. data/vendor/local/lib/icuin57.dll +0 -0
  146. data/vendor/local/lib/icuio.dll +0 -0
  147. data/vendor/local/lib/icuio57.dll +0 -0
  148. data/vendor/local/lib/icule.dll +0 -0
  149. data/vendor/local/lib/icule57.dll +0 -0
  150. data/vendor/local/lib/iculx.dll +0 -0
  151. data/vendor/local/lib/iculx57.dll +0 -0
  152. data/vendor/local/lib/icutest.dll +0 -0
  153. data/vendor/local/lib/icutest57.dll +0 -0
  154. data/vendor/local/lib/icutu.dll +0 -0
  155. data/vendor/local/lib/icutu57.dll +0 -0
  156. data/vendor/local/lib/icuuc.dll +0 -0
  157. data/vendor/local/lib/icuuc57.dll +0 -0
  158. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  159. data/vendor/local/lib/libharfbuzz-icu.la +4 -4
  160. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  161. data/vendor/local/lib/libharfbuzz.la +4 -4
  162. data/vendor/local/lib/libicudt.dll.a +0 -0
  163. data/vendor/local/lib/libicuin.dll.a +0 -0
  164. data/vendor/local/lib/libicuio.dll.a +0 -0
  165. data/vendor/local/lib/libicule.dll.a +0 -0
  166. data/vendor/local/lib/libiculx.dll.a +0 -0
  167. data/vendor/local/lib/libicutest.dll.a +0 -0
  168. data/vendor/local/lib/libicutu.dll.a +0 -0
  169. data/vendor/local/lib/libicuuc.dll.a +0 -0
  170. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  171. data/vendor/local/lib/libpango-1.0.la +6 -6
  172. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  173. data/vendor/local/lib/libpangocairo-1.0.la +6 -6
  174. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  175. data/vendor/local/lib/libpangoft2-1.0.la +6 -6
  176. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  177. data/vendor/local/lib/libpangowin32-1.0.la +6 -6
  178. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  179. data/vendor/local/lib/pkgconfig/harfbuzz.pc +2 -2
  180. data/vendor/local/lib/pkgconfig/icu-i18n.pc +6 -6
  181. data/vendor/local/lib/pkgconfig/icu-io.pc +6 -6
  182. data/vendor/local/lib/pkgconfig/icu-le.pc +6 -6
  183. data/vendor/local/lib/pkgconfig/icu-lx.pc +6 -6
  184. data/vendor/local/lib/pkgconfig/icu-uc.pc +6 -6
  185. data/vendor/local/lib/pkgconfig/pango.pc +3 -5
  186. data/vendor/local/lib/pkgconfig/pangocairo.pc +3 -2
  187. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  188. data/vendor/local/lib/pkgconfig/pangowin32.pc +3 -2
  189. data/vendor/local/share/gir-1.0/Pango-1.0.gir +891 -307
  190. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +45 -27
  191. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +12 -5
  192. data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.png +0 -0
  193. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +41 -0
  194. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +34 -0
  195. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +722 -0
  196. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +38 -0
  197. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +34 -0
  198. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +34 -0
  199. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +41 -0
  200. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +46 -0
  201. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +45 -0
  202. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +34 -0
  203. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +34 -0
  204. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +38 -0
  205. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +56 -0
  206. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +191 -0
  207. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +34 -0
  208. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +42 -0
  209. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +38 -0
  210. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +49 -0
  211. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +226 -58
  212. data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +80 -0
  213. data/vendor/local/share/gtk-doc/html/harfbuzz/{ch06.html → ch07.html} +8 -2
  214. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +13 -2
  215. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +2738 -0
  216. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +20 -22
  217. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +38 -38
  218. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +287 -189
  219. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +2 -2
  220. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +2 -2
  221. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +38 -38
  222. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +403 -126
  223. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +85 -10
  224. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +17 -2
  225. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +172 -2
  226. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +2 -2
  227. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +2 -2
  228. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +76 -0
  229. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +43 -3
  230. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +80 -0
  231. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +6 -6
  232. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +39 -39
  234. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +21 -21
  235. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +51 -46
  236. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +2 -2
  237. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +11 -11
  238. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +4 -4
  239. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +262 -190
  240. data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +2 -2
  241. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +61 -7
  242. data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +59 -0
  243. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +9 -8
  244. data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +5 -0
  245. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +37 -6
  246. data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +2 -2
  247. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +22 -19
  248. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +15 -12
  249. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +9 -12
  250. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +29 -35
  251. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +206 -97
  252. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +33 -8
  253. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +150 -57
  254. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +12 -4
  255. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +3 -4
  256. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +3 -4
  257. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +3 -4
  258. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +3 -4
  259. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +3 -4
  260. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +3 -4
  261. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +3 -4
  262. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +3 -4
  263. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +3 -4
  264. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +3 -4
  265. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +4 -5
  266. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +4 -5
  267. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +5 -6
  268. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +5 -6
  269. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +7 -7
  270. data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +79 -0
  271. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +3 -4
  272. data/vendor/local/share/gtk-doc/html/pango/{tools.html → api-index-1-40.html} +9 -13
  273. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +3 -4
  274. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +3 -4
  275. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +161 -4
  276. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +51 -8
  277. data/vendor/local/share/gtk-doc/html/pango/index.html +8 -11
  278. data/vendor/local/share/gtk-doc/html/pango/index.sgml +251 -4
  279. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -4
  280. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +18 -23
  281. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +121 -123
  282. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +5 -7
  283. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +10 -14
  284. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +28 -37
  285. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +170 -224
  286. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +35 -38
  287. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +257 -170
  288. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +186 -214
  289. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +117 -132
  290. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +26 -41
  291. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +140 -153
  292. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +270 -75
  293. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +28 -34
  294. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +361 -203
  295. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +194 -161
  296. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +16 -19
  297. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +21 -28
  298. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +34 -48
  299. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +52 -57
  300. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +10 -11
  301. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +285 -39
  302. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -4
  303. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -4
  304. data/vendor/local/share/gtk-doc/html/pango/style.css +9 -6
  305. data/vendor/local/share/icu/57.1/LICENSE +393 -0
  306. data/vendor/local/share/icu/{55.1 → 57.1}/config/mh-mingw +0 -0
  307. data/vendor/local/share/icu/{55.1 → 57.1}/install-sh +0 -0
  308. data/vendor/local/share/icu/{55.1 → 57.1}/mkinstalldirs +0 -0
  309. data/vendor/local/share/man/man1/derb.1 +2 -2
  310. data/vendor/local/share/man/man1/genbrk.1 +2 -2
  311. data/vendor/local/share/man/man1/gencfu.1 +1 -1
  312. data/vendor/local/share/man/man1/gencnval.1 +3 -3
  313. data/vendor/local/share/man/man1/gendict.1 +2 -2
  314. data/vendor/local/share/man/man1/genrb.1 +3 -3
  315. data/vendor/local/share/man/man1/icu-config.1 +2 -2
  316. data/vendor/local/share/man/man1/makeconv.1 +3 -3
  317. data/vendor/local/share/man/man1/pango-view.1 +113 -1
  318. data/vendor/local/share/man/man1/pkgdata.1 +2 -2
  319. data/vendor/local/share/man/man1/uconv.1 +2 -2
  320. data/vendor/local/share/man/man8/genccode.8 +2 -2
  321. data/vendor/local/share/man/man8/gencmn.8 +3 -3
  322. data/vendor/local/share/man/man8/gensprep.8 +3 -3
  323. data/vendor/local/share/man/man8/icupkg.8 +1 -1
  324. metadata +49 -40
  325. data/lib/2.0/pango.so +0 -0
  326. data/lib/2.1/pango.so +0 -0
  327. data/vendor/local/bin/pango-querymodules.exe +0 -0
  328. data/vendor/local/etc/pango/pango.modules +0 -19
  329. data/vendor/local/lib/icuin55.dll +0 -0
  330. data/vendor/local/lib/icuio55.dll +0 -0
  331. data/vendor/local/lib/icule55.dll +0 -0
  332. data/vendor/local/lib/iculx55.dll +0 -0
  333. data/vendor/local/lib/icutest55.dll +0 -0
  334. data/vendor/local/lib/icutu55.dll +0 -0
  335. data/vendor/local/lib/icuuc55.dll +0 -0
  336. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  337. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  338. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +0 -41
  339. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  340. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  341. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +0 -41
  342. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  343. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  344. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +0 -41
  345. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  346. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  347. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +0 -41
  348. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +0 -1704
  349. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +0 -131
  350. data/vendor/local/share/icu/55.1/license.html +0 -384
  351. data/vendor/local/share/man/man1/pango-querymodules.1 +0 -106
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 132f7deec626f77e6a0f8ab582277a78fcb2244d
4
- data.tar.gz: 401818b45bb9df285472ccf627e5cc736ef6d10f
3
+ metadata.gz: 68308bfd5ed6bcfbb2dec307282b1f5b2149d3f8
4
+ data.tar.gz: e88bcd12a6fb3407d8031b977306f93ec111efac
5
5
  SHA512:
6
- metadata.gz: c8e0d26b78ce3266ddf77d62352883565787db1a671456619e3e5b95e35ed3871aa5fc284db9bde3602850ef6f763fb156ebb74a92a301abacbb5540ca2d896d
7
- data.tar.gz: 16ff92499fa691b017968af76460f24dcc548ee51254f946386479d698b3b2950dd78c1f64921244d0b4df013217ec3c3ca7c1c6723d86fe8c918dc57f45380c
6
+ metadata.gz: e4266be536f156fd9d7624c9679b39409ce696ffd26f230b5465098467d35162c11679c3da92cae0d3984bb7967b5f202f8852b144f53b4649a81969e14975eb
7
+ data.tar.gz: ab3efd1899baa20e4345e7ecea0c46f5f85f6c500e30655656561c7882aeeff79d49da4d0e6b911d2b9655be601faafc46a8bad02963eb55ba3996a00c44f88e
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- ruby -*-
2
2
  #
3
- # Copyright (C) 2011-2015 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2011-2016 Ruby-GNOME2 Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -29,10 +29,10 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
29
29
  package.external_packages = [
30
30
  {
31
31
  :name => "icu",
32
- :download_base_url => "http://download.icu-project.org/files/icu4c/55.1",
32
+ :download_base_url => "http://download.icu-project.org/files/icu4c/57.1",
33
33
  :label => "gobject-introspection",
34
34
  :base_name => "icu",
35
- :archive_base_name => "icu4c-55_1-src.tgz",
35
+ :archive_base_name => "icu4c-57_1-src.tgz",
36
36
  :compression_method => "gz",
37
37
  :base_dir_in_package => "source",
38
38
  :windows => {
@@ -48,9 +48,9 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
48
48
  },
49
49
  {
50
50
  :name => "harfbuzz",
51
- :download_base_url => "http://www.freedesktop.org/software/harfbuzz/release",
51
+ :download_base_url => "https://www.freedesktop.org/software/harfbuzz/release",
52
52
  :label => "HarfBuzz",
53
- :version => "1.0.3",
53
+ :version => "1.2.4",
54
54
  :compression_method => "bz2",
55
55
  :windows => {
56
56
  :configure_args => [
@@ -64,7 +64,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
64
64
  :name => "pango",
65
65
  :download_site => :gnome,
66
66
  :label => "pango",
67
- :version => "1.36.8",
67
+ :version => "1.40.0",
68
68
  :compression_method => "xz",
69
69
  :windows => {
70
70
  :configure_args => [
@@ -49,6 +49,7 @@ end
49
49
  setup_windows(module_name, base_dir)
50
50
 
51
51
  unless required_pkg_config_package([package_id, 1, 14, 0],
52
+ :altlinux => "libpango-devel",
52
53
  :debian => "libpango1.0-dev",
53
54
  :redhat => "pango-devel",
54
55
  :arch => "pango",
Binary file
Binary file
@@ -1,21 +1,13 @@
1
1
  #
2
2
  # pango.rb
3
- # Copyright(C) 2005, 2009 Ruby-GNOME2 Project.
3
+ # Copyright(C) 2005-2015 Ruby-GNOME2 Project.
4
4
  #
5
5
  # This program is licenced under the same
6
6
  # license of Ruby-GNOME2.
7
7
  #
8
8
 
9
9
  require 'glib2'
10
- begin
11
- begin
12
- require 'cairo'
13
- rescue LoadError
14
- require 'rubygems'
15
- require 'cairo'
16
- end
17
- rescue LoadError
18
- end
10
+ require 'cairo'
19
11
 
20
12
  base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
21
13
  vendor_dir = base_dir + "vendor" + "local"
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -60,8 +60,8 @@ datadir="${datarootdir}"
60
60
  sbindir="${exec_prefix}/sbin"
61
61
 
62
62
  # about the ICU version
63
- VERSION="55.1"
64
- UNICODE_VERSION="7.0"
63
+ VERSION="57.1"
64
+ UNICODE_VERSION="8.0"
65
65
 
66
66
  # The prefix for ICU libraries, normally 'icu'
67
67
  ICUPREFIX="icu"
@@ -211,7 +211,7 @@ CPPFLAGS="-I${prefix}/include"
211
211
  CXXFLAGS="--std=c++0x"
212
212
  CXX="i686-w64-mingw32-g++"
213
213
  DEFAULT_MODE="dll"
214
- DEFS="-DPACKAGE_NAME=\"ICU\" -DPACKAGE_TARNAME=\"International\ Components\ for\ Unicode\" -DPACKAGE_VERSION=\"55.1\" -DPACKAGE_STRING=\"ICU\ 55.1\" -DPACKAGE_BUGREPORT=\"http://icu-project.org/bugs\" -DPACKAGE_URL=\"http://icu-project.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=4 -DHAVE_LIBM=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LIBPTHREAD=1 -DHAVE_INTTYPES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_WCHAR_H=1 -DSIZEOF_WCHAR_T=2 "
214
+ DEFS="-DPACKAGE_NAME=\"ICU\" -DPACKAGE_TARNAME=\"International\ Components\ for\ Unicode\" -DPACKAGE_VERSION=\"57.1\" -DPACKAGE_STRING=\"ICU\ 57.1\" -DPACKAGE_BUGREPORT=\"http://icu-project.org/bugs\" -DPACKAGE_URL=\"http://icu-project.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=4 -DHAVE_LIBM=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LIBPTHREAD=1 -DHAVE_INTTYPES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_WCHAR_H=1 -DSIZEOF_WCHAR_T=2 "
215
215
  # use a consistent INSTALL
216
216
  INSTALL="${SHELL} ${pkgdatadir}/install-sh -c"
217
217
  INSTALL_DATA="${INSTALL} -m 644"
@@ -220,8 +220,8 @@ INSTALL_SCRIPT="${INSTALL}"
220
220
  LDFLAGS="${RPATHLDFLAGS}"
221
221
  LIBS="-lpthread -lm "
222
222
  LIB_M=""
223
- LIB_VERSION="55.1"
224
- LIB_VERSION_MAJOR="55"
223
+ LIB_VERSION="57.1"
224
+ LIB_VERSION_MAJOR="57"
225
225
  MKINSTALLDIRS="${SHELL} ${pkgdatadir}/mkinstalldirs"
226
226
  RANLIB="i686-w64-mingw32-ranlib"
227
227
  RMV="rm -rf"
@@ -249,7 +249,7 @@ INSTALL_L="${INSTALL_DATA}"
249
249
 
250
250
  # The basename of the ICU data file (i.e. icudt21b )
251
251
  ICUDATA_CHAR="l"
252
- ICUDATA_NAME="icudt55l"
252
+ ICUDATA_NAME="icudt57l"
253
253
 
254
254
  # Defaults for pkgdata's mode and directories
255
255
  # The default data dir changes depending on what packaging mode
@@ -817,4 +817,3 @@ sanity
817
817
  ## END of icu-config-bottom
818
818
 
819
819
  exit 0
820
- # Rebuilt on Mon Sep 21 04:54:20 UTC 2015
Binary file
Binary file
Binary file
Binary file
@@ -64,7 +64,7 @@ typedef enum {
64
64
 
65
65
  typedef struct hb_blob_t hb_blob_t;
66
66
 
67
- hb_blob_t *
67
+ HB_EXTERN hb_blob_t *
68
68
  hb_blob_create (const char *data,
69
69
  unsigned int length,
70
70
  hb_memory_mode_t mode,
@@ -77,21 +77,21 @@ hb_blob_create (const char *data,
77
77
  * modify the parent data as that data may be
78
78
  * shared among multiple sub-blobs.
79
79
  */
80
- hb_blob_t *
80
+ HB_EXTERN hb_blob_t *
81
81
  hb_blob_create_sub_blob (hb_blob_t *parent,
82
82
  unsigned int offset,
83
83
  unsigned int length);
84
84
 
85
- hb_blob_t *
85
+ HB_EXTERN hb_blob_t *
86
86
  hb_blob_get_empty (void);
87
87
 
88
- hb_blob_t *
88
+ HB_EXTERN hb_blob_t *
89
89
  hb_blob_reference (hb_blob_t *blob);
90
90
 
91
- void
91
+ HB_EXTERN void
92
92
  hb_blob_destroy (hb_blob_t *blob);
93
93
 
94
- hb_bool_t
94
+ HB_EXTERN hb_bool_t
95
95
  hb_blob_set_user_data (hb_blob_t *blob,
96
96
  hb_user_data_key_t *key,
97
97
  void * data,
@@ -99,25 +99,25 @@ hb_blob_set_user_data (hb_blob_t *blob,
99
99
  hb_bool_t replace);
100
100
 
101
101
 
102
- void *
102
+ HB_EXTERN void *
103
103
  hb_blob_get_user_data (hb_blob_t *blob,
104
104
  hb_user_data_key_t *key);
105
105
 
106
106
 
107
- void
107
+ HB_EXTERN void
108
108
  hb_blob_make_immutable (hb_blob_t *blob);
109
109
 
110
- hb_bool_t
110
+ HB_EXTERN hb_bool_t
111
111
  hb_blob_is_immutable (hb_blob_t *blob);
112
112
 
113
113
 
114
- unsigned int
114
+ HB_EXTERN unsigned int
115
115
  hb_blob_get_length (hb_blob_t *blob);
116
116
 
117
- const char *
117
+ HB_EXTERN const char *
118
118
  hb_blob_get_data (hb_blob_t *blob, unsigned int *length);
119
119
 
120
- char *
120
+ HB_EXTERN char *
121
121
  hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length);
122
122
 
123
123
 
@@ -40,7 +40,27 @@
40
40
 
41
41
  HB_BEGIN_DECLS
42
42
 
43
-
43
+ /**
44
+ * hb_glyph_info_t:
45
+ * @codepoint: either a Unicode code point (before shaping) or a glyph index
46
+ * (after shaping).
47
+ * @mask:
48
+ * @cluster: the index of the character in the original text that corresponds
49
+ * to this #hb_glyph_info_t, or whatever the client passes to
50
+ * hb_buffer_add(). More than one #hb_glyph_info_t can have the same
51
+ * @cluster value, if they resulted from the same character (e.g. one
52
+ * to many glyph substitution), and when more than one character gets
53
+ * merged in the same glyph (e.g. many to one glyph substitution) the
54
+ * #hb_glyph_info_t will have the smallest cluster value of them.
55
+ * By default some characters are merged into the same cluster
56
+ * (e.g. combining marks have the same cluster as their bases)
57
+ * even if they are separate glyphs, hb_buffer_set_cluster_level()
58
+ * allow selecting more fine-grained cluster handling.
59
+ *
60
+ * The #hb_glyph_info_t is the structure that holds information about the
61
+ * glyphs and their relation to input text.
62
+ *
63
+ */
44
64
  typedef struct hb_glyph_info_t {
45
65
  hb_codepoint_t codepoint;
46
66
  hb_mask_t mask;
@@ -51,6 +71,22 @@ typedef struct hb_glyph_info_t {
51
71
  hb_var_int_t var2;
52
72
  } hb_glyph_info_t;
53
73
 
74
+ /**
75
+ * hb_glyph_position_t:
76
+ * @x_advance: how much the line advances after drawing this glyph when setting
77
+ * text in horizontal direction.
78
+ * @y_advance: how much the line advances after drawing this glyph when setting
79
+ * text in vertical direction.
80
+ * @x_offset: how much the glyph moves on the X-axis before drawing it, this
81
+ * should not affect how much the line advances.
82
+ * @y_offset: how much the glyph moves on the Y-axis before drawing it, this
83
+ * should not affect how much the line advances.
84
+ *
85
+ * The #hb_glyph_position_t is the structure that holds the positions of the
86
+ * glyph in both horizontal and vertical directions. All positions in
87
+ * #hb_glyph_position_t are relative to the current point.
88
+ *
89
+ */
54
90
  typedef struct hb_glyph_position_t {
55
91
  hb_position_t x_advance;
56
92
  hb_position_t y_advance;
@@ -61,7 +97,16 @@ typedef struct hb_glyph_position_t {
61
97
  hb_var_int_t var;
62
98
  } hb_glyph_position_t;
63
99
 
64
-
100
+ /**
101
+ * hb_segment_properties_t:
102
+ * @direction: the #hb_direction_t of the buffer, see hb_buffer_set_direction().
103
+ * @script: the #hb_script_t of the buffer, see hb_buffer_set_script().
104
+ * @language: the #hb_language_t of the buffer, see hb_buffer_set_language().
105
+ *
106
+ * The structure that holds various text properties of an #hb_buffer_t. Can be
107
+ * set and retrieved using hb_buffer_set_segment_properties() and
108
+ * hb_buffer_get_segment_properties(), respectively.
109
+ */
65
110
  typedef struct hb_segment_properties_t {
66
111
  hb_direction_t direction;
67
112
  hb_script_t script;
@@ -77,100 +122,127 @@ typedef struct hb_segment_properties_t {
77
122
  NULL, \
78
123
  NULL}
79
124
 
80
- hb_bool_t
125
+ HB_EXTERN hb_bool_t
81
126
  hb_segment_properties_equal (const hb_segment_properties_t *a,
82
127
  const hb_segment_properties_t *b);
83
128
 
84
- unsigned int
129
+ HB_EXTERN unsigned int
85
130
  hb_segment_properties_hash (const hb_segment_properties_t *p);
86
131
 
87
132
 
88
133
 
89
- /*
90
- * hb_buffer_t
134
+ /**
135
+ * hb_buffer_t:
136
+ *
137
+ * The main structure holding the input text and its properties before shaping,
138
+ * and output glyphs and their information after shaping.
91
139
  */
92
140
 
93
141
  typedef struct hb_buffer_t hb_buffer_t;
94
142
 
95
- hb_buffer_t *
143
+ HB_EXTERN hb_buffer_t *
96
144
  hb_buffer_create (void);
97
145
 
98
- hb_buffer_t *
146
+ HB_EXTERN hb_buffer_t *
99
147
  hb_buffer_get_empty (void);
100
148
 
101
- hb_buffer_t *
149
+ HB_EXTERN hb_buffer_t *
102
150
  hb_buffer_reference (hb_buffer_t *buffer);
103
151
 
104
- void
152
+ HB_EXTERN void
105
153
  hb_buffer_destroy (hb_buffer_t *buffer);
106
154
 
107
- hb_bool_t
155
+ HB_EXTERN hb_bool_t
108
156
  hb_buffer_set_user_data (hb_buffer_t *buffer,
109
157
  hb_user_data_key_t *key,
110
158
  void * data,
111
159
  hb_destroy_func_t destroy,
112
160
  hb_bool_t replace);
113
161
 
114
- void *
162
+ HB_EXTERN void *
115
163
  hb_buffer_get_user_data (hb_buffer_t *buffer,
116
164
  hb_user_data_key_t *key);
117
165
 
118
-
166
+ /**
167
+ * hb_buffer_content_type_t:
168
+ * @HB_BUFFER_CONTENT_TYPE_INVALID: Initial value for new buffer.
169
+ * @HB_BUFFER_CONTENT_TYPE_UNICODE: The buffer contains input characters (before shaping).
170
+ * @HB_BUFFER_CONTENT_TYPE_GLYPHS: The buffer contains output glyphs (after shaping).
171
+ */
119
172
  typedef enum {
120
173
  HB_BUFFER_CONTENT_TYPE_INVALID = 0,
121
174
  HB_BUFFER_CONTENT_TYPE_UNICODE,
122
175
  HB_BUFFER_CONTENT_TYPE_GLYPHS
123
176
  } hb_buffer_content_type_t;
124
177
 
125
- void
178
+ HB_EXTERN void
126
179
  hb_buffer_set_content_type (hb_buffer_t *buffer,
127
180
  hb_buffer_content_type_t content_type);
128
181
 
129
- hb_buffer_content_type_t
182
+ HB_EXTERN hb_buffer_content_type_t
130
183
  hb_buffer_get_content_type (hb_buffer_t *buffer);
131
184
 
132
185
 
133
- void
186
+ HB_EXTERN void
134
187
  hb_buffer_set_unicode_funcs (hb_buffer_t *buffer,
135
188
  hb_unicode_funcs_t *unicode_funcs);
136
189
 
137
- hb_unicode_funcs_t *
190
+ HB_EXTERN hb_unicode_funcs_t *
138
191
  hb_buffer_get_unicode_funcs (hb_buffer_t *buffer);
139
192
 
140
- void
193
+ HB_EXTERN void
141
194
  hb_buffer_set_direction (hb_buffer_t *buffer,
142
195
  hb_direction_t direction);
143
196
 
144
- hb_direction_t
197
+ HB_EXTERN hb_direction_t
145
198
  hb_buffer_get_direction (hb_buffer_t *buffer);
146
199
 
147
- void
200
+ HB_EXTERN void
148
201
  hb_buffer_set_script (hb_buffer_t *buffer,
149
202
  hb_script_t script);
150
203
 
151
- hb_script_t
204
+ HB_EXTERN hb_script_t
152
205
  hb_buffer_get_script (hb_buffer_t *buffer);
153
206
 
154
- void
207
+ HB_EXTERN void
155
208
  hb_buffer_set_language (hb_buffer_t *buffer,
156
209
  hb_language_t language);
157
210
 
158
211
 
159
- hb_language_t
212
+ HB_EXTERN hb_language_t
160
213
  hb_buffer_get_language (hb_buffer_t *buffer);
161
214
 
162
- void
215
+ HB_EXTERN void
163
216
  hb_buffer_set_segment_properties (hb_buffer_t *buffer,
164
217
  const hb_segment_properties_t *props);
165
218
 
166
- void
219
+ HB_EXTERN void
167
220
  hb_buffer_get_segment_properties (hb_buffer_t *buffer,
168
221
  hb_segment_properties_t *props);
169
222
 
170
- void
223
+ HB_EXTERN void
171
224
  hb_buffer_guess_segment_properties (hb_buffer_t *buffer);
172
225
 
173
226
 
227
+ /**
228
+ * hb_buffer_flags_t:
229
+ * @HB_BUFFER_FLAG_DEFAULT: the default buffer flag.
230
+ * @HB_BUFFER_FLAG_BOT: flag indicating that special handling of the beginning
231
+ * of text paragraph can be applied to this buffer. Should usually
232
+ * be set, unless you are passing to the buffer only part
233
+ * of the text without the full context.
234
+ * @HB_BUFFER_FLAG_EOT: flag indicating that special handling of the end of text
235
+ * paragraph can be applied to this buffer, similar to
236
+ * @HB_BUFFER_FLAG_EOT.
237
+ * @HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES:
238
+ * flag indication that character with Default_Ignorable
239
+ * Unicode property should use the corresponding glyph
240
+ * from the font, instead of hiding them (currently done
241
+ * by replacing them with the space glyph and zeroing the
242
+ * advance width.)
243
+ *
244
+ * Since: 0.9.20
245
+ */
174
246
  typedef enum { /*< flags >*/
175
247
  HB_BUFFER_FLAG_DEFAULT = 0x00000000u,
176
248
  HB_BUFFER_FLAG_BOT = 0x00000001u, /* Beginning-of-text */
@@ -178,13 +250,16 @@ typedef enum { /*< flags >*/
178
250
  HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES = 0x00000004u
179
251
  } hb_buffer_flags_t;
180
252
 
181
- void
253
+ HB_EXTERN void
182
254
  hb_buffer_set_flags (hb_buffer_t *buffer,
183
255
  hb_buffer_flags_t flags);
184
256
 
185
- hb_buffer_flags_t
257
+ HB_EXTERN hb_buffer_flags_t
186
258
  hb_buffer_get_flags (hb_buffer_t *buffer);
187
259
 
260
+ /*
261
+ * Since: 0.9.42
262
+ */
188
263
  typedef enum {
189
264
  HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES = 0,
190
265
  HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS = 1,
@@ -192,93 +267,92 @@ typedef enum {
192
267
  HB_BUFFER_CLUSTER_LEVEL_DEFAULT = HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES
193
268
  } hb_buffer_cluster_level_t;
194
269
 
195
- void
270
+ HB_EXTERN void
196
271
  hb_buffer_set_cluster_level (hb_buffer_t *buffer,
197
272
  hb_buffer_cluster_level_t cluster_level);
198
273
 
199
- hb_buffer_cluster_level_t
274
+ HB_EXTERN hb_buffer_cluster_level_t
200
275
  hb_buffer_get_cluster_level (hb_buffer_t *buffer);
201
276
 
277
+ /**
278
+ * HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT:
279
+ *
280
+ * The default code point for replacing invalid characters in a given encoding.
281
+ * Set to U+FFFD REPLACEMENT CHARACTER.
282
+ *
283
+ * Since: 0.9.31
284
+ */
202
285
  #define HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT 0xFFFDu
203
286
 
204
- /* Sets codepoint used to replace invalid UTF-8/16/32 entries.
205
- * Default is 0xFFFDu. */
206
- void
287
+ HB_EXTERN void
207
288
  hb_buffer_set_replacement_codepoint (hb_buffer_t *buffer,
208
289
  hb_codepoint_t replacement);
209
290
 
210
- hb_codepoint_t
291
+ HB_EXTERN hb_codepoint_t
211
292
  hb_buffer_get_replacement_codepoint (hb_buffer_t *buffer);
212
293
 
213
294
 
214
- /* Resets the buffer. Afterwards it's as if it was just created,
215
- * except that it has a larger buffer allocated perhaps... */
216
- void
295
+ HB_EXTERN void
217
296
  hb_buffer_reset (hb_buffer_t *buffer);
218
297
 
219
- /* Like reset, but does NOT clear unicode_funcs and replacement_codepoint. */
220
- void
298
+ HB_EXTERN void
221
299
  hb_buffer_clear_contents (hb_buffer_t *buffer);
222
300
 
223
- /* Returns false if allocation failed */
224
- hb_bool_t
301
+ HB_EXTERN hb_bool_t
225
302
  hb_buffer_pre_allocate (hb_buffer_t *buffer,
226
303
  unsigned int size);
227
304
 
228
305
 
229
- /* Returns false if allocation has failed before */
230
- hb_bool_t
306
+ HB_EXTERN hb_bool_t
231
307
  hb_buffer_allocation_successful (hb_buffer_t *buffer);
232
308
 
233
- void
309
+ HB_EXTERN void
234
310
  hb_buffer_reverse (hb_buffer_t *buffer);
235
311
 
236
- void
312
+ HB_EXTERN void
237
313
  hb_buffer_reverse_range (hb_buffer_t *buffer,
238
314
  unsigned int start, unsigned int end);
239
315
 
240
- void
316
+ HB_EXTERN void
241
317
  hb_buffer_reverse_clusters (hb_buffer_t *buffer);
242
318
 
243
319
 
244
320
  /* Filling the buffer in */
245
321
 
246
- void
322
+ HB_EXTERN void
247
323
  hb_buffer_add (hb_buffer_t *buffer,
248
324
  hb_codepoint_t codepoint,
249
325
  unsigned int cluster);
250
326
 
251
- void
327
+ HB_EXTERN void
252
328
  hb_buffer_add_utf8 (hb_buffer_t *buffer,
253
329
  const char *text,
254
330
  int text_length,
255
331
  unsigned int item_offset,
256
332
  int item_length);
257
333
 
258
- void
334
+ HB_EXTERN void
259
335
  hb_buffer_add_utf16 (hb_buffer_t *buffer,
260
336
  const uint16_t *text,
261
337
  int text_length,
262
338
  unsigned int item_offset,
263
339
  int item_length);
264
340
 
265
- void
341
+ HB_EXTERN void
266
342
  hb_buffer_add_utf32 (hb_buffer_t *buffer,
267
343
  const uint32_t *text,
268
344
  int text_length,
269
345
  unsigned int item_offset,
270
346
  int item_length);
271
347
 
272
- /* Allows only access to first 256 Unicode codepoints. */
273
- void
348
+ HB_EXTERN void
274
349
  hb_buffer_add_latin1 (hb_buffer_t *buffer,
275
350
  const uint8_t *text,
276
351
  int text_length,
277
352
  unsigned int item_offset,
278
353
  int item_length);
279
354
 
280
- /* Like add_utf32 but does NOT check for invalid Unicode codepoints. */
281
- void
355
+ HB_EXTERN void
282
356
  hb_buffer_add_codepoints (hb_buffer_t *buffer,
283
357
  const hb_codepoint_t *text,
284
358
  int text_length,
@@ -286,32 +360,25 @@ hb_buffer_add_codepoints (hb_buffer_t *buffer,
286
360
  int item_length);
287
361
 
288
362
 
289
- /* Clears any new items added at the end */
290
- hb_bool_t
363
+ HB_EXTERN hb_bool_t
291
364
  hb_buffer_set_length (hb_buffer_t *buffer,
292
365
  unsigned int length);
293
366
 
294
- /* Return value valid as long as buffer not modified */
295
- unsigned int
367
+ HB_EXTERN unsigned int
296
368
  hb_buffer_get_length (hb_buffer_t *buffer);
297
369
 
298
370
  /* Getting glyphs out of the buffer */
299
371
 
300
- /* Return value valid as long as buffer not modified */
301
- hb_glyph_info_t *
372
+ HB_EXTERN hb_glyph_info_t *
302
373
  hb_buffer_get_glyph_infos (hb_buffer_t *buffer,
303
374
  unsigned int *length);
304
375
 
305
- /* Return value valid as long as buffer not modified */
306
- hb_glyph_position_t *
376
+ HB_EXTERN hb_glyph_position_t *
307
377
  hb_buffer_get_glyph_positions (hb_buffer_t *buffer,
308
378
  unsigned int *length);
309
379
 
310
380
 
311
- /* Reorders a glyph buffer to have canonical in-cluster glyph order / position.
312
- * The resulting clusters should behave identical to pre-reordering clusters.
313
- * NOTE: This has nothing to do with Unicode normalization. */
314
- void
381
+ HB_EXTERN void
315
382
  hb_buffer_normalize_glyphs (hb_buffer_t *buffer);
316
383
 
317
384
 
@@ -319,6 +386,18 @@ hb_buffer_normalize_glyphs (hb_buffer_t *buffer);
319
386
  * Serialize
320
387
  */
321
388
 
389
+ /**
390
+ * hb_buffer_serialize_flags_t:
391
+ * @HB_BUFFER_SERIALIZE_FLAG_DEFAULT: serialize glyph names, clusters and positions.
392
+ * @HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS: do not serialize glyph cluster.
393
+ * @HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS: do not serialize glyph position information.
394
+ * @HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES: do no serialize glyph name.
395
+ * @HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS: serialize glyph extents.
396
+ *
397
+ * Flags that control what glyph information are serialized in hb_buffer_serialize_glyphs().
398
+ *
399
+ * Since: 0.9.20
400
+ */
322
401
  typedef enum { /*< flags >*/
323
402
  HB_BUFFER_SERIALIZE_FLAG_DEFAULT = 0x00000000u,
324
403
  HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS = 0x00000001u,
@@ -327,43 +406,67 @@ typedef enum { /*< flags >*/
327
406
  HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS = 0x00000008u
328
407
  } hb_buffer_serialize_flags_t;
329
408
 
409
+ /**
410
+ * hb_buffer_serialize_format_t:
411
+ * @HB_BUFFER_SERIALIZE_FORMAT_TEXT: a human-readable, plain text format.
412
+ * @HB_BUFFER_SERIALIZE_FORMAT_JSON: a machine-readable JSON format.
413
+ * @HB_BUFFER_SERIALIZE_FORMAT_INVALID: invalid format.
414
+ *
415
+ * The buffer serialization and de-serialization format used in
416
+ * hb_buffer_serialize_glyphs() and hb_buffer_deserialize_glyphs().
417
+ *
418
+ * Since: 0.9.2
419
+ */
330
420
  typedef enum {
331
421
  HB_BUFFER_SERIALIZE_FORMAT_TEXT = HB_TAG('T','E','X','T'),
332
422
  HB_BUFFER_SERIALIZE_FORMAT_JSON = HB_TAG('J','S','O','N'),
333
423
  HB_BUFFER_SERIALIZE_FORMAT_INVALID = HB_TAG_NONE
334
424
  } hb_buffer_serialize_format_t;
335
425
 
336
- /* len=-1 means str is NUL-terminated. */
337
- hb_buffer_serialize_format_t
426
+ HB_EXTERN hb_buffer_serialize_format_t
338
427
  hb_buffer_serialize_format_from_string (const char *str, int len);
339
428
 
340
- const char *
429
+ HB_EXTERN const char *
341
430
  hb_buffer_serialize_format_to_string (hb_buffer_serialize_format_t format);
342
431
 
343
- const char **
432
+ HB_EXTERN const char **
344
433
  hb_buffer_serialize_list_formats (void);
345
434
 
346
- /* Returns number of items, starting at start, that were serialized. */
347
- unsigned int
435
+ HB_EXTERN unsigned int
348
436
  hb_buffer_serialize_glyphs (hb_buffer_t *buffer,
349
437
  unsigned int start,
350
438
  unsigned int end,
351
439
  char *buf,
352
440
  unsigned int buf_size,
353
- unsigned int *buf_consumed, /* May be NULL */
354
- hb_font_t *font, /* May be NULL */
441
+ unsigned int *buf_consumed,
442
+ hb_font_t *font,
355
443
  hb_buffer_serialize_format_t format,
356
444
  hb_buffer_serialize_flags_t flags);
357
445
 
358
- hb_bool_t
446
+ HB_EXTERN hb_bool_t
359
447
  hb_buffer_deserialize_glyphs (hb_buffer_t *buffer,
360
448
  const char *buf,
361
- int buf_len, /* -1 means nul-terminated */
362
- const char **end_ptr, /* May be NULL */
363
- hb_font_t *font, /* May be NULL */
449
+ int buf_len,
450
+ const char **end_ptr,
451
+ hb_font_t *font,
364
452
  hb_buffer_serialize_format_t format);
365
453
 
366
454
 
455
+ /*
456
+ * Debugging.
457
+ */
458
+
459
+ typedef hb_bool_t (*hb_buffer_message_func_t) (hb_buffer_t *buffer,
460
+ hb_font_t *font,
461
+ const char *message,
462
+ void *user_data);
463
+
464
+ HB_EXTERN void
465
+ hb_buffer_set_message_func (hb_buffer_t *buffer,
466
+ hb_buffer_message_func_t func,
467
+ void *user_data, hb_destroy_func_t destroy);
468
+
469
+
367
470
  HB_END_DECLS
368
471
 
369
472
  #endif /* HB_BUFFER_H */