pango 3.1.1-x64-mingw32 → 3.1.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (306) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +27 -5
  3. data/ext/pango/depend +2 -2
  4. data/ext/pango/extconf.rb +32 -28
  5. data/ext/pango/pango.def +0 -16
  6. data/ext/pango/rb-pango-attr-list.c +64 -0
  7. data/ext/pango/rb-pango-attribute.c +147 -0
  8. data/ext/pango/rb-pango-context.c +79 -0
  9. data/ext/pango/{rbpangoconversions.h → rb-pango-conversions.h} +4 -6
  10. data/ext/pango/rb-pango-private.h +27 -0
  11. data/ext/pango/rb-pango.c +32 -0
  12. data/ext/pango/rb-pango.h +29 -0
  13. data/extconf.rb +25 -9
  14. data/lib/2.2/pango.so +0 -0
  15. data/lib/2.3/pango.so +0 -0
  16. data/lib/2.4/pango.so +0 -0
  17. data/lib/pango.rb +24 -68
  18. data/lib/pango/cairo-loader.rb +63 -0
  19. data/lib/pango/color.rb +31 -0
  20. data/lib/pango/deprecated.rb +37 -0
  21. data/lib/pango/font-description.rb +29 -0
  22. data/lib/pango/language.rb +29 -0
  23. data/lib/pango/layout.rb +41 -0
  24. data/lib/pango/loader.rb +87 -0
  25. data/lib/pango/markup.rb +31 -0
  26. data/lib/pango/matrix.rb +64 -0
  27. data/lib/pango/rectangle.rb +28 -0
  28. data/lib/pango/version.rb +30 -0
  29. data/test/pango-test-utils.rb +7 -7
  30. data/test/run-test.rb +34 -8
  31. data/test/test-attr-list.rb +28 -0
  32. data/test/test-color.rb +1 -3
  33. data/test/test-context.rb +4 -4
  34. data/test/test-enum.rb +37 -0
  35. data/test/test-font-description.rb +31 -0
  36. data/test/test-language.rb +2 -1
  37. data/test/test-layout.rb +12 -0
  38. data/test/test-markup.rb +30 -0
  39. data/test/test-matrix.rb +131 -5
  40. data/test/test-rectangle.rb +16 -3
  41. data/vendor/local/bin/derb.exe +0 -0
  42. data/vendor/local/bin/genbrk.exe +0 -0
  43. data/vendor/local/bin/genccode.exe +0 -0
  44. data/vendor/local/bin/gencfu.exe +0 -0
  45. data/vendor/local/bin/gencmn.exe +0 -0
  46. data/vendor/local/bin/gencnval.exe +0 -0
  47. data/vendor/local/bin/gendict.exe +0 -0
  48. data/vendor/local/bin/gennorm2.exe +0 -0
  49. data/vendor/local/bin/genrb.exe +0 -0
  50. data/vendor/local/bin/gensprep.exe +0 -0
  51. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  52. data/vendor/local/bin/hb-shape.exe +0 -0
  53. data/vendor/local/bin/hb-view.exe +0 -0
  54. data/vendor/local/bin/icuinfo.exe +0 -0
  55. data/vendor/local/bin/icupkg.exe +0 -0
  56. data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
  57. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  58. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  59. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  60. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  61. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  62. data/vendor/local/bin/makeconv.exe +0 -0
  63. data/vendor/local/bin/pango-view.exe +0 -0
  64. data/vendor/local/bin/pkgdata.exe +0 -0
  65. data/vendor/local/bin/uconv.exe +0 -0
  66. data/vendor/local/include/graphene-1.0/graphene-box.h +148 -0
  67. data/vendor/local/include/graphene-1.0/graphene-euler.h +140 -0
  68. data/vendor/local/include/graphene-1.0/graphene-frustum.h +93 -0
  69. data/vendor/local/include/graphene-1.0/graphene-gobject.h +119 -0
  70. data/vendor/local/include/graphene-1.0/graphene-macros.h +105 -0
  71. data/vendor/local/include/graphene-1.0/graphene-matrix.h +288 -0
  72. data/vendor/local/include/graphene-1.0/graphene-plane.h +99 -0
  73. data/vendor/local/include/graphene-1.0/graphene-point.h +120 -0
  74. data/vendor/local/include/graphene-1.0/graphene-point3d.h +140 -0
  75. data/vendor/local/include/graphene-1.0/graphene-quad.h +80 -0
  76. data/vendor/local/include/graphene-1.0/graphene-quaternion.h +136 -0
  77. data/vendor/local/include/graphene-1.0/graphene-ray.h +98 -0
  78. data/vendor/local/include/graphene-1.0/graphene-rect.h +180 -0
  79. data/vendor/local/include/graphene-1.0/graphene-simd4f.h +1870 -0
  80. data/vendor/local/include/graphene-1.0/graphene-simd4x4f.h +1045 -0
  81. data/vendor/local/include/graphene-1.0/graphene-size.h +105 -0
  82. data/vendor/local/include/graphene-1.0/graphene-sphere.h +97 -0
  83. data/vendor/local/include/graphene-1.0/graphene-triangle.h +105 -0
  84. data/vendor/local/include/graphene-1.0/graphene-types.h +88 -0
  85. data/vendor/local/include/graphene-1.0/graphene-vec2.h +130 -0
  86. data/vendor/local/include/graphene-1.0/graphene-vec3.h +155 -0
  87. data/vendor/local/include/graphene-1.0/graphene-vec4.h +156 -0
  88. data/vendor/local/include/graphene-1.0/graphene-version-macros.h +185 -0
  89. data/vendor/local/include/graphene-1.0/graphene-version.h +70 -0
  90. data/vendor/local/include/graphene-1.0/graphene.h +61 -0
  91. data/vendor/local/include/harfbuzz/hb-common.h +36 -0
  92. data/vendor/local/include/harfbuzz/hb-font.h +18 -1
  93. data/vendor/local/include/harfbuzz/hb-ot-var.h +105 -0
  94. data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
  95. data/vendor/local/include/harfbuzz/hb-shape.h +0 -16
  96. data/vendor/local/include/harfbuzz/hb-version.h +2 -2
  97. data/vendor/local/include/pango-1.0/pango/pango-engine.h +6 -6
  98. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  99. data/vendor/local/include/pango-1.0/pango/pango-layout.h +1 -1
  100. data/vendor/local/lib/girepository-1.0/Graphene-1.0.typelib +0 -0
  101. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  102. data/vendor/local/lib/graphene-1.0/include/graphene-config.h +89 -0
  103. data/vendor/local/lib/icudt.dll +0 -0
  104. data/vendor/local/lib/icudt58.dll +0 -0
  105. data/vendor/local/lib/icuin.dll +0 -0
  106. data/vendor/local/lib/icuin58.dll +0 -0
  107. data/vendor/local/lib/icuio.dll +0 -0
  108. data/vendor/local/lib/icuio58.dll +0 -0
  109. data/vendor/local/lib/icutest.dll +0 -0
  110. data/vendor/local/lib/icutest58.dll +0 -0
  111. data/vendor/local/lib/icutu.dll +0 -0
  112. data/vendor/local/lib/icutu58.dll +0 -0
  113. data/vendor/local/lib/icuuc.dll +0 -0
  114. data/vendor/local/lib/icuuc58.dll +0 -0
  115. data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
  116. data/vendor/local/lib/libgraphene-1.0.la +41 -0
  117. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  118. data/vendor/local/lib/libharfbuzz-icu.la +1 -1
  119. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  120. data/vendor/local/lib/libharfbuzz.la +1 -1
  121. data/vendor/local/lib/libicudt.dll.a +0 -0
  122. data/vendor/local/lib/libicuin.dll.a +0 -0
  123. data/vendor/local/lib/libicuio.dll.a +0 -0
  124. data/vendor/local/lib/libicutest.dll.a +0 -0
  125. data/vendor/local/lib/libicutu.dll.a +0 -0
  126. data/vendor/local/lib/libicuuc.dll.a +0 -0
  127. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  128. data/vendor/local/lib/libpango-1.0.la +1 -1
  129. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  130. data/vendor/local/lib/libpangocairo-1.0.la +1 -1
  131. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  132. data/vendor/local/lib/libpangoft2-1.0.la +1 -1
  133. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  134. data/vendor/local/lib/libpangowin32-1.0.la +1 -1
  135. data/vendor/local/lib/pkgconfig/graphene-1.0.pc +15 -0
  136. data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +15 -0
  137. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  138. data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
  139. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  140. data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
  141. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  142. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  143. data/vendor/local/share/gir-1.0/Graphene-1.0.gir +8180 -0
  144. data/vendor/local/share/gir-1.0/Pango-1.0.gir +12 -16
  145. data/vendor/local/share/gtk-doc/html/graphene/annotation-glossary.html +57 -0
  146. data/vendor/local/share/gtk-doc/html/graphene/api-index.html +1985 -0
  147. data/vendor/local/share/gtk-doc/html/graphene/ch01.html +97 -0
  148. data/vendor/local/share/gtk-doc/html/graphene/deprecated-api-index.html +34 -0
  149. data/vendor/local/share/gtk-doc/html/graphene/graphene-Box.html +1252 -0
  150. data/vendor/local/share/gtk-doc/html/graphene/graphene-Euler.html +886 -0
  151. data/vendor/local/share/gtk-doc/html/graphene/graphene-Frustum.html +527 -0
  152. data/vendor/local/share/gtk-doc/html/graphene/graphene-GObject-integration.html +147 -0
  153. data/vendor/local/share/gtk-doc/html/graphene/graphene-Matrix.html +2959 -0
  154. data/vendor/local/share/gtk-doc/html/graphene/graphene-Plane.html +641 -0
  155. data/vendor/local/share/gtk-doc/html/graphene/graphene-Point.html +689 -0
  156. data/vendor/local/share/gtk-doc/html/graphene/graphene-Point3D.html +916 -0
  157. data/vendor/local/share/gtk-doc/html/graphene/graphene-Quad.html +418 -0
  158. data/vendor/local/share/gtk-doc/html/graphene/graphene-Quaternion.html +1056 -0
  159. data/vendor/local/share/gtk-doc/html/graphene/graphene-Ray.html +596 -0
  160. data/vendor/local/share/gtk-doc/html/graphene/graphene-Rectangle.html +1483 -0
  161. data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-matrix.html +1475 -0
  162. data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-vector.html +3046 -0
  163. data/vendor/local/share/gtk-doc/html/graphene/graphene-Size.html +489 -0
  164. data/vendor/local/share/gtk-doc/html/graphene/graphene-Sphere.html +641 -0
  165. data/vendor/local/share/gtk-doc/html/graphene/graphene-Triangle.html +705 -0
  166. data/vendor/local/share/gtk-doc/html/graphene/graphene-Vectors.html +3715 -0
  167. data/vendor/local/share/gtk-doc/html/graphene/graphene-Versioning-information.html +104 -0
  168. data/vendor/local/share/gtk-doc/html/graphene/graphene.devhelp2 +534 -0
  169. data/vendor/local/share/gtk-doc/html/graphene/home.png +0 -0
  170. data/vendor/local/share/gtk-doc/html/graphene/index.html +107 -0
  171. data/vendor/local/share/gtk-doc/html/graphene/ix03.html +1313 -0
  172. data/vendor/local/share/gtk-doc/html/graphene/ix04.html +582 -0
  173. data/vendor/local/share/gtk-doc/html/graphene/ix05.html +151 -0
  174. data/vendor/local/share/gtk-doc/html/graphene/ix06.html +34 -0
  175. data/vendor/local/share/gtk-doc/html/graphene/left-insensitive.png +0 -0
  176. data/vendor/local/share/gtk-doc/html/graphene/left.png +0 -0
  177. data/vendor/local/share/gtk-doc/html/{pango/api-index-1-40.html → graphene/object-tree.html} +14 -11
  178. data/vendor/local/share/gtk-doc/html/graphene/rectangle-intersection.png +0 -0
  179. data/vendor/local/share/gtk-doc/html/graphene/rectangle-union.png +0 -0
  180. data/vendor/local/share/gtk-doc/html/graphene/rectangle.png +0 -0
  181. data/vendor/local/share/gtk-doc/html/graphene/right-insensitive.png +0 -0
  182. data/vendor/local/share/gtk-doc/html/graphene/right.png +0 -0
  183. data/vendor/local/share/gtk-doc/html/graphene/style.css +479 -0
  184. data/vendor/local/share/gtk-doc/html/graphene/triangle-barycentric.png +0 -0
  185. data/vendor/local/share/gtk-doc/html/graphene/up-insensitive.png +0 -0
  186. data/vendor/local/share/gtk-doc/html/graphene/up.png +0 -0
  187. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-2-3.html +2 -2
  188. data/vendor/local/share/gtk-doc/html/harfbuzz/{api-index-1-4-0.html → api-index-1-3-3.html} +2 -2
  189. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +104 -0
  190. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +9 -2
  191. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +1 -1
  192. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +156 -40
  193. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +73 -0
  194. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +1 -0
  195. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +49 -0
  196. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html +174 -177
  197. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +40 -0
  198. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
  199. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +28 -10
  200. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
  201. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +2 -2
  202. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +2 -2
  203. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +2 -2
  204. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +1 -1
  205. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +1 -1
  206. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +3 -3
  207. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +1 -1
  208. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +2 -2
  209. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +1 -1
  210. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +1 -1
  211. data/vendor/local/share/gtk-doc/html/pango/index.html +2 -23
  212. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +1 -1
  213. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +1 -1
  214. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +69 -69
  215. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +1 -1
  216. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +1 -1
  217. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -1
  218. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +5 -4
  219. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +8 -4
  220. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +3 -3
  221. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4 -4
  222. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +1 -1
  223. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +3 -1
  224. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1 -1
  225. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +3 -3
  226. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +1 -1
  227. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +1 -1
  228. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +3 -3
  229. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +3 -3
  230. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +1 -1
  231. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -3
  232. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1 -1
  233. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +1 -1
  234. data/vendor/local/share/gtk-doc/html/pango/pango.html +1 -1
  235. data/vendor/local/share/gtk-doc/html/pango/rendering.html +1 -1
  236. data/vendor/local/share/man/man1/pango-view.1 +2 -2
  237. metadata +119 -78
  238. data/README +0 -32
  239. data/ext/pango/rbpango.c +0 -356
  240. data/ext/pango/rbpango.h +0 -95
  241. data/ext/pango/rbpangoanalysis.c +0 -218
  242. data/ext/pango/rbpangoattribute.c +0 -506
  243. data/ext/pango/rbpangoattriterator.c +0 -141
  244. data/ext/pango/rbpangoattrlist.c +0 -101
  245. data/ext/pango/rbpangocairo.c +0 -122
  246. data/ext/pango/rbpangocairocontext.c +0 -131
  247. data/ext/pango/rbpangocolor.c +0 -120
  248. data/ext/pango/rbpangocontext.c +0 -344
  249. data/ext/pango/rbpangocoverage.c +0 -106
  250. data/ext/pango/rbpangoengine.c +0 -73
  251. data/ext/pango/rbpangofont.c +0 -110
  252. data/ext/pango/rbpangofontdescription.c +0 -282
  253. data/ext/pango/rbpangofontface.c +0 -73
  254. data/ext/pango/rbpangofontfamily.c +0 -79
  255. data/ext/pango/rbpangofontmap.c +0 -102
  256. data/ext/pango/rbpangofontmetrics.c +0 -85
  257. data/ext/pango/rbpangofontset.c +0 -69
  258. data/ext/pango/rbpangofontsetsimple.c +0 -60
  259. data/ext/pango/rbpangoglyphinfo.c +0 -123
  260. data/ext/pango/rbpangoglyphitem.c +0 -125
  261. data/ext/pango/rbpangoglyphstring.c +0 -151
  262. data/ext/pango/rbpangogravity.c +0 -54
  263. data/ext/pango/rbpangoitem.c +0 -95
  264. data/ext/pango/rbpangolanguage.c +0 -94
  265. data/ext/pango/rbpangolayout.c +0 -583
  266. data/ext/pango/rbpangolayoutiter.c +0 -189
  267. data/ext/pango/rbpangolayoutline.c +0 -243
  268. data/ext/pango/rbpangologattr.c +0 -109
  269. data/ext/pango/rbpangomatrix.c +0 -143
  270. data/ext/pango/rbpangoprivate.h +0 -49
  271. data/ext/pango/rbpangorectangle.c +0 -170
  272. data/ext/pango/rbpangorenderer.c +0 -193
  273. data/ext/pango/rbpangoscript.c +0 -84
  274. data/ext/pango/rbpangoscriptiter.c +0 -92
  275. data/ext/pango/rbpangotabarray.c +0 -128
  276. data/sample/attribute.rb +0 -82
  277. data/sample/break.rb +0 -28
  278. data/sample/gdk_layout.rb +0 -27
  279. data/sample/glyphstring.rb +0 -61
  280. data/sample/item.rb +0 -37
  281. data/sample/label.rb +0 -23
  282. data/sample/layout.rb +0 -102
  283. data/sample/pango_cairo.rb +0 -66
  284. data/sample/parse.rb +0 -33
  285. data/sample/sample.txt +0 -10
  286. data/sample/script.rb +0 -23
  287. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +0 -134
  288. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +0 -48
  289. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +0 -63
  290. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +0 -227
  291. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +0 -151
  292. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +0 -121
  293. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +0 -86
  294. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +0 -123
  295. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +0 -96
  296. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +0 -45
  297. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +0 -38
  298. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +0 -38
  299. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +0 -52
  300. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +0 -41
  301. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +0 -38
  302. data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +0 -79
  303. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +0 -200
  304. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +0 -164
  305. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +0 -170
  306. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +0 -441
@@ -0,0 +1,70 @@
1
+ /* graphene-version.h: Version info
2
+ *
3
+ * Copyright © 2014 Emmanuele Bassi
4
+ *
5
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ * of this software and associated documentation files (the "Software"), to deal
7
+ * in the Software without restriction, including without limitation the rights
8
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ * copies of the Software, and to permit persons to whom the Software is
10
+ * furnished to do so, subject to the following conditions:
11
+ *
12
+ * The above copyright notice and this permission notice shall be included in
13
+ * all copies or substantial portions of the Software.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ * THE SOFTWARE.
22
+ */
23
+
24
+ /**
25
+ * SECTION:graphene-version
26
+ * @title: Versioning information
27
+ * @short_description: Detemining the version of Graphene in use
28
+ *
29
+ * Graphene provides symbols to know the version of the library at compile
30
+ * time.
31
+ */
32
+
33
+ #ifndef __GRAPHENE_VERSION_H__
34
+ #define __GRAPHENE_VERSION_H__
35
+
36
+ #if !defined(GRAPHENE_H_INSIDE) && !defined(GRAPHENE_COMPILATION)
37
+ #error "Only graphene.h can be included directly."
38
+ #endif
39
+
40
+ /**
41
+ * GRAPHENE_MAJOR_VERSION:
42
+ *
43
+ * Evaluates to the major version number of the library version,
44
+ * e.g. 1 in 1.2.3.
45
+ *
46
+ * Since: 1.0
47
+ */
48
+ #define GRAPHENE_MAJOR_VERSION (1)
49
+
50
+ /**
51
+ * GRAPHENE_MINOR_VERSION:
52
+ *
53
+ * Evaluates to the minor version number of the library version,
54
+ * e.g. 2 in 1.2.3.
55
+ *
56
+ * Since: 1.0
57
+ */
58
+ #define GRAPHENE_MINOR_VERSION (6)
59
+
60
+ /**
61
+ * GRAPHENE_MICRO_VERSION:
62
+ *
63
+ * Evaluates to the micro version number of the library version,
64
+ * e.g. 3 in 1.2.3.
65
+ *
66
+ * Since: 1.0
67
+ */
68
+ #define GRAPHENE_MICRO_VERSION (0)
69
+
70
+ #endif /* __GRAPHENE_VERSION_H__ */
@@ -0,0 +1,61 @@
1
+ /* graphene
2
+ *
3
+ * Copyright 2014 Emmanuele Bassi
4
+ *
5
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ * of this software and associated documentation files (the "Software"), to deal
7
+ * in the Software without restriction, including without limitation the rights
8
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ * copies of the Software, and to permit persons to whom the Software is
10
+ * furnished to do so, subject to the following conditions:
11
+ *
12
+ * The above copyright notice and this permission notice shall be included in
13
+ * all copies or substantial portions of the Software.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ * THE SOFTWARE.
22
+ */
23
+
24
+ #ifndef __GRAPHENE_H__
25
+ #define __GRAPHENE_H__
26
+
27
+ #define GRAPHENE_H_INSIDE
28
+
29
+ #include "graphene-types.h"
30
+ #include "graphene-macros.h"
31
+ #include "graphene-config.h"
32
+ #include "graphene-version.h"
33
+ #include "graphene-version-macros.h"
34
+
35
+ #include "graphene-simd4f.h"
36
+ #include "graphene-simd4x4f.h"
37
+
38
+ #include "graphene-vec2.h"
39
+ #include "graphene-vec3.h"
40
+ #include "graphene-vec4.h"
41
+
42
+ #include "graphene-matrix.h"
43
+
44
+ #include "graphene-point.h"
45
+ #include "graphene-size.h"
46
+ #include "graphene-rect.h"
47
+
48
+ #include "graphene-point3d.h"
49
+ #include "graphene-quad.h"
50
+ #include "graphene-quaternion.h"
51
+ #include "graphene-euler.h"
52
+ #include "graphene-plane.h"
53
+ #include "graphene-frustum.h"
54
+ #include "graphene-sphere.h"
55
+ #include "graphene-box.h"
56
+ #include "graphene-triangle.h"
57
+ #include "graphene-ray.h"
58
+
59
+ #undef GRAPHENE_H_INSIDE
60
+
61
+ #endif /* __GRAPHENE_H__ */
@@ -362,6 +362,42 @@ typedef struct hb_user_data_key_t {
362
362
  typedef void (*hb_destroy_func_t) (void *user_data);
363
363
 
364
364
 
365
+ /* Font features and variations. */
366
+
367
+ typedef struct hb_feature_t {
368
+ hb_tag_t tag;
369
+ uint32_t value;
370
+ unsigned int start;
371
+ unsigned int end;
372
+ } hb_feature_t;
373
+
374
+ HB_EXTERN hb_bool_t
375
+ hb_feature_from_string (const char *str, int len,
376
+ hb_feature_t *feature);
377
+
378
+ HB_EXTERN void
379
+ hb_feature_to_string (hb_feature_t *feature,
380
+ char *buf, unsigned int size);
381
+
382
+ /**
383
+ * hb_variation_t:
384
+ *
385
+ * Since: 1.4.2
386
+ */
387
+ typedef struct hb_variation_t {
388
+ hb_tag_t tag;
389
+ float value;
390
+ } hb_variation_t;
391
+
392
+ HB_EXTERN hb_bool_t
393
+ hb_variation_from_string (const char *str, int len,
394
+ hb_variation_t *variation);
395
+
396
+ HB_EXTERN void
397
+ hb_variation_to_string (hb_variation_t *variation,
398
+ char *buf, unsigned int size);
399
+
400
+
365
401
  HB_END_DECLS
366
402
 
367
403
  #endif /* HB_COMMON_H */
@@ -563,6 +563,10 @@ hb_font_set_parent (hb_font_t *font,
563
563
  HB_EXTERN hb_font_t *
564
564
  hb_font_get_parent (hb_font_t *font);
565
565
 
566
+ HB_EXTERN void
567
+ hb_font_set_face (hb_font_t *font,
568
+ hb_face_t *face);
569
+
566
570
  HB_EXTERN hb_face_t *
567
571
  hb_font_get_face (hb_font_t *font);
568
572
 
@@ -603,12 +607,25 @@ hb_font_get_ppem (hb_font_t *font,
603
607
  unsigned int *x_ppem,
604
608
  unsigned int *y_ppem);
605
609
 
610
+ HB_EXTERN void
611
+ hb_font_set_variations (hb_font_t *font,
612
+ const hb_variation_t *variations,
613
+ unsigned int variations_length);
614
+
615
+ HB_EXTERN void
616
+ hb_font_set_var_coords_design (hb_font_t *font,
617
+ const float *coords,
618
+ unsigned int coords_length);
606
619
 
607
620
  HB_EXTERN void
608
621
  hb_font_set_var_coords_normalized (hb_font_t *font,
609
- int *coords, /* XXX 2.14 normalized */
622
+ const int *coords, /* 2.14 normalized */
610
623
  unsigned int coords_length);
611
624
 
625
+ HB_EXTERN const int *
626
+ hb_font_get_var_coords_normalized (hb_font_t *font,
627
+ unsigned int *length);
628
+
612
629
  HB_END_DECLS
613
630
 
614
631
  #endif /* HB_FONT_H */
@@ -0,0 +1,105 @@
1
+ /*
2
+ * Copyright © 2017 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
+ * Red Hat Author(s): Behdad Esfahbod
25
+ */
26
+
27
+ #ifndef HB_OT_H_IN
28
+ #error "Include <hb-ot.h> instead."
29
+ #endif
30
+
31
+ #ifndef HB_OT_VAR_H
32
+ #define HB_OT_VAR_H
33
+
34
+ #include "hb.h"
35
+
36
+ HB_BEGIN_DECLS
37
+
38
+
39
+ #define HB_OT_TAG_VAR_AXIS_ITALIC HB_TAG('i','t','a','l')
40
+ #define HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE HB_TAG('o','p','s','z')
41
+ #define HB_OT_TAG_VAR_AXIS_SLANT HB_TAG('s','l','n','t')
42
+ #define HB_OT_TAG_VAR_AXIS_WIDTH HB_TAG('w','d','t','h')
43
+ #define HB_OT_TAG_VAR_AXIS_WEIGHT HB_TAG('w','g','h','t')
44
+
45
+
46
+ /*
47
+ * fvar / avar
48
+ */
49
+
50
+ /**
51
+ * hb_ot_var_axis_t:
52
+ *
53
+ * Since: 1.4.2
54
+ */
55
+ typedef struct hb_ot_var_axis_t {
56
+ hb_tag_t tag;
57
+ unsigned int name_id;
58
+ float min_value;
59
+ float default_value;
60
+ float max_value;
61
+ } hb_ot_var_axis_t;
62
+
63
+ HB_EXTERN hb_bool_t
64
+ hb_ot_var_has_data (hb_face_t *face);
65
+
66
+ /**
67
+ * HB_OT_VAR_NO_AXIS_INDEX:
68
+ *
69
+ * Since: 1.4.2
70
+ */
71
+ #define HB_OT_VAR_NO_AXIS_INDEX 0xFFFFFFFFu
72
+
73
+ HB_EXTERN unsigned int
74
+ hb_ot_var_get_axis_count (hb_face_t *face);
75
+
76
+ HB_EXTERN unsigned int
77
+ hb_ot_var_get_axes (hb_face_t *face,
78
+ unsigned int start_offset,
79
+ unsigned int *axes_count /* IN/OUT */,
80
+ hb_ot_var_axis_t *axes_array /* OUT */);
81
+
82
+ HB_EXTERN hb_bool_t
83
+ hb_ot_var_find_axis (hb_face_t *face,
84
+ hb_tag_t axis_tag,
85
+ unsigned int *axis_index,
86
+ hb_ot_var_axis_t *axis_info);
87
+
88
+
89
+ HB_EXTERN void
90
+ hb_ot_var_normalize_variations (hb_face_t *face,
91
+ const hb_variation_t *variations, /* IN */
92
+ unsigned int variations_length,
93
+ int *coords, /* OUT */
94
+ unsigned int coords_length);
95
+
96
+ HB_EXTERN void
97
+ hb_ot_var_normalize_coords (hb_face_t *face,
98
+ unsigned int coords_length,
99
+ const float *design_coords, /* IN */
100
+ int *normalized_coords /* OUT */);
101
+
102
+
103
+ HB_END_DECLS
104
+
105
+ #endif /* HB_OT_VAR_H */
@@ -35,6 +35,7 @@
35
35
  #include "hb-ot-math.h"
36
36
  #include "hb-ot-tag.h"
37
37
  #include "hb-ot-shape.h"
38
+ #include "hb-ot-var.h"
38
39
 
39
40
  HB_BEGIN_DECLS
40
41
 
@@ -40,22 +40,6 @@
40
40
  HB_BEGIN_DECLS
41
41
 
42
42
 
43
- typedef struct hb_feature_t {
44
- hb_tag_t tag;
45
- uint32_t value;
46
- unsigned int start;
47
- unsigned int end;
48
- } hb_feature_t;
49
-
50
- HB_EXTERN hb_bool_t
51
- hb_feature_from_string (const char *str, int len,
52
- hb_feature_t *feature);
53
-
54
- HB_EXTERN void
55
- hb_feature_to_string (hb_feature_t *feature,
56
- char *buf, unsigned int size);
57
-
58
-
59
43
  HB_EXTERN void
60
44
  hb_shape (hb_font_t *font,
61
45
  hb_buffer_t *buffer,
@@ -38,9 +38,9 @@ HB_BEGIN_DECLS
38
38
 
39
39
  #define HB_VERSION_MAJOR 1
40
40
  #define HB_VERSION_MINOR 4
41
- #define HB_VERSION_MICRO 1
41
+ #define HB_VERSION_MICRO 6
42
42
 
43
- #define HB_VERSION_STRING "1.4.1"
43
+ #define HB_VERSION_STRING "1.4.6"
44
44
 
45
45
  #define HB_VERSION_ATLEAST(major,minor,micro) \
46
46
  ((major)*10000+(minor)*100+(micro) <= \
@@ -169,7 +169,7 @@ GType pango_engine_lang_get_type (void) G_GNUC_CONST;
169
169
  typedef struct _PangoEngineShapeClass PangoEngineShapeClass;
170
170
 
171
171
  /**
172
- * PangoEngineShape
172
+ * PangoEngineShape:
173
173
  *
174
174
  * The #PangoEngineShape class is implemented by engines that
175
175
  * customize the rendering-system dependent part of the
@@ -241,7 +241,7 @@ typedef struct _PangoEngineInfo PangoEngineInfo;
241
241
  typedef struct _PangoEngineScriptInfo PangoEngineScriptInfo;
242
242
 
243
243
  /**
244
- * PangoEngineScriptInfo
244
+ * PangoEngineScriptInfo:
245
245
  * @script: a #PangoScript. The value %PANGO_SCRIPT_COMMON has
246
246
  * the special meaning here of "all scripts"
247
247
  * @langs: a semicolon separated list of languages that this
@@ -288,7 +288,7 @@ struct _PangoEngineInfo
288
288
  };
289
289
 
290
290
  /**
291
- * script_engine_list:
291
+ * script_engine_list: (skip)
292
292
  * @engines: location to store a pointer to an array of engines.
293
293
  * @n_engines: location to store the number of elements in @engines.
294
294
  *
@@ -301,7 +301,7 @@ void script_engine_list (PangoEngineInfo **engines,
301
301
  int *n_engines);
302
302
 
303
303
  /**
304
- * script_engine_init:
304
+ * script_engine_init: (skip)
305
305
  * @module: a #GTypeModule structure used to associate any
306
306
  * GObject types created in this module with the module.
307
307
  *
@@ -314,7 +314,7 @@ void script_engine_init (GTypeModule *module);
314
314
 
315
315
 
316
316
  /**
317
- * script_engine_exit:
317
+ * script_engine_exit: (skip)
318
318
  *
319
319
  * Do not use.
320
320
  *
@@ -324,7 +324,7 @@ PANGO_DEPRECATED_IN_1_38
324
324
  void script_engine_exit (void);
325
325
 
326
326
  /**
327
- * script_engine_create:
327
+ * script_engine_create: (skip)
328
328
  * @id: the ID of an engine as reported by script_engine_list.
329
329
  *
330
330
  * Do not use.
@@ -4,9 +4,9 @@
4
4
 
5
5
  #define PANGO_VERSION_MAJOR 1
6
6
  #define PANGO_VERSION_MINOR 40
7
- #define PANGO_VERSION_MICRO 3
7
+ #define PANGO_VERSION_MICRO 5
8
8
 
9
- #define PANGO_VERSION_STRING "1.40.3"
9
+ #define PANGO_VERSION_STRING "1.40.5"
10
10
 
11
11
 
12
12
  #endif
@@ -99,7 +99,7 @@ typedef enum {
99
99
  * @layout: (allow-none): the layout this line belongs to, might be %NULL
100
100
  * @start_index: start of line as byte index into layout->text
101
101
  * @length: length of line in bytes
102
- * @runs: (allow-none) (element-type: Pango.LayoutRun): list of runs in the
102
+ * @runs: (allow-none) (element-type Pango.LayoutRun): list of runs in the
103
103
  * line, from left to right
104
104
  * @is_paragraph_start: #TRUE if this is the first line of the paragraph
105
105
  * @resolved_dir: #Resolved PangoDirection of line