pango 3.1.0-x86-mingw32 → 3.1.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -4
  3. data/ext/pango/rbpangolayoutline.c +6 -2
  4. data/lib/2.2/pango.so +0 -0
  5. data/lib/2.3/pango.so +0 -0
  6. data/lib/2.4/pango.so +0 -0
  7. data/sample/layout.rb +1 -1
  8. data/vendor/local/bin/derb.exe +0 -0
  9. data/vendor/local/bin/genbrk.exe +0 -0
  10. data/vendor/local/bin/genccode.exe +0 -0
  11. data/vendor/local/bin/gencfu.exe +0 -0
  12. data/vendor/local/bin/gencmn.exe +0 -0
  13. data/vendor/local/bin/gencnval.exe +0 -0
  14. data/vendor/local/bin/gendict.exe +0 -0
  15. data/vendor/local/bin/gennorm2.exe +0 -0
  16. data/vendor/local/bin/genrb.exe +0 -0
  17. data/vendor/local/bin/gensprep.exe +0 -0
  18. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  19. data/vendor/local/bin/hb-shape.exe +0 -0
  20. data/vendor/local/bin/hb-view.exe +0 -0
  21. data/vendor/local/bin/icu-config +18 -13
  22. data/vendor/local/bin/icuinfo.exe +0 -0
  23. data/vendor/local/bin/icupkg.exe +0 -0
  24. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  25. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  26. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  27. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  28. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  29. data/vendor/local/bin/makeconv.exe +0 -0
  30. data/vendor/local/bin/pango-view.exe +0 -0
  31. data/vendor/local/bin/pkgdata.exe +0 -0
  32. data/vendor/local/bin/uconv.exe +0 -0
  33. data/vendor/local/include/harfbuzz/hb-font.h +5 -0
  34. data/vendor/local/include/harfbuzz/hb-glib.h +2 -1
  35. data/vendor/local/include/harfbuzz/hb-ot-layout.h +19 -0
  36. data/vendor/local/include/harfbuzz/hb-shape-plan.h +19 -0
  37. data/vendor/local/include/harfbuzz/hb-version.h +3 -3
  38. data/vendor/local/include/unicode/alphaindex.h +2 -0
  39. data/vendor/local/include/unicode/appendable.h +2 -0
  40. data/vendor/local/include/unicode/basictz.h +2 -0
  41. data/vendor/local/include/unicode/brkiter.h +7 -0
  42. data/vendor/local/include/unicode/bytestream.h +2 -0
  43. data/vendor/local/include/unicode/bytestrie.h +3 -2
  44. data/vendor/local/include/unicode/bytestriebuilder.h +4 -4
  45. data/vendor/local/include/unicode/calendar.h +2 -0
  46. data/vendor/local/include/unicode/caniter.h +2 -0
  47. data/vendor/local/include/unicode/chariter.h +2 -0
  48. data/vendor/local/include/unicode/choicfmt.h +2 -0
  49. data/vendor/local/include/unicode/coleitr.h +2 -0
  50. data/vendor/local/include/unicode/coll.h +2 -0
  51. data/vendor/local/include/unicode/compactdecimalformat.h +4 -3
  52. data/vendor/local/include/unicode/curramt.h +2 -0
  53. data/vendor/local/include/unicode/currpinf.h +2 -0
  54. data/vendor/local/include/unicode/currunit.h +2 -0
  55. data/vendor/local/include/unicode/datefmt.h +2 -0
  56. data/vendor/local/include/unicode/dbbi.h +2 -0
  57. data/vendor/local/include/unicode/dcfmtsym.h +2 -0
  58. data/vendor/local/include/unicode/decimfmt.h +9 -5
  59. data/vendor/local/include/unicode/docmain.h +3 -1
  60. data/vendor/local/include/unicode/dtfmtsym.h +26 -14
  61. data/vendor/local/include/unicode/dtintrv.h +2 -0
  62. data/vendor/local/include/unicode/dtitvfmt.h +2 -0
  63. data/vendor/local/include/unicode/dtitvinf.h +8 -3
  64. data/vendor/local/include/unicode/dtptngen.h +13 -9
  65. data/vendor/local/include/unicode/dtrule.h +2 -0
  66. data/vendor/local/include/unicode/enumset.h +2 -0
  67. data/vendor/local/include/unicode/errorcode.h +2 -0
  68. data/vendor/local/include/unicode/fieldpos.h +5 -2
  69. data/vendor/local/include/unicode/filteredbrk.h +10 -12
  70. data/vendor/local/include/unicode/fmtable.h +4 -2
  71. data/vendor/local/include/unicode/format.h +2 -0
  72. data/vendor/local/include/unicode/fpositer.h +2 -0
  73. data/vendor/local/include/unicode/gender.h +2 -0
  74. data/vendor/local/include/unicode/gregocal.h +2 -0
  75. data/vendor/local/include/unicode/icudataver.h +2 -0
  76. data/vendor/local/include/unicode/icuplug.h +12 -2
  77. data/vendor/local/include/unicode/idna.h +6 -4
  78. data/vendor/local/include/unicode/listformatter.h +2 -0
  79. data/vendor/local/include/unicode/localpointer.h +19 -28
  80. data/vendor/local/include/unicode/locdspnm.h +2 -0
  81. data/vendor/local/include/unicode/locid.h +2 -0
  82. data/vendor/local/include/unicode/measfmt.h +21 -2
  83. data/vendor/local/include/unicode/measunit.h +50 -24
  84. data/vendor/local/include/unicode/measure.h +2 -0
  85. data/vendor/local/include/unicode/messagepattern.h +2 -0
  86. data/vendor/local/include/unicode/msgfmt.h +2 -0
  87. data/vendor/local/include/unicode/normalizer2.h +2 -0
  88. data/vendor/local/include/unicode/normlzr.h +4 -4
  89. data/vendor/local/include/unicode/numfmt.h +8 -6
  90. data/vendor/local/include/unicode/numsys.h +2 -0
  91. data/vendor/local/include/unicode/parseerr.h +2 -0
  92. data/vendor/local/include/unicode/parsepos.h +2 -0
  93. data/vendor/local/include/unicode/platform.h +8 -0
  94. data/vendor/local/include/unicode/plurfmt.h +2 -0
  95. data/vendor/local/include/unicode/plurrule.h +2 -0
  96. data/vendor/local/include/unicode/ptypes.h +2 -0
  97. data/vendor/local/include/unicode/putil.h +2 -0
  98. data/vendor/local/include/unicode/rbbi.h +18 -66
  99. data/vendor/local/include/unicode/rbnf.h +8 -0
  100. data/vendor/local/include/unicode/rbtz.h +2 -0
  101. data/vendor/local/include/unicode/regex.h +2 -0
  102. data/vendor/local/include/unicode/region.h +3 -1
  103. data/vendor/local/include/unicode/reldatefmt.h +19 -9
  104. data/vendor/local/include/unicode/rep.h +2 -0
  105. data/vendor/local/include/unicode/resbund.h +2 -0
  106. data/vendor/local/include/unicode/schriter.h +2 -0
  107. data/vendor/local/include/unicode/scientificnumberformatter.h +2 -0
  108. data/vendor/local/include/unicode/search.h +2 -0
  109. data/vendor/local/include/unicode/selfmt.h +2 -0
  110. data/vendor/local/include/unicode/simpleformatter.h +2 -0
  111. data/vendor/local/include/unicode/simpletz.h +2 -0
  112. data/vendor/local/include/unicode/smpdtfmt.h +9 -1
  113. data/vendor/local/include/unicode/sortkey.h +2 -0
  114. data/vendor/local/include/unicode/std_string.h +2 -0
  115. data/vendor/local/include/unicode/strenum.h +2 -0
  116. data/vendor/local/include/unicode/stringpiece.h +5 -3
  117. data/vendor/local/include/unicode/stringtriebuilder.h +13 -1
  118. data/vendor/local/include/unicode/stsearch.h +2 -0
  119. data/vendor/local/include/unicode/symtable.h +2 -0
  120. data/vendor/local/include/unicode/tblcoll.h +3 -1
  121. data/vendor/local/include/unicode/timezone.h +2 -0
  122. data/vendor/local/include/unicode/tmunit.h +8 -0
  123. data/vendor/local/include/unicode/tmutamt.h +2 -0
  124. data/vendor/local/include/unicode/tmutfmt.h +5 -0
  125. data/vendor/local/include/unicode/translit.h +2 -0
  126. data/vendor/local/include/unicode/tzfmt.h +2 -0
  127. data/vendor/local/include/unicode/tznames.h +16 -2
  128. data/vendor/local/include/unicode/tzrule.h +2 -0
  129. data/vendor/local/include/unicode/tztrans.h +2 -0
  130. data/vendor/local/include/unicode/ubidi.h +20 -8
  131. data/vendor/local/include/unicode/ubiditransform.h +321 -0
  132. data/vendor/local/include/unicode/ubrk.h +26 -7
  133. data/vendor/local/include/unicode/ucal.h +8 -4
  134. data/vendor/local/include/unicode/ucasemap.h +2 -0
  135. data/vendor/local/include/unicode/ucat.h +2 -0
  136. data/vendor/local/include/unicode/uchar.h +244 -17
  137. data/vendor/local/include/unicode/ucharstrie.h +2 -0
  138. data/vendor/local/include/unicode/ucharstriebuilder.h +2 -0
  139. data/vendor/local/include/unicode/uchriter.h +2 -0
  140. data/vendor/local/include/unicode/uclean.h +2 -0
  141. data/vendor/local/include/unicode/ucnv.h +8 -1
  142. data/vendor/local/include/unicode/ucnv_cb.h +2 -0
  143. data/vendor/local/include/unicode/ucnv_err.h +2 -0
  144. data/vendor/local/include/unicode/ucnvsel.h +2 -0
  145. data/vendor/local/include/unicode/ucol.h +28 -11
  146. data/vendor/local/include/unicode/ucoleitr.h +2 -0
  147. data/vendor/local/include/unicode/uconfig.h +2 -0
  148. data/vendor/local/include/unicode/ucsdet.h +2 -0
  149. data/vendor/local/include/unicode/ucurr.h +5 -1
  150. data/vendor/local/include/unicode/udat.h +13 -11
  151. data/vendor/local/include/unicode/udata.h +8 -1
  152. data/vendor/local/include/unicode/udateintervalformat.h +2 -0
  153. data/vendor/local/include/unicode/udatpg.h +15 -2
  154. data/vendor/local/include/unicode/udisplaycontext.h +34 -2
  155. data/vendor/local/include/unicode/uenum.h +2 -0
  156. data/vendor/local/include/unicode/ufieldpositer.h +4 -2
  157. data/vendor/local/include/unicode/uformattable.h +9 -1
  158. data/vendor/local/include/unicode/ugender.h +2 -0
  159. data/vendor/local/include/unicode/uidna.h +2 -0
  160. data/vendor/local/include/unicode/uiter.h +2 -0
  161. data/vendor/local/include/unicode/uldnames.h +2 -0
  162. data/vendor/local/include/unicode/ulistformatter.h +2 -0
  163. data/vendor/local/include/unicode/uloc.h +9 -3
  164. data/vendor/local/include/unicode/ulocdata.h +20 -2
  165. data/vendor/local/include/unicode/umachine.h +25 -0
  166. data/vendor/local/include/unicode/umisc.h +2 -0
  167. data/vendor/local/include/unicode/umsg.h +2 -0
  168. data/vendor/local/include/unicode/unifilt.h +2 -0
  169. data/vendor/local/include/unicode/unifunct.h +2 -0
  170. data/vendor/local/include/unicode/unimatch.h +2 -0
  171. data/vendor/local/include/unicode/unirepl.h +2 -0
  172. data/vendor/local/include/unicode/uniset.h +3 -1
  173. data/vendor/local/include/unicode/unistr.h +12 -14
  174. data/vendor/local/include/unicode/unorm.h +6 -2
  175. data/vendor/local/include/unicode/unorm2.h +2 -0
  176. data/vendor/local/include/unicode/unum.h +28 -10
  177. data/vendor/local/include/unicode/unumsys.h +2 -0
  178. data/vendor/local/include/unicode/uobject.h +2 -0
  179. data/vendor/local/include/unicode/upluralrules.h +6 -2
  180. data/vendor/local/include/unicode/uregex.h +2 -0
  181. data/vendor/local/include/unicode/uregion.h +6 -2
  182. data/vendor/local/include/unicode/ureldatefmt.h +13 -7
  183. data/vendor/local/include/unicode/urename.h +16 -4
  184. data/vendor/local/include/unicode/urep.h +2 -0
  185. data/vendor/local/include/unicode/ures.h +7 -1
  186. data/vendor/local/include/unicode/uscript.h +41 -29
  187. data/vendor/local/include/unicode/usearch.h +10 -4
  188. data/vendor/local/include/unicode/uset.h +5 -1
  189. data/vendor/local/include/unicode/usetiter.h +2 -0
  190. data/vendor/local/include/unicode/ushape.h +2 -0
  191. data/vendor/local/include/unicode/uspoof.h +876 -363
  192. data/vendor/local/include/unicode/usprep.h +2 -0
  193. data/vendor/local/include/unicode/ustdio.h +2 -0
  194. data/vendor/local/include/unicode/ustream.h +2 -0
  195. data/vendor/local/include/unicode/ustring.h +2 -0
  196. data/vendor/local/include/unicode/ustringtrie.h +2 -0
  197. data/vendor/local/include/unicode/utext.h +2 -0
  198. data/vendor/local/include/unicode/utf.h +2 -0
  199. data/vendor/local/include/unicode/utf16.h +2 -0
  200. data/vendor/local/include/unicode/utf32.h +2 -0
  201. data/vendor/local/include/unicode/utf8.h +2 -0
  202. data/vendor/local/include/unicode/utf_old.h +2 -0
  203. data/vendor/local/include/unicode/utmscale.h +2 -0
  204. data/vendor/local/include/unicode/utrace.h +20 -0
  205. data/vendor/local/include/unicode/utrans.h +2 -0
  206. data/vendor/local/include/unicode/utypes.h +71 -97
  207. data/vendor/local/include/unicode/uvernum.h +13 -12
  208. data/vendor/local/include/unicode/uversion.h +2 -0
  209. data/vendor/local/include/unicode/vtzone.h +2 -0
  210. data/vendor/local/lib/icu/{57.1 → 58.2}/Makefile.inc +8 -9
  211. data/vendor/local/lib/icu/{57.1 → 58.2}/pkgdata.inc +3 -3
  212. data/vendor/local/lib/icu/Makefile.inc +8 -9
  213. data/vendor/local/lib/icu/pkgdata.inc +3 -3
  214. data/vendor/local/lib/icudt.dll +0 -0
  215. data/vendor/local/lib/icudt58.dll +0 -0
  216. data/vendor/local/lib/icuin.dll +0 -0
  217. data/vendor/local/lib/icuin58.dll +0 -0
  218. data/vendor/local/lib/icuio.dll +0 -0
  219. data/vendor/local/lib/icuio58.dll +0 -0
  220. data/vendor/local/lib/icutest.dll +0 -0
  221. data/vendor/local/lib/{icutest57.dll → icutest58.dll} +0 -0
  222. data/vendor/local/lib/icutu.dll +0 -0
  223. data/vendor/local/lib/icutu58.dll +0 -0
  224. data/vendor/local/lib/icuuc.dll +0 -0
  225. data/vendor/local/lib/icuuc58.dll +0 -0
  226. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  227. data/vendor/local/lib/libharfbuzz-icu.la +4 -4
  228. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  229. data/vendor/local/lib/libharfbuzz.la +3 -3
  230. data/vendor/local/lib/libicudt.dll.a +0 -0
  231. data/vendor/local/lib/{icudt57.dll → libicudt58.dll} +0 -0
  232. data/vendor/local/lib/libicuin.dll.a +0 -0
  233. data/vendor/local/lib/libicuio.dll.a +0 -0
  234. data/vendor/local/lib/libicutest.dll.a +0 -0
  235. data/vendor/local/lib/libicutu.dll.a +0 -0
  236. data/vendor/local/lib/libicuuc.dll.a +0 -0
  237. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  238. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  239. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  240. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  241. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  242. data/vendor/local/lib/pkgconfig/harfbuzz.pc +2 -2
  243. data/vendor/local/lib/pkgconfig/icu-i18n.pc +8 -6
  244. data/vendor/local/lib/pkgconfig/icu-io.pc +8 -6
  245. data/vendor/local/lib/pkgconfig/icu-uc.pc +8 -6
  246. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +1 -1
  248. data/vendor/local/share/icu/{57.1 → 58.2}/LICENSE +52 -60
  249. data/vendor/local/share/icu/{57.1 → 58.2}/config/mh-mingw +4 -2
  250. data/vendor/local/share/icu/{57.1 → 58.2}/install-sh +0 -0
  251. data/vendor/local/share/icu/{57.1 → 58.2}/mkinstalldirs +2 -0
  252. data/vendor/local/share/man/man1/derb.1 +4 -2
  253. data/vendor/local/share/man/man1/genbrk.1 +4 -2
  254. data/vendor/local/share/man/man1/gencfu.1 +3 -1
  255. data/vendor/local/share/man/man1/gencnval.1 +5 -3
  256. data/vendor/local/share/man/man1/gendict.1 +4 -2
  257. data/vendor/local/share/man/man1/genrb.1 +5 -3
  258. data/vendor/local/share/man/man1/icu-config.1 +4 -5
  259. data/vendor/local/share/man/man1/makeconv.1 +5 -3
  260. data/vendor/local/share/man/man1/pkgdata.1 +4 -2
  261. data/vendor/local/share/man/man1/uconv.1 +4 -2
  262. data/vendor/local/share/man/man8/genccode.8 +4 -2
  263. data/vendor/local/share/man/man8/gencmn.8 +5 -3
  264. data/vendor/local/share/man/man8/gensprep.8 +5 -3
  265. data/vendor/local/share/man/man8/icupkg.8 +3 -1
  266. metadata +23 -40
  267. data/vendor/local/include/layout/LEFontInstance.h +0 -524
  268. data/vendor/local/include/layout/LEGlyphFilter.h +0 -45
  269. data/vendor/local/include/layout/LEGlyphStorage.h +0 -546
  270. data/vendor/local/include/layout/LEInsertionList.h +0 -177
  271. data/vendor/local/include/layout/LELanguages.h +0 -109
  272. data/vendor/local/include/layout/LEScripts.h +0 -204
  273. data/vendor/local/include/layout/LESwaps.h +0 -100
  274. data/vendor/local/include/layout/LETableReference.h +0 -435
  275. data/vendor/local/include/layout/LETypes.h +0 -728
  276. data/vendor/local/include/layout/LayoutEngine.h +0 -518
  277. data/vendor/local/include/layout/ParagraphLayout.h +0 -747
  278. data/vendor/local/include/layout/RunArrays.h +0 -676
  279. data/vendor/local/include/layout/loengine.h +0 -225
  280. data/vendor/local/include/layout/playout.h +0 -466
  281. data/vendor/local/include/layout/plruns.h +0 -441
  282. data/vendor/local/lib/icuin57.dll +0 -0
  283. data/vendor/local/lib/icuio57.dll +0 -0
  284. data/vendor/local/lib/icule.dll +0 -0
  285. data/vendor/local/lib/icule57.dll +0 -0
  286. data/vendor/local/lib/iculx.dll +0 -0
  287. data/vendor/local/lib/iculx57.dll +0 -0
  288. data/vendor/local/lib/icutu57.dll +0 -0
  289. data/vendor/local/lib/icuuc57.dll +0 -0
  290. data/vendor/local/lib/libicule.dll.a +0 -0
  291. data/vendor/local/lib/libiculx.dll.a +0 -0
  292. data/vendor/local/lib/pkgconfig/icu-le.pc +0 -38
  293. data/vendor/local/lib/pkgconfig/icu-lx.pc +0 -38
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c06c2152e13b7c98d351311217ff7825c4d698b0
4
- data.tar.gz: 811dff691c3182ef1366250f4756ad6b5fc2e7ad
3
+ metadata.gz: ea1d50ecd3c103fc926962ba5aaf9c260559e1ac
4
+ data.tar.gz: 2ab848b89c8d660b102fb6e9940bb209d444a3bb
5
5
  SHA512:
6
- metadata.gz: c2cd5cf8f9f5eca4e74bbbb95404d9f09d12b84c6949a9dd9692aad586134b8c2a502de29e418e0c030f29addcf2acbf87ba701aa6cfb1ba341a8f44f2c7197e
7
- data.tar.gz: e7c7b3b5be9f88e22a7b749362a9ada9bfc3effa1940517ea75abf920c7bc9c29198ac018ae24c60a23a4f51b37274c37fdf9d0c07eba7fc9de382814d9b0908
6
+ metadata.gz: 1a4a33fa16ffc56821c4117ff663c06d6fa552eaaafffd7c886efd88eca7691b8dab37077d5289d8deb4ceb92ed7cb9e79199d02ee5f8ed6ac7729924a12cc05
7
+ data.tar.gz: f8975c4d98c535849a43af9a43fed8a17dd589df2958d2e06404af89ee0c03ca86df4960d66fc0cbbde9808fbe5b9d822de118a3da242104df4c5df001dfc454
data/Rakefile CHANGED
@@ -29,15 +29,20 @@ 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/57.1",
33
- :label => "gobject-introspection",
32
+ :download_site => :icu,
33
+ :label => "ICU",
34
+ :version => "58.2",
34
35
  :base_name => "icu",
35
- :archive_base_name => "icu4c-57_1-src.tgz",
36
+ :archive_base_name => lambda do |package|
37
+ archive_base_name_version = package.version.gsub(".", "_")
38
+ "icu4c-#{archive_base_name_version}-src.tgz"
39
+ end,
36
40
  :compression_method => "gz",
37
41
  :base_dir_in_package => "source",
38
42
  :windows => {
39
43
  :configure_args => [
40
44
  "--with-cross-build=#{package.package.tmp_dir}/native/icu/icu/source",
45
+ "CPPFLAGS=-DU_USE_STRTOD_L=0",
41
46
  ],
42
47
  :built_file => "bin/icu-config",
43
48
  },
@@ -50,7 +55,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
50
55
  :name => "harfbuzz",
51
56
  :download_site => :freedesktop,
52
57
  :label => "HarfBuzz",
53
- :version => "1.3.3",
58
+ :version => "1.4.1",
54
59
  :compression_method => "bz2",
55
60
  :windows => {
56
61
  :configure_args => [
@@ -58,11 +58,15 @@ rg_index_to_x(VALUE self, VALUE index, VALUE trailing)
58
58
  static VALUE
59
59
  rg_x_to_index(VALUE self, VALUE x_pos)
60
60
  {
61
- int index, trailing;
61
+ int index = 0;
62
+ int trailing = 0;
62
63
 
63
64
  gboolean ret = pango_layout_line_x_to_index(_SELF(self), NUM2INT(x_pos),
64
65
  &index, &trailing);
65
- return rb_ary_new3(CBOOL2RVAL(ret), INT2NUM(index), INT2NUM(trailing));
66
+ return rb_ary_new_from_args(3,
67
+ CBOOL2RVAL(ret),
68
+ INT2NUM(index),
69
+ INT2NUM(trailing));
66
70
  }
67
71
 
68
72
  static VALUE
data/lib/2.2/pango.so CHANGED
Binary file
data/lib/2.3/pango.so CHANGED
Binary file
data/lib/2.4/pango.so ADDED
Binary file
data/sample/layout.rb CHANGED
@@ -14,7 +14,7 @@ require 'pp'
14
14
  puts
15
15
  puts "Start----------"
16
16
  puts
17
- str = File.read("sample.txt")
17
+ str = File.read(File.join(__dir__, "sample.txt"))
18
18
  context = Gdk::Pango.context
19
19
  context.base_dir = Pango::Context::DIRECTION_LTR
20
20
  context.language = Pango::Language.new("ja_JP")
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -2,6 +2,8 @@
2
2
  ## -*-sh-*-
3
3
  #set -x
4
4
  # BEGIN of icu-config-top
5
+ # Copyright (C) 2016 and later: Unicode, Inc. and others.
6
+ # License & terms of use: http://www.unicode.org/copyright.html
5
7
  #******************************************************************************
6
8
  # Copyright (C) 1999-2013, International Business Machines
7
9
  # Corporation and others. All Rights Reserved.
@@ -23,6 +25,8 @@ loaddefs()
23
25
  {
24
26
 
25
27
  # Following from ./config/mh-mingw
28
+ # Copyright (C) 2016 and later: Unicode, Inc. and others.
29
+ # License & terms of use: http://www.unicode.org/copyright.html
26
30
  ## -*-makefile-*-
27
31
  #******************************************************************************
28
32
  # Copyright (C) 1999-2014, International Business Machines
@@ -60,8 +64,8 @@ datadir="${datarootdir}"
60
64
  sbindir="${exec_prefix}/sbin"
61
65
 
62
66
  # about the ICU version
63
- VERSION="57.1"
64
- UNICODE_VERSION="8.0"
67
+ VERSION="58.2"
68
+ UNICODE_VERSION="9.0"
65
69
 
66
70
  # The prefix for ICU libraries, normally 'icu'
67
71
  ICUPREFIX="icu"
@@ -114,7 +118,6 @@ esac
114
118
  DATA_STUBNAME="data"
115
119
  COMMON_STUBNAME="uc"
116
120
  I18N_STUBNAME="i18n"
117
- LAYOUT_STUBNAME="le"
118
121
  LAYOUTEX_STUBNAME="lx"
119
122
  IO_STUBNAME="io"
120
123
  TOOLUTIL_STUBNAME="tu"
@@ -126,7 +129,6 @@ CTESTFW_STUBNAME="test"
126
129
  # 2. link with ${ICULIBS}
127
130
  # 3. optionally, add one or more of:
128
131
  # - ${ICULIBS_I18N} - i18n library, formatting, etc.
129
- # - ${ICULIBS_LAYOUT} - ICU layout library.
130
132
  # - ${ICULIBS_ICUIO} - ICU stdio equivalent library
131
133
 
132
134
  ICULIBS_COMMON="-l${ICUPREFIX}uc${ICULIBSUFFIX}${ICULIBSUFFIX_VERSION}"
@@ -136,7 +138,6 @@ ICULIBS_TOOLUTIL="-l${ICUPREFIX}tu${ICULIBSUFFIX}${ICULIBSUFFIX_VERSION}"
136
138
  ICULIBS_CTESTFW="-l${ICUPREFIX}ctestfw${ICULIBSUFFIX}${ICULIBSUFFIX_VERSION}"
137
139
  ICULIBS_ICUIO="-l${ICUPREFIX}io${ICULIBSUFFIX}${ICULIBSUFFIX_VERSION}"
138
140
  ICULIBS_OBSOLETE="-l${ICUPREFIX}obsolete${ICULIBSUFFIX}${ICULIBSUFFIX_VERSION}"
139
- ICULIBS_LAYOUT="-l${ICUPREFIX}le${ICULIBSUFFIX}${ICULIBSUFFIX_VERSION}"
140
141
  ICULIBS_LAYOUTEX="-l${ICUPREFIX}lx${ICULIBSUFFIX}${ICULIBSUFFIX_VERSION}"
141
142
  ICULIBS_BASE="-L${libdir}"
142
143
 
@@ -211,7 +212,7 @@ CPPFLAGS="-I${prefix}/include"
211
212
  CXXFLAGS="--std=c++0x"
212
213
  CXX="i686-w64-mingw32-g++"
213
214
  DEFAULT_MODE="dll"
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
+ DEFS="-DPACKAGE_NAME=\"ICU\" -DPACKAGE_TARNAME=\"International\ Components\ for\ Unicode\" -DPACKAGE_VERSION=\"58.1\" -DPACKAGE_STRING=\"ICU\ 58.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
216
  # use a consistent INSTALL
216
217
  INSTALL="${SHELL} ${pkgdatadir}/install-sh -c"
217
218
  INSTALL_DATA="${INSTALL} -m 644"
@@ -220,8 +221,8 @@ INSTALL_SCRIPT="${INSTALL}"
220
221
  LDFLAGS="${RPATHLDFLAGS}"
221
222
  LIBS="-lpthread -lm "
222
223
  LIB_M=""
223
- LIB_VERSION="57.1"
224
- LIB_VERSION_MAJOR="57"
224
+ LIB_VERSION="58.2"
225
+ LIB_VERSION_MAJOR="58"
225
226
  MKINSTALLDIRS="${SHELL} ${pkgdatadir}/mkinstalldirs"
226
227
  RANLIB="i686-w64-mingw32-ranlib"
227
228
  RMV="rm -rf"
@@ -249,7 +250,7 @@ INSTALL_L="${INSTALL_DATA}"
249
250
 
250
251
  # The basename of the ICU data file (i.e. icudt21b )
251
252
  ICUDATA_CHAR="l"
252
- ICUDATA_NAME="icudt57l"
253
+ ICUDATA_NAME="icudt58l"
253
254
 
254
255
  # Defaults for pkgdata's mode and directories
255
256
  # The default data dir changes depending on what packaging mode
@@ -289,6 +290,8 @@ GENCCODE_ASSEMBLY=""
289
290
  # parseable. The mh fragment is only included if this does not occur.
290
291
 
291
292
  ## -*-makefile-*-
293
+ ## Copyright (C) 2016 and later: Unicode, Inc. and others.
294
+ ## License & terms of use: http://www.unicode.org/copyright.html
292
295
  ## Cygwin/MinGW specific setup
293
296
  ## Copyright (c) 2001-2014, International Business Machines Corporation and
294
297
  ## others. All Rights Reserved.
@@ -348,13 +351,13 @@ SO_TARGET_VERSION_SUFFIX="${SO_TARGET_VERSION_MAJOR}"
348
351
  SO_TARGET_VERSION_SUFFIX=""
349
352
 
350
353
  # Static library prefix and file extension
351
- LIBSICU="lib${LIBPREFIX}${STATIC_PREFIX}${ICUPREFIX}"
354
+ LIBSICU="${LIBPREFIX}${STATIC_PREFIX}${ICUPREFIX}"
352
355
  A="a"
353
356
 
354
357
  ## An import library is needed for z/OS and MSVC
355
358
  IMPORT_LIB_EXT=".dll.a"
356
359
 
357
- LIBPREFIX=""
360
+ LIBPREFIX="lib"
358
361
 
359
362
  # Change the stubnames so that poorly working FAT disks and installation programs can work.
360
363
  # This is also for backwards compatibility.
@@ -408,6 +411,8 @@ PKGDATA_DEFS="-DU_MAKE=\"${MAKE}\""
408
411
 
409
412
  ## -*-sh-*-
410
413
  ## BEGIN of icu-config-bottom.
414
+ ## Copyright (C) 2016 and later: Unicode, Inc. and others.
415
+ ## License & terms of use: http://www.unicode.org/copyright.html
411
416
  ## Copyright (c) 2002-2013, International Business Machines Corporation and
412
417
  ## others. All Rights Reserved.
413
418
 
@@ -452,7 +457,6 @@ allflags()
452
457
  echo " --invoke Print commands to invoke an ICU program"
453
458
  echo " --invoke=<prog> Print commands to invoke an ICU program named <prog> (ex: genrb)"
454
459
  echo " --ldflags Print -L search path and -l libraries to link with ICU [LDFLAGS]. This is for the data, uc (common), and i18n libraries only. "
455
- echo " --ldflags-layout Print ICU layout engine link directive. Use in addition to --ldflags"
456
460
  echo " --ldflags-libsonly Same as --ldflags, but only the -l directives"
457
461
  echo " --ldflags-searchpath Print only -L (search path) directive"
458
462
  echo " --ldflags-system Print only system libs ICU links with (-lpthread, -lm)"
@@ -687,7 +691,8 @@ do
687
691
  ;;
688
692
 
689
693
  --ldflags-layout)
690
- echo $ECHO_N "${ICULIBS_LAYOUT} ${ICULIBS_LAYOUTEX} ${ECHO_C}"
694
+ echo ${ME}: ERROR: the old layout engine has been removed. use HarfBuzz.
695
+ exit 1
691
696
  ;;
692
697
 
693
698
  --ldflags-searchpath)
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -604,6 +604,11 @@ hb_font_get_ppem (hb_font_t *font,
604
604
  unsigned int *y_ppem);
605
605
 
606
606
 
607
+ HB_EXTERN void
608
+ hb_font_set_var_coords_normalized (hb_font_t *font,
609
+ int *coords, /* XXX 2.14 normalized */
610
+ unsigned int coords_length);
611
+
607
612
  HB_END_DECLS
608
613
 
609
614
  #endif /* HB_FONT_H */
@@ -46,9 +46,10 @@ hb_glib_script_from_script (hb_script_t script);
46
46
  HB_EXTERN hb_unicode_funcs_t *
47
47
  hb_glib_get_unicode_funcs (void);
48
48
 
49
+ #if GLIB_CHECK_VERSION(2,31,10)
49
50
  HB_EXTERN hb_blob_t *
50
51
  hb_glib_blob_create (GBytes *gbytes);
51
-
52
+ #endif
52
53
 
53
54
  HB_END_DECLS
54
55
 
@@ -95,6 +95,7 @@ hb_ot_layout_get_ligature_carets (hb_font_t *font,
95
95
  #define HB_OT_LAYOUT_NO_SCRIPT_INDEX 0xFFFFu
96
96
  #define HB_OT_LAYOUT_NO_FEATURE_INDEX 0xFFFFu
97
97
  #define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX 0xFFFFu
98
+ #define HB_OT_LAYOUT_NO_VARIATIONS_INDEX 0xFFFFFFFFu
98
99
 
99
100
  HB_EXTERN unsigned int
100
101
  hb_ot_layout_table_get_script_tags (hb_face_t *face,
@@ -236,6 +237,24 @@ Xhb_ot_layout_lookup_enumerate_sequences (hb_face_t *face,
236
237
  void *user_data);
237
238
  #endif
238
239
 
240
+ /* Variations support */
241
+
242
+ HB_EXTERN hb_bool_t
243
+ hb_ot_layout_table_find_feature_variations (hb_face_t *face,
244
+ hb_tag_t table_tag,
245
+ const int *coords,
246
+ unsigned int num_coords,
247
+ unsigned int *variations_index /* out */);
248
+
249
+ HB_EXTERN unsigned int
250
+ hb_ot_layout_feature_with_variations_get_lookups (hb_face_t *face,
251
+ hb_tag_t table_tag,
252
+ unsigned int feature_index,
253
+ unsigned int variations_index,
254
+ unsigned int start_offset,
255
+ unsigned int *lookup_count /* IN/OUT */,
256
+ unsigned int *lookup_indexes /* OUT */);
257
+
239
258
 
240
259
  /*
241
260
  * GSUB
@@ -52,6 +52,25 @@ hb_shape_plan_create_cached (hb_face_t *face,
52
52
  unsigned int num_user_features,
53
53
  const char * const *shaper_list);
54
54
 
55
+ HB_EXTERN hb_shape_plan_t *
56
+ hb_shape_plan_create2 (hb_face_t *face,
57
+ const hb_segment_properties_t *props,
58
+ const hb_feature_t *user_features,
59
+ unsigned int num_user_features,
60
+ const int *coords,
61
+ unsigned int num_coords,
62
+ const char * const *shaper_list);
63
+
64
+ HB_EXTERN hb_shape_plan_t *
65
+ hb_shape_plan_create_cached2 (hb_face_t *face,
66
+ const hb_segment_properties_t *props,
67
+ const hb_feature_t *user_features,
68
+ unsigned int num_user_features,
69
+ const int *coords,
70
+ unsigned int num_coords,
71
+ const char * const *shaper_list);
72
+
73
+
55
74
  HB_EXTERN hb_shape_plan_t *
56
75
  hb_shape_plan_get_empty (void);
57
76
 
@@ -37,10 +37,10 @@ HB_BEGIN_DECLS
37
37
 
38
38
 
39
39
  #define HB_VERSION_MAJOR 1
40
- #define HB_VERSION_MINOR 3
41
- #define HB_VERSION_MICRO 3
40
+ #define HB_VERSION_MINOR 4
41
+ #define HB_VERSION_MICRO 1
42
42
 
43
- #define HB_VERSION_STRING "1.3.3"
43
+ #define HB_VERSION_STRING "1.4.1"
44
44
 
45
45
  #define HB_VERSION_ATLEAST(major,minor,micro) \
46
46
  ((major)*10000+(minor)*100+(micro) <= \
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  *
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2011-2012, International Business Machines
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2007-2013, International Business Machines Corporation and
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  ********************************************************************************
3
5
  * Copyright (C) 1997-2016, International Business Machines
@@ -168,6 +170,11 @@ public:
168
170
  /**
169
171
  * Change the text over which this operates. The text boundary is
170
172
  * reset to the start.
173
+ *
174
+ * The BreakIterator will retain a reference to the supplied string.
175
+ * The caller must not modify or delete the text while the BreakIterator
176
+ * retains the reference.
177
+ *
171
178
  * @param text The UnicodeString used to change the text.
172
179
  * @stable ICU 2.0
173
180
  */
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  // Copyright (C) 2009-2012, International Business Machines
2
4
  // Corporation and others. All Rights Reserved.
3
5
  //
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2010-2012, International Business Machines
@@ -306,7 +308,7 @@ public:
306
308
  * @return The NUL-terminated byte sequence for the last successful next().
307
309
  * @stable ICU 4.8
308
310
  */
309
- const StringPiece &getString() const { return sp_; }
311
+ StringPiece getString() const;
310
312
  /**
311
313
  * @return The value for the last successful next().
312
314
  * @stable ICU 4.8
@@ -325,7 +327,6 @@ public:
325
327
  int32_t initialRemainingMatchLength_;
326
328
 
327
329
  CharString *str_;
328
- StringPiece sp_;
329
330
  int32_t maxLength_;
330
331
  int32_t value_;
331
332
 
@@ -1,3 +1,5 @@
1
+ // Copyright (C) 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
1
3
  /*
2
4
  *******************************************************************************
3
5
  * Copyright (C) 2010-2016, International Business Machines
@@ -29,7 +31,6 @@ U_NAMESPACE_BEGIN
29
31
 
30
32
  class BytesTrieElement;
31
33
  class CharString;
32
-
33
34
  /**
34
35
  * Builder class for BytesTrie.
35
36
  *
@@ -65,7 +66,7 @@ public:
65
66
  * @return *this
66
67
  * @stable ICU 4.8
67
68
  */
68
- BytesTrieBuilder &add(const StringPiece &s, int32_t value, UErrorCode &errorCode);
69
+ BytesTrieBuilder &add(StringPiece s, int32_t value, UErrorCode &errorCode);
69
70
 
70
71
  /**
71
72
  * Builds a BytesTrie for the add()ed data.
@@ -141,7 +142,6 @@ private:
141
142
  virtual int32_t getMinLinearMatch() const { return BytesTrie::kMinLinearMatch; }
142
143
  virtual int32_t getMaxLinearMatchLength() const { return BytesTrie::kMaxLinearMatchLength; }
143
144
 
144
- // don't use #ifndef U_HIDE_INTERNAL_API with private class members
145
145
  /**
146
146
  * @internal
147
147
  */
@@ -153,7 +153,7 @@ private:
153
153
  private:
154
154
  const char *s;
155
155
  };
156
-
156
+
157
157
  // don't use #ifndef U_HIDE_INTERNAL_API with private class members or virtual methods.
158
158
  virtual Node *createLinearMatchNode(int32_t i, int32_t byteIndex, int32_t length,
159
159
  Node *nextNode) const;