pango 3.2.1-x64-mingw32 → 3.2.2-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +19 -3
  3. data/lib/2.2/pango.so +0 -0
  4. data/lib/2.3/pango.so +0 -0
  5. data/lib/2.4/pango.so +0 -0
  6. data/lib/2.5/pango.so +0 -0
  7. data/lib/pango/markup.rb +1 -0
  8. data/vendor/local/bin/derb.exe +0 -0
  9. data/vendor/local/bin/fribidi.exe +0 -0
  10. data/vendor/local/bin/genbrk.exe +0 -0
  11. data/vendor/local/bin/genccode.exe +0 -0
  12. data/vendor/local/bin/gencfu.exe +0 -0
  13. data/vendor/local/bin/gencmn.exe +0 -0
  14. data/vendor/local/bin/gencnval.exe +0 -0
  15. data/vendor/local/bin/gendict.exe +0 -0
  16. data/vendor/local/bin/gennorm2.exe +0 -0
  17. data/vendor/local/bin/genrb.exe +0 -0
  18. data/vendor/local/bin/gensprep.exe +0 -0
  19. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  20. data/vendor/local/bin/hb-shape.exe +0 -0
  21. data/vendor/local/bin/hb-subset.exe +0 -0
  22. data/vendor/local/bin/hb-view.exe +0 -0
  23. data/vendor/local/bin/icu-config +1 -1
  24. data/vendor/local/bin/icuinfo.exe +0 -0
  25. data/vendor/local/bin/icupkg.exe +0 -0
  26. data/vendor/local/bin/libfribidi-0.dll +0 -0
  27. data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
  28. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  29. data/vendor/local/bin/libharfbuzz-subset-0.dll +0 -0
  30. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  31. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  32. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  33. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  34. data/vendor/local/bin/makeconv.exe +0 -0
  35. data/vendor/local/bin/pango-view.exe +0 -0
  36. data/vendor/local/bin/pkgdata.exe +0 -0
  37. data/vendor/local/bin/uconv.exe +0 -0
  38. data/vendor/local/include/fribidi/fribidi-arabic.h +81 -0
  39. data/vendor/local/include/fribidi/fribidi-begindecls.h +3 -0
  40. data/vendor/local/include/fribidi/fribidi-bidi-types-list.h +96 -0
  41. data/vendor/local/include/fribidi/fribidi-bidi-types.h +405 -0
  42. data/vendor/local/include/fribidi/fribidi-bidi.h +142 -0
  43. data/vendor/local/include/fribidi/fribidi-brackets.h +89 -0
  44. data/vendor/local/include/fribidi/fribidi-char-sets-list.h +54 -0
  45. data/vendor/local/include/fribidi/fribidi-char-sets.h +106 -0
  46. data/vendor/local/include/fribidi/fribidi-common.h +146 -0
  47. data/vendor/local/include/fribidi/fribidi-config.h +23 -0
  48. data/vendor/local/include/fribidi/fribidi-deprecated.h +244 -0
  49. data/vendor/local/include/fribidi/fribidi-enddecls.h +3 -0
  50. data/vendor/local/include/fribidi/fribidi-flags.h +72 -0
  51. data/vendor/local/include/fribidi/fribidi-joining-types-list.h +44 -0
  52. data/vendor/local/include/fribidi/fribidi-joining-types.h +249 -0
  53. data/vendor/local/include/fribidi/fribidi-joining.h +74 -0
  54. data/vendor/local/include/fribidi/fribidi-mirroring.h +86 -0
  55. data/vendor/local/include/fribidi/fribidi-shape.h +71 -0
  56. data/vendor/local/include/fribidi/fribidi-types.h +83 -0
  57. data/vendor/local/include/fribidi/fribidi-unicode-version.h +10 -0
  58. data/vendor/local/include/fribidi/fribidi-unicode.h +105 -0
  59. data/vendor/local/include/fribidi/fribidi.h +63 -0
  60. data/vendor/local/include/graphene-1.0/graphene-macros.h +6 -0
  61. data/vendor/local/include/graphene-1.0/graphene-version-macros.h +18 -2
  62. data/vendor/local/include/graphene-1.0/graphene-version.h +2 -2
  63. data/vendor/local/include/harfbuzz/hb-blob.h +4 -1
  64. data/vendor/local/include/harfbuzz/hb-buffer.h +39 -8
  65. data/vendor/local/include/harfbuzz/hb-common.h +1 -1
  66. data/vendor/local/include/harfbuzz/hb-deprecated.h +4 -0
  67. data/vendor/local/include/harfbuzz/hb-face.h +0 -1
  68. data/vendor/local/include/harfbuzz/hb-font.h +1 -1
  69. data/vendor/local/include/harfbuzz/hb-ot-layout.h +17 -0
  70. data/vendor/local/include/harfbuzz/hb-set.h +15 -7
  71. data/vendor/local/include/harfbuzz/hb-subset-glyf.hh +40 -0
  72. data/vendor/local/include/harfbuzz/hb-subset-plan.hh +85 -0
  73. data/vendor/local/include/harfbuzz/hb-subset-private.hh +62 -0
  74. data/vendor/local/include/harfbuzz/hb-subset.h +83 -0
  75. data/vendor/local/include/harfbuzz/hb-version.h +3 -3
  76. data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +1 -1
  77. data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
  78. data/vendor/local/include/pango-1.0/pango/pango-font.h +14 -3
  79. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +13 -0
  80. data/vendor/local/lib/cmake/harfbuzz/harfbuzz-config.cmake +82 -0
  81. data/vendor/local/lib/girepository-1.0/Graphene-1.0.typelib +0 -0
  82. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  83. data/vendor/local/lib/graphene-1.0/include/graphene-config.h +13 -4
  84. data/vendor/local/lib/icu/58.2/Makefile.inc +1 -1
  85. data/vendor/local/lib/icu/58.2/pkgdata.inc +2 -2
  86. data/vendor/local/lib/icu/Makefile.inc +1 -1
  87. data/vendor/local/lib/icu/pkgdata.inc +2 -2
  88. data/vendor/local/lib/icudt.dll +0 -0
  89. data/vendor/local/lib/icudt58.dll +0 -0
  90. data/vendor/local/lib/icuin.dll +0 -0
  91. data/vendor/local/lib/icuin58.dll +0 -0
  92. data/vendor/local/lib/icuio.dll +0 -0
  93. data/vendor/local/lib/icuio58.dll +0 -0
  94. data/vendor/local/lib/icutest.dll +0 -0
  95. data/vendor/local/lib/icutest58.dll +0 -0
  96. data/vendor/local/lib/icutu.dll +0 -0
  97. data/vendor/local/lib/icutu58.dll +0 -0
  98. data/vendor/local/lib/icuuc.dll +0 -0
  99. data/vendor/local/lib/icuuc58.dll +0 -0
  100. data/vendor/local/lib/libfribidi.dll.a +0 -0
  101. data/vendor/local/lib/libfribidi.la +41 -0
  102. data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
  103. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  104. data/vendor/local/lib/libharfbuzz-icu.la +4 -4
  105. data/vendor/local/lib/libharfbuzz-subset.dll.a +0 -0
  106. data/vendor/local/lib/libharfbuzz-subset.la +41 -0
  107. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  108. data/vendor/local/lib/libharfbuzz.la +4 -4
  109. data/vendor/local/lib/libicudt.dll.a +0 -0
  110. data/vendor/local/lib/libicuin.dll.a +0 -0
  111. data/vendor/local/lib/libicuio.dll.a +0 -0
  112. data/vendor/local/lib/libicutest.dll.a +0 -0
  113. data/vendor/local/lib/libicutu.dll.a +0 -0
  114. data/vendor/local/lib/libicuuc.dll.a +0 -0
  115. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  116. data/vendor/local/lib/libpango-1.0.la +5 -5
  117. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  118. data/vendor/local/lib/libpangocairo-1.0.la +5 -5
  119. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  120. data/vendor/local/lib/libpangoft2-1.0.la +5 -5
  121. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  122. data/vendor/local/lib/libpangowin32-1.0.la +5 -5
  123. data/vendor/local/lib/pkgconfig/fribidi.pc +12 -0
  124. data/vendor/local/lib/pkgconfig/graphene-1.0.pc +16 -10
  125. data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +16 -10
  126. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +5 -5
  127. data/vendor/local/lib/pkgconfig/harfbuzz-subset.pc +12 -0
  128. data/vendor/local/lib/pkgconfig/harfbuzz.pc +5 -5
  129. data/vendor/local/lib/pkgconfig/icu-i18n.pc +1 -1
  130. data/vendor/local/lib/pkgconfig/icu-io.pc +1 -1
  131. data/vendor/local/lib/pkgconfig/icu-uc.pc +1 -1
  132. data/vendor/local/lib/pkgconfig/pango.pc +2 -2
  133. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  134. data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
  135. data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
  136. data/vendor/local/libexec/installed-tests/graphene-1.0/box.exe +0 -0
  137. data/vendor/local/libexec/installed-tests/graphene-1.0/euler.exe +0 -0
  138. data/vendor/local/libexec/installed-tests/graphene-1.0/frustum.exe +0 -0
  139. data/vendor/local/libexec/installed-tests/graphene-1.0/matrix.exe +0 -0
  140. data/vendor/local/libexec/installed-tests/graphene-1.0/plane.exe +0 -0
  141. data/vendor/local/libexec/installed-tests/graphene-1.0/point.exe +0 -0
  142. data/vendor/local/libexec/installed-tests/graphene-1.0/point3d.exe +0 -0
  143. data/vendor/local/libexec/installed-tests/graphene-1.0/quad.exe +0 -0
  144. data/vendor/local/libexec/installed-tests/graphene-1.0/quaternion.exe +0 -0
  145. data/vendor/local/libexec/installed-tests/graphene-1.0/ray.exe +0 -0
  146. data/vendor/local/libexec/installed-tests/graphene-1.0/rect.exe +0 -0
  147. data/vendor/local/libexec/installed-tests/graphene-1.0/simd.exe +0 -0
  148. data/vendor/local/libexec/installed-tests/graphene-1.0/size.exe +0 -0
  149. data/vendor/local/libexec/installed-tests/graphene-1.0/sphere.exe +0 -0
  150. data/vendor/local/libexec/installed-tests/graphene-1.0/triangle.exe +0 -0
  151. data/vendor/local/libexec/installed-tests/graphene-1.0/vec2.exe +0 -0
  152. data/vendor/local/libexec/installed-tests/graphene-1.0/vec3.exe +0 -0
  153. data/vendor/local/libexec/installed-tests/graphene-1.0/vec4.exe +0 -0
  154. data/vendor/local/share/gir-1.0/Graphene-1.0.gir +1 -1
  155. data/vendor/local/share/gir-1.0/Pango-1.0.gir +82 -4
  156. data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.png +0 -0
  157. data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.svg +277 -0
  158. data/vendor/local/share/gtk-doc/html/harfbuzz/a-clustering-example-for-levels-0-and-1.html +2 -2
  159. data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +4 -4
  160. data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +2 -2
  161. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +3 -3
  162. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +2 -2
  163. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +33 -2
  164. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +2 -2
  165. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +2 -2
  166. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +2 -2
  167. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +2 -2
  168. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +2 -2
  169. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +2 -2
  170. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +2 -2
  171. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +2 -2
  172. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +2 -2
  173. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +2 -2
  174. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +2 -2
  175. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +2 -2
  176. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +2 -2
  177. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +2 -2
  178. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +2 -2
  179. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-2-3.html +2 -2
  180. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-3-3.html +4 -4
  181. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-4-2.html +2 -2
  182. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-4-3.html +2 -2
  183. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-5-0.html +4 -4
  184. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-6-0.html +38 -0
  185. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +302 -18
  186. data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +6 -6
  187. data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +6 -6
  188. data/vendor/local/share/gtk-doc/html/harfbuzz/ch08.html +4 -4
  189. data/vendor/local/share/gtk-doc/html/harfbuzz/clusters.html +2 -2
  190. data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +2 -2
  191. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +8 -4
  192. data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +4 -4
  193. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +265 -205
  194. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +42 -35
  195. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +76 -31
  196. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +25 -710
  197. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +31 -7
  198. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +36 -5
  199. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +79 -35
  200. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +187 -112
  201. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +31 -17
  202. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +11 -11
  203. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +784 -4
  204. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +5 -5
  205. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +5 -5
  206. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +4 -4
  207. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +48 -41
  208. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html +47 -32
  209. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +7 -7
  210. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +3 -3
  211. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +3 -3
  212. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +153 -68
  213. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +48 -41
  214. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +58 -48
  215. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +5 -5
  216. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +10 -14
  217. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +4 -4
  218. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +99 -164
  219. data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +21 -21
  220. data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
  221. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +11 -10
  222. data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +6 -6
  223. data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
  224. data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
  225. data/vendor/local/share/gtk-doc/html/harfbuzz/level-2.html +4 -4
  226. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +36 -3
  227. data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +2 -2
  228. data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +9 -9
  229. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +6 -5
  230. data/vendor/local/share/gtk-doc/html/harfbuzz/reordering-in-levels-0-and-1.html +2 -2
  231. data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
  232. data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
  233. data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +2 -2
  234. data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +2 -2
  235. data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +4 -0
  236. data/vendor/local/share/gtk-doc/html/harfbuzz/the-distinction-between-levels-0-and-1.html +2 -2
  237. data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
  238. data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
  239. data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +4 -4
  240. data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +3 -3
  241. data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +2 -2
  242. data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +11 -11
  243. data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +10 -10
  244. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -9
  245. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +6 -6
  246. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +4 -4
  247. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +18 -18
  248. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +28 -28
  249. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +20 -20
  251. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +2 -2
  252. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +14 -2
  253. data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
  254. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +2 -2
  255. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +14 -14
  256. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +101 -101
  257. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +3 -3
  258. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +11 -11
  259. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +10 -10
  260. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +275 -133
  261. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +17 -17
  262. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +85 -85
  263. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +168 -168
  264. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +86 -86
  265. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +8 -8
  266. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +92 -92
  267. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +46 -46
  268. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +29 -29
  269. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +164 -164
  270. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +85 -85
  271. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +6 -6
  272. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +11 -11
  273. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +20 -20
  274. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +29 -29
  275. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +7 -7
  276. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +4 -0
  277. data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
  278. data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
  279. data/vendor/local/share/installed-tests/graphene-1.0/box.test +3 -0
  280. data/vendor/local/share/installed-tests/graphene-1.0/euler.test +3 -0
  281. data/vendor/local/share/installed-tests/graphene-1.0/frustum.test +3 -0
  282. data/vendor/local/share/installed-tests/graphene-1.0/matrix.test +3 -0
  283. data/vendor/local/share/installed-tests/graphene-1.0/plane.test +3 -0
  284. data/vendor/local/share/installed-tests/graphene-1.0/point.test +3 -0
  285. data/vendor/local/share/installed-tests/graphene-1.0/point3d.test +3 -0
  286. data/vendor/local/share/installed-tests/graphene-1.0/quad.test +3 -0
  287. data/vendor/local/share/installed-tests/graphene-1.0/quaternion.test +3 -0
  288. data/vendor/local/share/installed-tests/graphene-1.0/ray.test +3 -0
  289. data/vendor/local/share/installed-tests/graphene-1.0/rect.test +3 -0
  290. data/vendor/local/share/installed-tests/graphene-1.0/simd.test +3 -0
  291. data/vendor/local/share/installed-tests/graphene-1.0/size.test +3 -0
  292. data/vendor/local/share/installed-tests/graphene-1.0/sphere.test +3 -0
  293. data/vendor/local/share/installed-tests/graphene-1.0/triangle.test +3 -0
  294. data/vendor/local/share/installed-tests/graphene-1.0/vec2.test +3 -0
  295. data/vendor/local/share/installed-tests/graphene-1.0/vec3.test +3 -0
  296. data/vendor/local/share/installed-tests/graphene-1.0/vec4.test +3 -0
  297. data/vendor/local/share/license/fribidi/fribidi/AUTHORS +40 -0
  298. data/vendor/local/share/license/fribidi/fribidi/COPYING +504 -0
  299. data/vendor/local/share/man/man1/pango-view.1 +1 -113
  300. metadata +87 -52
  301. data/vendor/local/lib/libgraphene-1.0.la +0 -41
  302. data/vendor/local/share/gtk-doc/html/graphene/annotation-glossary.html +0 -57
  303. data/vendor/local/share/gtk-doc/html/graphene/api-index.html +0 -1985
  304. data/vendor/local/share/gtk-doc/html/graphene/ch01.html +0 -97
  305. data/vendor/local/share/gtk-doc/html/graphene/deprecated-api-index.html +0 -34
  306. data/vendor/local/share/gtk-doc/html/graphene/graphene-Box.html +0 -1252
  307. data/vendor/local/share/gtk-doc/html/graphene/graphene-Euler.html +0 -886
  308. data/vendor/local/share/gtk-doc/html/graphene/graphene-Frustum.html +0 -527
  309. data/vendor/local/share/gtk-doc/html/graphene/graphene-GObject-integration.html +0 -147
  310. data/vendor/local/share/gtk-doc/html/graphene/graphene-Matrix.html +0 -2959
  311. data/vendor/local/share/gtk-doc/html/graphene/graphene-Plane.html +0 -641
  312. data/vendor/local/share/gtk-doc/html/graphene/graphene-Point.html +0 -689
  313. data/vendor/local/share/gtk-doc/html/graphene/graphene-Point3D.html +0 -916
  314. data/vendor/local/share/gtk-doc/html/graphene/graphene-Quad.html +0 -418
  315. data/vendor/local/share/gtk-doc/html/graphene/graphene-Quaternion.html +0 -1056
  316. data/vendor/local/share/gtk-doc/html/graphene/graphene-Ray.html +0 -596
  317. data/vendor/local/share/gtk-doc/html/graphene/graphene-Rectangle.html +0 -1483
  318. data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-matrix.html +0 -1475
  319. data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-vector.html +0 -3046
  320. data/vendor/local/share/gtk-doc/html/graphene/graphene-Size.html +0 -489
  321. data/vendor/local/share/gtk-doc/html/graphene/graphene-Sphere.html +0 -641
  322. data/vendor/local/share/gtk-doc/html/graphene/graphene-Triangle.html +0 -705
  323. data/vendor/local/share/gtk-doc/html/graphene/graphene-Vectors.html +0 -3715
  324. data/vendor/local/share/gtk-doc/html/graphene/graphene-Versioning-information.html +0 -104
  325. data/vendor/local/share/gtk-doc/html/graphene/graphene.devhelp2 +0 -534
  326. data/vendor/local/share/gtk-doc/html/graphene/home.png +0 -0
  327. data/vendor/local/share/gtk-doc/html/graphene/index.html +0 -107
  328. data/vendor/local/share/gtk-doc/html/graphene/ix03.html +0 -1313
  329. data/vendor/local/share/gtk-doc/html/graphene/ix04.html +0 -582
  330. data/vendor/local/share/gtk-doc/html/graphene/ix05.html +0 -151
  331. data/vendor/local/share/gtk-doc/html/graphene/ix06.html +0 -34
  332. data/vendor/local/share/gtk-doc/html/graphene/left-insensitive.png +0 -0
  333. data/vendor/local/share/gtk-doc/html/graphene/left.png +0 -0
  334. data/vendor/local/share/gtk-doc/html/graphene/object-tree.html +0 -32
  335. data/vendor/local/share/gtk-doc/html/graphene/rectangle-intersection.png +0 -0
  336. data/vendor/local/share/gtk-doc/html/graphene/rectangle-union.png +0 -0
  337. data/vendor/local/share/gtk-doc/html/graphene/rectangle.png +0 -0
  338. data/vendor/local/share/gtk-doc/html/graphene/right-insensitive.png +0 -0
  339. data/vendor/local/share/gtk-doc/html/graphene/right.png +0 -0
  340. data/vendor/local/share/gtk-doc/html/graphene/style.css +0 -479
  341. data/vendor/local/share/gtk-doc/html/graphene/triangle-barycentric.png +0 -0
  342. data/vendor/local/share/gtk-doc/html/graphene/up-insensitive.png +0 -0
  343. data/vendor/local/share/gtk-doc/html/graphene/up.png +0 -0
@@ -57,6 +57,12 @@
57
57
  # define GRAPHENE_VECTORCALL
58
58
  #endif
59
59
 
60
+ #ifdef _MSC_VER
61
+ # if !defined (__cplusplus) && defined (_MSC_VER) && (_MSC_VER < 1900)
62
+ # define inline __inline
63
+ # endif
64
+ #endif
65
+
60
66
  #ifdef __cplusplus
61
67
  # define GRAPHENE_BEGIN_DECLS extern "C" {
62
68
  # define GRAPHENE_END_DECLS }
@@ -111,6 +111,7 @@
111
111
  #define GRAPHENE_VERSION_1_2 (_GRAPHENE_ENCODE_VERSION (1, 2))
112
112
  #define GRAPHENE_VERSION_1_4 (_GRAPHENE_ENCODE_VERSION (1, 4))
113
113
  #define GRAPHENE_VERSION_1_6 (_GRAPHENE_ENCODE_VERSION (1, 6))
114
+ #define GRAPHENE_VERSION_1_8 (_GRAPHENE_ENCODE_VERSION (1, 8))
114
115
 
115
116
  #ifndef GRAPHENE_VERSION_MIN_REQUIRED
116
117
  # define GRAPHENE_VERSION_MIN_REQUIRED (GRAPHENE_VERSION_1_0)
@@ -168,7 +169,7 @@
168
169
  #endif
169
170
 
170
171
  /* Graphene 1.6 */
171
- #if GRAPHENE_VERSION_MIN_REQUIRED >= GRAPHENE_VERSION_1_4
172
+ #if GRAPHENE_VERSION_MIN_REQUIRED >= GRAPHENE_VERSION_1_6
172
173
  # define GRAPHENE_DEPRECATED_IN_1_6 GRAPHENE_DEPRECATED
173
174
  # define GRAPHENE_DEPRECATED_IN_1_6_FOR(f) GRAPHENE_DEPRECATED_FOR(f)
174
175
  #else
@@ -176,10 +177,25 @@
176
177
  # define GRAPHENE_DEPRECATED_IN_1_6_FOR(f) _GRAPHENE_PUBLIC
177
178
  #endif
178
179
 
179
- #if GRAPHENE_VERSION_MAX_ALLOWED < GRAPHENE_VERSION_1_4
180
+ #if GRAPHENE_VERSION_MAX_ALLOWED < GRAPHENE_VERSION_1_6
180
181
  # define GRAPHENE_AVAILABLE_IN_1_6 GRAPHENE_UNAVAILABLE(1,6)
181
182
  #else
182
183
  # define GRAPHENE_AVAILABLE_IN_1_6 _GRAPHENE_PUBLIC
183
184
  #endif
184
185
 
186
+ /* Graphene 1.8 */
187
+ #if GRAPHENE_VERSION_MIN_REQUIRED >= GRAPHENE_VERSION_1_8
188
+ # define GRAPHENE_DEPRECATED_IN_1_8 GRAPHENE_DEPRECATED
189
+ # define GRAPHENE_DEPRECATED_IN_1_8_FOR(f) GRAPHENE_DEPRECATED_FOR(f)
190
+ #else
191
+ # define GRAPHENE_DEPRECATED_IN_1_8 _GRAPHENE_PUBLIC
192
+ # define GRAPHENE_DEPRECATED_IN_1_8_FOR(f) _GRAPHENE_PUBLIC
193
+ #endif
194
+
195
+ #if GRAPHENE_VERSION_MAX_ALLOWED < GRAPHENE_VERSION_1_8
196
+ # define GRAPHENE_AVAILABLE_IN_1_8 GRAPHENE_UNAVAILABLE(1,8)
197
+ #else
198
+ # define GRAPHENE_AVAILABLE_IN_1_8 _GRAPHENE_PUBLIC
199
+ #endif
200
+
185
201
  #endif /* __GRAPHENE_VERSION_MACROS_H__ */
@@ -55,7 +55,7 @@
55
55
  *
56
56
  * Since: 1.0
57
57
  */
58
- #define GRAPHENE_MINOR_VERSION (6)
58
+ #define GRAPHENE_MINOR_VERSION (7)
59
59
 
60
60
  /**
61
61
  * GRAPHENE_MICRO_VERSION:
@@ -65,6 +65,6 @@
65
65
  *
66
66
  * Since: 1.0
67
67
  */
68
- #define GRAPHENE_MICRO_VERSION (0)
68
+ #define GRAPHENE_MICRO_VERSION (1)
69
69
 
70
70
  #endif /* __GRAPHENE_VERSION_H__ */
@@ -44,7 +44,7 @@ HB_BEGIN_DECLS
44
44
  * any such possibility, MODE_DUPLICATE should be used
45
45
  * such that HarfBuzz makes a copy immediately,
46
46
  *
47
- * - Use MODE_READONLY otherse, unless you really really
47
+ * - Use MODE_READONLY otherwise, unless you really really
48
48
  * really know what you are doing,
49
49
  *
50
50
  * - MODE_WRITABLE is appropriate if you really made a
@@ -82,6 +82,9 @@ hb_blob_create_sub_blob (hb_blob_t *parent,
82
82
  unsigned int offset,
83
83
  unsigned int length);
84
84
 
85
+ HB_EXTERN hb_blob_t *
86
+ hb_blob_copy_writable_or_fail (hb_blob_t *blob);
87
+
85
88
  HB_EXTERN hb_blob_t *
86
89
  hb_blob_get_empty (void);
87
90
 
@@ -71,6 +71,24 @@ typedef struct hb_glyph_info_t {
71
71
  hb_var_int_t var2;
72
72
  } hb_glyph_info_t;
73
73
 
74
+ /**
75
+ * hb_glyph_flags_t:
76
+ * @HB_GLYPH_FLAG_UNSAFE_TO_BREAK: Indicates that if input text is broken at the
77
+ * beginning of the cluster this glyph is part of,
78
+ * then both sides need to be re-shaped, as the
79
+ * result might be different. On the flip side,
80
+ * it means that when this flag is not present,
81
+ * then it's safe to break the glyph-run at the
82
+ * beginning of this cluster, and the two sides
83
+ * represent the exact same result one would get
84
+ * if breaking input text at the beginning of
85
+ * this cluster and shaping the two sides
86
+ * separately. This can be used to optimize
87
+ * paragraph layout, by avoiding re-shaping
88
+ * of each line after line-breaking, or limiting
89
+ * the reshaping to a small piece around the
90
+ * breaking point only.
91
+ */
74
92
  typedef enum { /*< flags >*/
75
93
  HB_GLYPH_FLAG_UNSAFE_TO_BREAK = 0x00000001,
76
94
 
@@ -132,8 +150,8 @@ typedef struct hb_segment_properties_t {
132
150
  #define HB_SEGMENT_PROPERTIES_DEFAULT {HB_DIRECTION_INVALID, \
133
151
  HB_SCRIPT_INVALID, \
134
152
  HB_LANGUAGE_INVALID, \
135
- NULL, \
136
- NULL}
153
+ (void *) 0, \
154
+ (void *) 0}
137
155
 
138
156
  HB_EXTERN hb_bool_t
139
157
  hb_segment_properties_equal (const hb_segment_properties_t *a,
@@ -247,13 +265,21 @@ hb_buffer_guess_segment_properties (hb_buffer_t *buffer);
247
265
  * of the text without the full context.
248
266
  * @HB_BUFFER_FLAG_EOT: flag indicating that special handling of the end of text
249
267
  * paragraph can be applied to this buffer, similar to
250
- * @HB_BUFFER_FLAG_EOT.
268
+ * @HB_BUFFER_FLAG_BOT.
251
269
  * @HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES:
252
270
  * flag indication that character with Default_Ignorable
253
271
  * Unicode property should use the corresponding glyph
254
- * from the font, instead of hiding them (currently done
255
- * by replacing them with the space glyph and zeroing the
256
- * advance width.)
272
+ * from the font, instead of hiding them (done by
273
+ * replacing them with the space glyph and zeroing the
274
+ * advance width.) This flag takes precedence over
275
+ * @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES.
276
+ * @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES:
277
+ * flag indication that character with Default_Ignorable
278
+ * Unicode property should be removed from glyph string
279
+ * instead of hiding them (done by replacing them with the
280
+ * space glyph and zeroing the advance width.)
281
+ * @HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES takes
282
+ * precedence over this flag. Since: 1.8.0
257
283
  *
258
284
  * Since: 0.9.20
259
285
  */
@@ -261,7 +287,8 @@ typedef enum { /*< flags >*/
261
287
  HB_BUFFER_FLAG_DEFAULT = 0x00000000u,
262
288
  HB_BUFFER_FLAG_BOT = 0x00000001u, /* Beginning-of-text */
263
289
  HB_BUFFER_FLAG_EOT = 0x00000002u, /* End-of-text */
264
- HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES = 0x00000004u
290
+ HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES = 0x00000004u,
291
+ HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES = 0x00000008u
265
292
  } hb_buffer_flags_t;
266
293
 
267
294
  HB_EXTERN void
@@ -412,6 +439,9 @@ hb_buffer_normalize_glyphs (hb_buffer_t *buffer);
412
439
  * @HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS: do not serialize glyph position information.
413
440
  * @HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES: do no serialize glyph name.
414
441
  * @HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS: serialize glyph extents.
442
+ * @HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS: serialize glyph flags. Since: 1.5.0
443
+ * @HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES: do not serialize glyph advances,
444
+ * glyph offsets will reflect absolute glyph positions. Since: 1.8.0
415
445
  *
416
446
  * Flags that control what glyph information are serialized in hb_buffer_serialize_glyphs().
417
447
  *
@@ -423,7 +453,8 @@ typedef enum { /*< flags >*/
423
453
  HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS = 0x00000002u,
424
454
  HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES = 0x00000004u,
425
455
  HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS = 0x00000008u,
426
- HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS = 0x00000010u
456
+ HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS = 0x00000010u,
457
+ HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES = 0x00000020u
427
458
  } hb_buffer_serialize_flags_t;
428
459
 
429
460
  /**
@@ -134,7 +134,7 @@ hb_language_from_string (const char *str, int len);
134
134
  HB_EXTERN const char *
135
135
  hb_language_to_string (hb_language_t language);
136
136
 
137
- #define HB_LANGUAGE_INVALID ((hb_language_t) NULL)
137
+ #define HB_LANGUAGE_INVALID ((hb_language_t) 0)
138
138
 
139
139
  HB_EXTERN hb_language_t
140
140
  hb_language_get_default (void);
@@ -34,6 +34,7 @@
34
34
  #include "hb-common.h"
35
35
  #include "hb-unicode.h"
36
36
  #include "hb-font.h"
37
+ #include "hb-set.h"
37
38
 
38
39
  HB_BEGIN_DECLS
39
40
 
@@ -54,6 +55,9 @@ hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs,
54
55
  hb_font_get_glyph_func_t func,
55
56
  void *user_data, hb_destroy_func_t destroy);
56
57
 
58
+ HB_EXTERN void
59
+ hb_set_invert (hb_set_t *set);
60
+
57
61
  #endif
58
62
 
59
63
  HB_END_DECLS
@@ -71,7 +71,6 @@ hb_face_set_user_data (hb_face_t *face,
71
71
  hb_destroy_func_t destroy,
72
72
  hb_bool_t replace);
73
73
 
74
-
75
74
  HB_EXTERN void *
76
75
  hb_face_get_user_data (hb_face_t *face,
77
76
  hb_user_data_key_t *key);
@@ -456,7 +456,7 @@ hb_font_get_glyph_from_name (hb_font_t *font,
456
456
  /* high-level funcs, with fallback */
457
457
 
458
458
  /* Calls either hb_font_get_nominal_glyph() if variation_selector is 0,
459
- * otherwise callse hb_font_get_variation_glyph(). */
459
+ * otherwise calls hb_font_get_variation_glyph(). */
460
460
  HB_EXTERN hb_bool_t
461
461
  hb_font_get_glyph (hb_font_t *font,
462
462
  hb_codepoint_t unicode, hb_codepoint_t variation_selector,
@@ -38,6 +38,7 @@
38
38
  HB_BEGIN_DECLS
39
39
 
40
40
 
41
+ #define HB_OT_TAG_BASE HB_TAG('B','A','S','E')
41
42
  #define HB_OT_TAG_GDEF HB_TAG('G','D','E','F')
42
43
  #define HB_OT_TAG_GSUB HB_TAG('G','S','U','B')
43
44
  #define HB_OT_TAG_GPOS HB_TAG('G','P','O','S')
@@ -316,6 +317,22 @@ hb_ot_layout_get_size_params (hb_face_t *face,
316
317
  unsigned int *range_end /* OUT. May be NULL */);
317
318
 
318
319
 
320
+ /*
321
+ * BASE
322
+ */
323
+ #if 0
324
+
325
+ #define HB_OT_TAG_BASE_HANG HB_TAG('h','a','n','g')
326
+ #define HB_OT_TAG_BASE_ICFB HB_TAG('i','c','f','b')
327
+ #define HB_OT_TAG_BASE_ICFT HB_TAG('i','c','f','t')
328
+ #define HB_OT_TAG_BASE_IDEO HB_TAG('i','d','e','o')
329
+ #define HB_OT_TAG_BASE_IDTB HB_TAG('i','d','t','b')
330
+ #define HB_OT_TAG_BASE_MATH HB_TAG('m','a','t','h')
331
+ #define HB_OT_TAG_BASE_ROMN HB_TAG('r','o','m','n')
332
+
333
+ #endif
334
+
335
+
319
336
  HB_END_DECLS
320
337
 
321
338
  #endif /* HB_OT_LAYOUT_H */
@@ -126,31 +126,39 @@ HB_EXTERN void
126
126
  hb_set_symmetric_difference (hb_set_t *set,
127
127
  const hb_set_t *other);
128
128
 
129
- HB_EXTERN void
130
- hb_set_invert (hb_set_t *set);
131
-
132
129
  HB_EXTERN unsigned int
133
130
  hb_set_get_population (const hb_set_t *set);
134
131
 
135
- /* Returns -1 if set empty. */
132
+ /* Returns HB_SET_VALUE_INVALID if set empty. */
136
133
  HB_EXTERN hb_codepoint_t
137
134
  hb_set_get_min (const hb_set_t *set);
138
135
 
139
- /* Returns -1 if set empty. */
136
+ /* Returns HB_SET_VALUE_INVALID if set empty. */
140
137
  HB_EXTERN hb_codepoint_t
141
138
  hb_set_get_max (const hb_set_t *set);
142
139
 
143
- /* Pass -1 in to get started. */
140
+ /* Pass HB_SET_VALUE_INVALID in to get started. */
144
141
  HB_EXTERN hb_bool_t
145
142
  hb_set_next (const hb_set_t *set,
146
143
  hb_codepoint_t *codepoint);
147
144
 
148
- /* Pass -1 for first and last to get started. */
145
+ /* Pass HB_SET_VALUE_INVALID in to get started. */
146
+ HB_EXTERN hb_bool_t
147
+ hb_set_previous (const hb_set_t *set,
148
+ hb_codepoint_t *codepoint);
149
+
150
+ /* Pass HB_SET_VALUE_INVALID for first and last to get started. */
149
151
  HB_EXTERN hb_bool_t
150
152
  hb_set_next_range (const hb_set_t *set,
151
153
  hb_codepoint_t *first,
152
154
  hb_codepoint_t *last);
153
155
 
156
+ /* Pass HB_SET_VALUE_INVALID for first and last to get started. */
157
+ HB_EXTERN hb_bool_t
158
+ hb_set_previous_range (const hb_set_t *set,
159
+ hb_codepoint_t *first,
160
+ hb_codepoint_t *last);
161
+
154
162
 
155
163
  HB_END_DECLS
156
164
 
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright © 2018 Google, Inc.
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ *
24
+ * Google Author(s): Garret Rieger
25
+ */
26
+
27
+ #ifndef HB_SUBSET_GLYF_HH
28
+ #define HB_SUBSET_GLYF_HH
29
+
30
+ #include "hb-private.hh"
31
+
32
+ #include "hb-subset-plan.hh"
33
+
34
+ HB_INTERNAL bool
35
+ hb_subset_glyf_and_loca (hb_subset_plan_t *plan,
36
+ bool *use_short_loca, /* OUT */
37
+ hb_blob_t **glyf_prime /* OUT */,
38
+ hb_blob_t **loca_prime /* OUT */);
39
+
40
+ #endif /* HB_SUBSET_GLYF_HH */
@@ -0,0 +1,85 @@
1
+ /*
2
+ * Copyright © 2018 Google, Inc.
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ *
24
+ * Google Author(s): Garret Rieger, Roderick Sheeter
25
+ */
26
+
27
+ #ifndef HB_SUBSET_PLAN_HH
28
+ #define HB_SUBSET_PLAN_HH
29
+
30
+ #include "hb-private.hh"
31
+
32
+ #include "hb-subset.h"
33
+
34
+ #include "hb-object-private.hh"
35
+
36
+ struct hb_subset_plan_t {
37
+ hb_object_header_t header;
38
+ ASSERT_POD ();
39
+
40
+ hb_bool_t drop_hints;
41
+
42
+ // TODO(Q1) actual map, drop this crap
43
+ // Look at me ma, I'm a poor mans map codepoint : new gid
44
+ // codepoints is sorted and aligned with gids_to_retain.
45
+
46
+ // These first two lists provide a mapping from cp -> gid
47
+ // As a result it does not list the full set of glyphs to retain.
48
+ hb_prealloced_array_t<hb_codepoint_t> codepoints;
49
+ hb_prealloced_array_t<hb_codepoint_t> gids_to_retain;
50
+
51
+ // This list contains the complete set of glyphs to retain and may contain
52
+ // more glyphs then the lists above.
53
+ hb_prealloced_array_t<hb_codepoint_t> gids_to_retain_sorted;
54
+
55
+ // Plan is only good for a specific source/dest so keep them with it
56
+ hb_face_t *source;
57
+ hb_face_t *dest;
58
+ };
59
+
60
+ typedef struct hb_subset_plan_t hb_subset_plan_t;
61
+
62
+ HB_INTERNAL hb_subset_plan_t *
63
+ hb_subset_plan_create (hb_face_t *face,
64
+ hb_subset_profile_t *profile,
65
+ hb_subset_input_t *input);
66
+
67
+ HB_INTERNAL hb_bool_t
68
+ hb_subset_plan_new_gid_for_old_id(hb_subset_plan_t *plan,
69
+ hb_codepoint_t old_gid,
70
+ hb_codepoint_t *new_gid /* OUT */);
71
+
72
+ HB_INTERNAL hb_bool_t
73
+ hb_subset_plan_new_gid_for_codepoint(hb_subset_plan_t *plan,
74
+ hb_codepoint_t codepont,
75
+ hb_codepoint_t *new_gid /* OUT */);
76
+
77
+ HB_INTERNAL hb_bool_t
78
+ hb_subset_plan_add_table(hb_subset_plan_t *plan,
79
+ hb_tag_t tag,
80
+ hb_blob_t *contents);
81
+
82
+ HB_INTERNAL void
83
+ hb_subset_plan_destroy (hb_subset_plan_t *plan);
84
+
85
+ #endif /* HB_SUBSET_PLAN_HH */
@@ -0,0 +1,62 @@
1
+ /*
2
+ * Copyright © 2018 Google, Inc.
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ *
24
+ * Google Author(s): Garret Rieger, Roderick Sheeter
25
+ */
26
+
27
+ #ifndef HB_SUBSET_PRIVATE_HH
28
+ #define HB_SUBSET_PRIVATE_HH
29
+
30
+
31
+ #include "hb-private.hh"
32
+
33
+ #include "hb-subset.h"
34
+
35
+ #include "hb-font-private.hh"
36
+
37
+ typedef struct hb_subset_face_data_t hb_subset_face_data_t;
38
+
39
+ struct hb_subset_input_t {
40
+ hb_object_header_t header;
41
+ ASSERT_POD ();
42
+
43
+ hb_set_t *unicodes;
44
+ hb_set_t *glyphs;
45
+
46
+ hb_bool_t drop_hints;
47
+ /* TODO
48
+ *
49
+ * features
50
+ * lookups
51
+ * nameIDs
52
+ * ...
53
+ */
54
+ };
55
+
56
+ HB_INTERNAL hb_face_t *
57
+ hb_subset_face_create (void);
58
+
59
+ HB_INTERNAL hb_bool_t
60
+ hb_subset_face_add_table (hb_face_t *face, hb_tag_t tag, hb_blob_t *blob);
61
+
62
+ #endif /* HB_SUBSET_PRIVATE_HH */