pango 3.2.5-x86-mingw32 → 3.2.6-x86-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 (161) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING.LIB +502 -0
  3. data/README.md +25 -0
  4. data/Rakefile +8 -8
  5. data/ext/pango/extconf.rb +4 -1
  6. data/ext/pango/pango.def +1 -0
  7. data/ext/pango/rb-pango-attr-list.c +3 -3
  8. data/ext/pango/rb-pango-attribute.c +67 -57
  9. data/ext/pango/rb-pango-conversions.h +3 -3
  10. data/ext/pango/rb-pango-private.h +0 -1
  11. data/ext/pango/rb-pango.c +0 -1
  12. data/ext/pango/rb-pango.h +2 -1
  13. data/lib/2.2/pango.so +0 -0
  14. data/lib/2.3/pango.so +0 -0
  15. data/lib/2.4/pango.so +0 -0
  16. data/lib/2.5/pango.so +0 -0
  17. data/lib/pango/loader.rb +13 -1
  18. data/lib/pango/rectangle.rb +7 -1
  19. data/pango.gemspec +43 -0
  20. data/vendor/local/bin/derb.exe +0 -0
  21. data/vendor/local/bin/fribidi.exe +0 -0
  22. data/vendor/local/bin/genbrk.exe +0 -0
  23. data/vendor/local/bin/genccode.exe +0 -0
  24. data/vendor/local/bin/gencfu.exe +0 -0
  25. data/vendor/local/bin/gencmn.exe +0 -0
  26. data/vendor/local/bin/gencnval.exe +0 -0
  27. data/vendor/local/bin/gendict.exe +0 -0
  28. data/vendor/local/bin/gennorm2.exe +0 -0
  29. data/vendor/local/bin/genrb.exe +0 -0
  30. data/vendor/local/bin/gensprep.exe +0 -0
  31. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  32. data/vendor/local/bin/hb-shape.exe +0 -0
  33. data/vendor/local/bin/hb-subset.exe +0 -0
  34. data/vendor/local/bin/hb-view.exe +0 -0
  35. data/vendor/local/bin/icuinfo.exe +0 -0
  36. data/vendor/local/bin/icupkg.exe +0 -0
  37. data/vendor/local/bin/libfribidi-0.dll +0 -0
  38. data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
  39. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  40. data/vendor/local/bin/libharfbuzz-subset-0.dll +0 -0
  41. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  42. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  43. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  44. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  45. data/vendor/local/bin/makeconv.exe +0 -0
  46. data/vendor/local/bin/pango-view.exe +0 -0
  47. data/vendor/local/bin/pkgdata.exe +0 -0
  48. data/vendor/local/bin/uconv.exe +0 -0
  49. data/vendor/local/include/fribidi/fribidi-config.h +2 -2
  50. data/vendor/local/include/harfbuzz/hb-blob.h +2 -0
  51. data/vendor/local/include/harfbuzz/hb-common.h +24 -3
  52. data/vendor/local/include/harfbuzz/hb-face.h +4 -0
  53. data/vendor/local/include/harfbuzz/hb-map.h +104 -0
  54. data/vendor/local/include/harfbuzz/hb-ot-layout.h +1 -1
  55. data/vendor/local/include/harfbuzz/hb-set.h +0 -2
  56. data/vendor/local/include/harfbuzz/hb-subset-plan.hh +46 -25
  57. data/vendor/local/include/harfbuzz/hb-subset.h +4 -1
  58. data/vendor/local/include/harfbuzz/hb-version.h +3 -3
  59. data/vendor/local/include/harfbuzz/hb.h +1 -0
  60. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  61. data/vendor/local/lib/cmake/harfbuzz/harfbuzz-config.cmake +1 -1
  62. data/vendor/local/lib/icudt.dll +0 -0
  63. data/vendor/local/lib/icudt58.dll +0 -0
  64. data/vendor/local/lib/icuin.dll +0 -0
  65. data/vendor/local/lib/icuin58.dll +0 -0
  66. data/vendor/local/lib/icuio.dll +0 -0
  67. data/vendor/local/lib/icuio58.dll +0 -0
  68. data/vendor/local/lib/icutest.dll +0 -0
  69. data/vendor/local/lib/icutest58.dll +0 -0
  70. data/vendor/local/lib/icutu.dll +0 -0
  71. data/vendor/local/lib/icutu58.dll +0 -0
  72. data/vendor/local/lib/icuuc.dll +0 -0
  73. data/vendor/local/lib/icuuc58.dll +0 -0
  74. data/vendor/local/lib/libfribidi.dll.a +0 -0
  75. data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
  76. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  77. data/vendor/local/lib/libharfbuzz-icu.la +3 -3
  78. data/vendor/local/lib/libharfbuzz-subset.dll.a +0 -0
  79. data/vendor/local/lib/libharfbuzz-subset.la +3 -3
  80. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  81. data/vendor/local/lib/libharfbuzz.la +3 -3
  82. data/vendor/local/lib/libicudt.dll.a +0 -0
  83. data/vendor/local/lib/libicudt58.dll +0 -0
  84. data/vendor/local/lib/libicuin.dll.a +0 -0
  85. data/vendor/local/lib/libicuio.dll.a +0 -0
  86. data/vendor/local/lib/libicutest.dll.a +0 -0
  87. data/vendor/local/lib/libicutu.dll.a +0 -0
  88. data/vendor/local/lib/libicuuc.dll.a +0 -0
  89. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  90. data/vendor/local/lib/libpango-1.0.la +2 -2
  91. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  92. data/vendor/local/lib/libpangocairo-1.0.la +2 -2
  93. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  94. data/vendor/local/lib/libpangoft2-1.0.la +2 -2
  95. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  96. data/vendor/local/lib/libpangowin32-1.0.la +2 -2
  97. data/vendor/local/lib/pkgconfig/fribidi.pc +1 -1
  98. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  99. data/vendor/local/lib/pkgconfig/harfbuzz-subset.pc +1 -1
  100. data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
  101. data/vendor/local/lib/pkgconfig/pango.pc +2 -2
  102. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  103. data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
  104. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  105. data/vendor/local/libexec/installed-tests/graphene-1.0/box.exe +0 -0
  106. data/vendor/local/libexec/installed-tests/graphene-1.0/euler.exe +0 -0
  107. data/vendor/local/libexec/installed-tests/graphene-1.0/frustum.exe +0 -0
  108. data/vendor/local/libexec/installed-tests/graphene-1.0/matrix.exe +0 -0
  109. data/vendor/local/libexec/installed-tests/graphene-1.0/plane.exe +0 -0
  110. data/vendor/local/libexec/installed-tests/graphene-1.0/point.exe +0 -0
  111. data/vendor/local/libexec/installed-tests/graphene-1.0/point3d.exe +0 -0
  112. data/vendor/local/libexec/installed-tests/graphene-1.0/quad.exe +0 -0
  113. data/vendor/local/libexec/installed-tests/graphene-1.0/quaternion.exe +0 -0
  114. data/vendor/local/libexec/installed-tests/graphene-1.0/ray.exe +0 -0
  115. data/vendor/local/libexec/installed-tests/graphene-1.0/rect.exe +0 -0
  116. data/vendor/local/libexec/installed-tests/graphene-1.0/simd.exe +0 -0
  117. data/vendor/local/libexec/installed-tests/graphene-1.0/size.exe +0 -0
  118. data/vendor/local/libexec/installed-tests/graphene-1.0/sphere.exe +0 -0
  119. data/vendor/local/libexec/installed-tests/graphene-1.0/triangle.exe +0 -0
  120. data/vendor/local/libexec/installed-tests/graphene-1.0/vec2.exe +0 -0
  121. data/vendor/local/libexec/installed-tests/graphene-1.0/vec3.exe +0 -0
  122. data/vendor/local/libexec/installed-tests/graphene-1.0/vec4.exe +0 -0
  123. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +5 -3
  124. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +5 -0
  125. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +1 -0
  126. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +1 -1
  127. data/vendor/local/share/gtk-doc/html/pango/index.html +1 -1
  128. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +2 -2
  129. data/vendor/local/share/man/man3/fribidi_charset_to_unicode.3 +98 -0
  130. data/vendor/local/share/man/man3/fribidi_debug_status.3 +44 -0
  131. data/vendor/local/share/man/man3/fribidi_get_bidi_type.3 +58 -0
  132. data/vendor/local/share/man/man3/fribidi_get_bidi_type_name.3 +56 -0
  133. data/vendor/local/share/man/man3/fribidi_get_bidi_types.3 +68 -0
  134. data/vendor/local/share/man/man3/fribidi_get_bracket.3 +59 -0
  135. data/vendor/local/share/man/man3/fribidi_get_bracket_types.3 +73 -0
  136. data/vendor/local/share/man/man3/fribidi_get_joining_type.3 +87 -0
  137. data/vendor/local/share/man/man3/fribidi_get_joining_type_name.3 +83 -0
  138. data/vendor/local/share/man/man3/fribidi_get_joining_types.3 +96 -0
  139. data/vendor/local/share/man/man3/fribidi_get_mirror_char.3 +68 -0
  140. data/vendor/local/share/man/man3/fribidi_get_par_direction.3 +100 -0
  141. data/vendor/local/share/man/man3/fribidi_get_par_embedding_levels.3 +98 -0
  142. data/vendor/local/share/man/man3/fribidi_get_par_embedding_levels_ex.3 +114 -0
  143. data/vendor/local/share/man/man3/fribidi_get_type.3 +50 -0
  144. data/vendor/local/share/man/man3/fribidi_get_type_internal.3 +50 -0
  145. data/vendor/local/share/man/man3/fribidi_join_arabic.3 +92 -0
  146. data/vendor/local/share/man/man3/fribidi_log2vis.3 +124 -0
  147. data/vendor/local/share/man/man3/fribidi_log2vis_get_embedding_levels.3 +97 -0
  148. data/vendor/local/share/man/man3/fribidi_mirroring_status.3 +44 -0
  149. data/vendor/local/share/man/man3/fribidi_parse_charset.3 +78 -0
  150. data/vendor/local/share/man/man3/fribidi_remove_bidi_marks.3 +96 -0
  151. data/vendor/local/share/man/man3/fribidi_reorder_line.3 +146 -0
  152. data/vendor/local/share/man/man3/fribidi_reorder_nsm_status.3 +44 -0
  153. data/vendor/local/share/man/man3/fribidi_set_debug.3 +48 -0
  154. data/vendor/local/share/man/man3/fribidi_set_mirroring.3 +58 -0
  155. data/vendor/local/share/man/man3/fribidi_set_reorder_nsm.3 +60 -0
  156. data/vendor/local/share/man/man3/fribidi_shape.3 +89 -0
  157. data/vendor/local/share/man/man3/fribidi_shape_arabic.3 +95 -0
  158. data/vendor/local/share/man/man3/fribidi_shape_mirroring.3 +71 -0
  159. data/vendor/local/share/man/man3/fribidi_unicode_to_charset.3 +99 -0
  160. metadata +39 -47
  161. data/ext/pango/rb-pango-context.c +0 -79
@@ -1,79 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2017 Ruby-GNOME2 Project Team
4
- *
5
- * This library is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU Lesser General Public
7
- * License as published by the Free Software Foundation; either
8
- * version 2.1 of the License, or (at your option) any later version.
9
- *
10
- * This library is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public
16
- * License along with this library; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
- * MA 02110-1301 USA
19
- */
20
-
21
- #include "rb-pango-private.h"
22
-
23
- #if PANGO_VERSION_CHECK(1, 18, 0)
24
- # include <pango/pangocairo.h>
25
- # include <rb_cairo.h>
26
- #endif
27
-
28
- #define RG_TARGET_NAMESPACE cContext
29
-
30
- #if PANGO_VERSION_CHECK(1, 18, 0)
31
- static void
32
- shape_renderer_callback(cairo_t *cr,
33
- PangoAttrShape *attr,
34
- gboolean do_path,
35
- gpointer data)
36
- {
37
- VALUE rb_cr;
38
- VALUE rb_mPango;
39
- VALUE rb_cPangoAttrShape;
40
- VALUE rb_attr;
41
- VALUE rb_do_path;
42
- VALUE rb_callback;
43
- ID id_call;
44
-
45
- rb_cr = CRCONTEXT2RVAL(cr);
46
- rb_mPango = rb_const_get(rb_cObject, rb_intern("Pango"));
47
- rb_cPangoAttrShape = rb_const_get(rb_mPango, rb_intern("AttrShape"));
48
- rb_attr = Data_Wrap_Struct(rb_cPangoAttrShape,
49
- NULL,
50
- pango_attribute_destroy,
51
- pango_attribute_copy((PangoAttribute *)attr));
52
- rb_do_path = CBOOL2RVAL(do_path);
53
- rb_callback = (VALUE)data;
54
- CONST_ID(id_call, "call");
55
- rb_funcall(rb_callback, id_call, 3, rb_cr, rb_attr, rb_do_path);
56
- }
57
-
58
- static VALUE
59
- rg_set_shape_renderer(VALUE self)
60
- {
61
- VALUE func = rb_block_proc();
62
- rb_iv_set(self, "@shape_renderer", func);
63
- pango_cairo_context_set_shape_renderer(RVAL2PANGOCONTEXT(self),
64
- shape_renderer_callback,
65
- (gpointer)func,
66
- NULL);
67
- return self;
68
- }
69
- #endif
70
-
71
- void
72
- rbpango_context_init(VALUE mPango)
73
- {
74
- VALUE RG_TARGET_NAMESPACE;
75
-
76
- RG_TARGET_NAMESPACE = rb_const_get(mPango, rb_intern("Context"));
77
-
78
- RG_DEF_METHOD(set_shape_renderer, 0);
79
- }