pango 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. data/ext/pango/extconf.rb +3 -0
  2. data/ext/pango/rbpango.c +312 -12
  3. data/ext/pango/rbpango.h +33 -22
  4. data/ext/pango/rbpangoanalysis.c +98 -58
  5. data/ext/pango/rbpangoattribute.c +94 -85
  6. data/ext/pango/rbpangoattriterator.c +39 -28
  7. data/ext/pango/rbpangoattrlist.c +42 -32
  8. data/ext/pango/rbpangocairo.c +38 -172
  9. data/ext/pango/rbpangocairocontext.c +151 -0
  10. data/ext/pango/rbpangocolor.c +49 -38
  11. data/ext/pango/rbpangocontext.c +109 -102
  12. data/ext/pango/rbpangoconversions.h +111 -0
  13. data/ext/pango/rbpangocoverage.c +45 -37
  14. data/ext/pango/rbpangoengine.c +22 -12
  15. data/ext/pango/rbpangofont.c +52 -43
  16. data/ext/pango/rbpangofontdescription.c +102 -91
  17. data/ext/pango/rbpangofontface.c +32 -21
  18. data/ext/pango/rbpangofontfamily.c +31 -20
  19. data/ext/pango/rbpangofontmap.c +44 -36
  20. data/ext/pango/rbpangofontmetrics.c +41 -30
  21. data/ext/pango/rbpangofontset.c +32 -21
  22. data/ext/pango/rbpangofontsetsimple.c +34 -24
  23. data/ext/pango/rbpangoglyphinfo.c +48 -35
  24. data/ext/pango/rbpangoglyphitem.c +43 -33
  25. data/ext/pango/rbpangoglyphstring.c +59 -59
  26. data/ext/pango/rbpangogravity.c +34 -23
  27. data/ext/pango/rbpangoitem.c +43 -34
  28. data/ext/pango/rbpangolanguage.c +44 -34
  29. data/ext/pango/rbpangolayout.c +167 -160
  30. data/ext/pango/rbpangolayoutiter.c +70 -59
  31. data/ext/pango/rbpangolayoutline.c +106 -71
  32. data/ext/pango/rbpangologattr.c +42 -31
  33. data/ext/pango/rbpangomatrix.c +47 -35
  34. data/ext/pango/rbpangoprivate.h +53 -0
  35. data/ext/pango/rbpangorectangle.c +58 -49
  36. data/ext/pango/rbpangorenderer.c +81 -70
  37. data/ext/pango/rbpangoscript.c +37 -27
  38. data/ext/pango/rbpangoscriptiter.c +32 -22
  39. data/ext/pango/rbpangotabarray.c +48 -37
  40. data/lib/1.8/pango.so +0 -0
  41. data/lib/1.9/pango.so +0 -0
  42. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  43. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  44. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  45. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  46. data/vendor/local/bin/pango-querymodules.exe +0 -0
  47. data/vendor/local/bin/pango-view.exe +0 -0
  48. data/vendor/local/etc/pango/pango.modules +1 -1
  49. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +1 -1
  50. data/vendor/local/include/pango-1.0/pango/pango-context.h +3 -3
  51. data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
  52. data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -3
  53. data/vendor/local/include/pango-1.0/pango/pango-language.h +3 -3
  54. data/vendor/local/include/pango-1.0/pango/pango-layout.h +6 -1
  55. data/vendor/local/include/pango-1.0/pango/pango-renderer.h +1 -1
  56. data/vendor/local/include/pango-1.0/pango/pango-script.h +6 -6
  57. data/vendor/local/include/pango-1.0/pango/pango-utils.h +6 -6
  58. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  59. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  60. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  61. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  62. data/vendor/local/lib/pango-1.0.def +2 -0
  63. data/vendor/local/lib/pango-1.0.lib +0 -0
  64. data/vendor/local/lib/pangocairo-1.0.lib +0 -0
  65. data/vendor/local/lib/pangoft2-1.0.lib +0 -0
  66. data/vendor/local/lib/pangowin32-1.0.def +1 -1
  67. data/vendor/local/lib/pangowin32-1.0.lib +0 -0
  68. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  69. data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
  70. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  71. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  72. data/vendor/local/manifest/{pango-dev_1.28.3-1_win32.mft → pango-dev_1.29.4-1_win32.mft} +5 -5
  73. data/vendor/local/manifest/{pango_1.28.3-1_win32.mft → pango_1.29.4-1_win32.mft} +2 -2
  74. data/vendor/local/share/doc/{pango-1.28.3 → pango-1.29.4}/COPYING +0 -0
  75. data/vendor/local/share/doc/{pango-dev-1.28.3 → pango-dev-1.29.4}/COPYING +0 -0
  76. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -10
  77. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +25 -27
  78. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +19 -28
  79. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +42 -60
  80. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +97 -147
  81. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -6
  82. data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -3
  83. data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -3
  84. data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -3
  85. data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +5 -5
  86. data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +3 -5
  87. data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -3
  88. data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +3 -3
  89. data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -5
  90. data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -3
  91. data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +4 -4
  92. data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +8 -11
  93. data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +38 -0
  94. data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -3
  95. data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +4 -4
  96. data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +4 -4
  97. data/vendor/local/share/gtk-doc/html/pango/index-all.html +38 -40
  98. data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -3
  99. data/vendor/local/share/gtk-doc/html/pango/index.html +6 -5
  100. data/vendor/local/share/gtk-doc/html/pango/index.sgml +71 -34
  101. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -3
  102. data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +4 -66
  103. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +52 -50
  104. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +217 -278
  105. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +40 -41
  106. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +37 -49
  107. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +481 -628
  108. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +76 -118
  109. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +302 -452
  110. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +492 -517
  111. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +134 -164
  112. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +34 -45
  113. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +244 -359
  114. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +117 -122
  115. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +112 -120
  116. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +394 -523
  117. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +269 -364
  118. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +26 -40
  119. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +72 -75
  120. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +97 -145
  121. data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +114 -188
  122. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +114 -176
  123. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +42 -8
  124. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +106 -150
  125. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +3 -3
  126. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +35 -35
  127. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -3
  128. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -3
  129. data/vendor/local/share/gtk-doc/html/pango/style.css +2 -1
  130. data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -3
  131. data/vendor/local/share/man/man1/pango-querymodules.1 +12 -3
  132. data/vendor/local/share/man/man1/pango-view.1 +2 -2
  133. data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +806 -0
  134. data/vendor/local/src/{tml/packaging/pango_1.28.3-1_win32.sh → dieterv/packaging/pango_1.29.4-1_win32.sh} +7 -7
  135. metadata +19 -19
  136. data/ChangeLog +0 -721
  137. data/ext/pango/rbpangoinits.c +0 -72
  138. data/ext/pango/rbpangomain.c +0 -202
  139. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +0 -799
  140. data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.log +0 -950
@@ -1,20 +1,31 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbpangoarray.c -
5
-
6
- $Author: ggc $
7
- $Date: 2007/07/13 16:07:33 $
8
-
9
- Copyright (C) 2002,2003 Masao Mutoh
10
- ************************************************/
11
-
12
- #include "rbpango.h"
13
-
14
- #define _SELF(self) ((PangoTabArray*)RVAL2BOXED(self, PANGO_TYPE_TAB_ARRAY))
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2002,2003 Masao Mutoh
5
+ *
6
+ * This library is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU Lesser General Public
8
+ * License as published by the Free Software Foundation; either
9
+ * version 2.1 of the License, or (at your option) any later version.
10
+ *
11
+ * This library is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ * Lesser General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public
17
+ * License along with this library; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
+ * MA 02110-1301 USA
20
+ */
21
+
22
+ #include "rbpangoprivate.h"
23
+
24
+ #define RG_TARGET_NAMESPACE cTabArray
25
+ #define _SELF(self) (RVAL2PANGOTABARRAY(self))
15
26
 
16
27
  static VALUE
17
- rtab_initialize(int argc, VALUE *argv, VALUE self)
28
+ rg_initialize(int argc, VALUE *argv, VALUE self)
18
29
  {
19
30
  VALUE size, positions_in_pixels, attr_ary;
20
31
  PangoTabArray *array;
@@ -29,11 +40,11 @@ rtab_initialize(int argc, VALUE *argv, VALUE self)
29
40
  if (! NIL_P(attr_ary)){
30
41
  for (i = 0; i < RARRAY_LEN(attr_ary); i++) {
31
42
  pango_tab_array_set_tab(array, i,
32
- RVAL2GENUM(RARRAY_PTR(RARRAY_PTR(attr_ary)[i])[0], PANGO_TYPE_TAB_ALIGN),
43
+ RVAL2PANGOTABALIGN(RARRAY_PTR(RARRAY_PTR(attr_ary)[i])[0]),
33
44
  FIX2INT(RARRAY_PTR(RARRAY_PTR(attr_ary)[i])[1]));
34
45
  }
35
46
  }
36
-
47
+
37
48
  return Qnil;
38
49
  }
39
50
  /* This is implemented in rtab_initialize.
@@ -45,38 +56,38 @@ PangoTabArray* pango_tab_array_new_with_positions
45
56
  ...);
46
57
  */
47
58
  static VALUE
48
- rtab_get_size(VALUE self)
59
+ rg_size(VALUE self)
49
60
  {
50
61
  return INT2NUM(pango_tab_array_get_size(_SELF(self)));
51
62
  }
52
63
 
53
64
  static VALUE
54
- rtab_resize(VALUE self, VALUE size)
65
+ rg_resize(VALUE self, VALUE size)
55
66
  {
56
67
  pango_tab_array_resize(_SELF(self), NUM2INT(size));
57
68
  return self;
58
69
  }
59
70
 
60
71
  static VALUE
61
- rtab_set_tab(VALUE self, VALUE tab_index, VALUE align, VALUE location)
72
+ rg_set_tab(VALUE self, VALUE tab_index, VALUE align, VALUE location)
62
73
  {
63
- pango_tab_array_set_tab(_SELF(self), NUM2INT(tab_index), RVAL2GENUM(align, PANGO_TYPE_TAB_ALIGN),
74
+ pango_tab_array_set_tab(_SELF(self), NUM2INT(tab_index), RVAL2PANGOTABALIGN(align),
64
75
  NUM2INT(location));
65
76
  return self;
66
77
  }
67
78
 
68
79
  static VALUE
69
- rtab_get_tab(VALUE self, VALUE tab_index)
80
+ rg_get_tab(VALUE self, VALUE tab_index)
70
81
  {
71
82
  PangoTabAlign align;
72
83
  gint location;
73
84
  pango_tab_array_get_tab(_SELF(self), NUM2INT(tab_index),
74
85
  &align, &location);
75
- return rb_ary_new3(2, GENUM2RVAL(align, PANGO_TYPE_TAB_ALIGN), INT2NUM(location));
86
+ return rb_ary_new3(2, PANGOTABALIGN2RVAL(align), INT2NUM(location));
76
87
  }
77
88
 
78
89
  static VALUE
79
- rtab_get_tabs(VALUE self)
90
+ rg_tabs(VALUE self)
80
91
  {
81
92
  PangoTabAlign* aligns;
82
93
  gint* locations;
@@ -87,33 +98,33 @@ rtab_get_tabs(VALUE self)
87
98
  pango_tab_array_get_tabs(tab_array, &aligns, &locations);
88
99
 
89
100
  for (i = 0; i < pango_tab_array_get_size(tab_array); i++){
90
- rb_ary_push(ary, rb_ary_new3(2, GENUM2RVAL(aligns[i], PANGO_TYPE_TAB_ALIGN),
101
+ rb_ary_push(ary, rb_ary_new3(2, PANGOTABALIGN2RVAL(aligns[i]),
91
102
  INT2NUM(locations[i])));
92
103
  }
93
104
  return ary;
94
105
  }
95
106
 
96
107
  static VALUE
97
- rtab_get_positions_in_pixels(VALUE self)
108
+ rg_positions_in_pixels_p(VALUE self)
98
109
  {
99
110
  return CBOOL2RVAL(pango_tab_array_get_positions_in_pixels(_SELF(self)));
100
111
  }
101
112
 
102
113
  void
103
- Init_pango_array()
114
+ Init_pango_array(VALUE mPango)
104
115
  {
105
- VALUE pTabArray = G_DEF_CLASS(PANGO_TYPE_TAB_ARRAY, "TabArray", mPango);
106
- rb_define_method(pTabArray, "initialize", rtab_initialize, -1);
107
- rb_define_method(pTabArray, "size", rtab_get_size, 0);
108
- rb_define_method(pTabArray, "resize", rtab_resize, 1);
109
- rb_define_method(pTabArray, "set_tab", rtab_set_tab, 3);
110
- rb_define_method(pTabArray, "get_tab", rtab_get_tab, 1);
111
- rb_define_method(pTabArray, "tabs", rtab_get_tabs, 0);
112
- rb_define_method(pTabArray, "positions_in_pixels?", rtab_get_positions_in_pixels, 0);
116
+ VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(PANGO_TYPE_TAB_ARRAY, "TabArray", mPango);
117
+ RG_DEF_METHOD(initialize, -1);
118
+ RG_DEF_METHOD(size, 0);
119
+ RG_DEF_METHOD(resize, 1);
120
+ RG_DEF_METHOD(set_tab, 3);
121
+ RG_DEF_METHOD(get_tab, 1);
122
+ RG_DEF_METHOD(tabs, 0);
123
+ RG_DEF_METHOD_P(positions_in_pixels, 0);
113
124
 
114
- G_DEF_SETTERS(pTabArray);
125
+ G_DEF_SETTERS(RG_TARGET_NAMESPACE);
115
126
 
116
127
  /* PangoTabAlign */
117
- G_DEF_CLASS(PANGO_TYPE_TAB_ALIGN, "TabAlign", pTabArray);
118
- G_DEF_CONSTANTS(pTabArray, PANGO_TYPE_TAB_ALIGN, "PANGO_");
128
+ G_DEF_CLASS(PANGO_TYPE_TAB_ALIGN, "TabAlign", RG_TARGET_NAMESPACE);
129
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, PANGO_TYPE_TAB_ALIGN, "PANGO_");
119
130
  }
data/lib/1.8/pango.so CHANGED
Binary file
data/lib/1.9/pango.so CHANGED
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # Pango Modules file
2
2
  # Automatically generated file, do not edit
3
3
  #
4
- # ModulesPath = c:/devel/target/18e9007417f775a5bc83c60917e98632/lib/pango\1.6.0\modules
4
+ # ModulesPath = C:/MinGW/msys/1.0/devel/target/e7ccdb85e6820e4560d75f6316aa481d/lib/pango\1.6.0\modules
5
5
  #
@@ -180,7 +180,7 @@ struct _PangoAttrFontDesc
180
180
  };
181
181
 
182
182
  PangoAttrType pango_attr_type_register (const gchar *name);
183
- G_CONST_RETURN char * pango_attr_type_get_name (PangoAttrType type) G_GNUC_CONST;
183
+ const char * pango_attr_type_get_name (PangoAttrType type) G_GNUC_CONST;
184
184
 
185
185
  void pango_attribute_init (PangoAttribute *attr,
186
186
  const PangoAttrClass *klass);
@@ -84,9 +84,9 @@ void pango_context_set_gravity_hint (PangoContext
84
84
  PangoGravityHint hint);
85
85
  PangoGravityHint pango_context_get_gravity_hint (PangoContext *context);
86
86
 
87
- void pango_context_set_matrix (PangoContext *context,
88
- const PangoMatrix *matrix);
89
- G_CONST_RETURN PangoMatrix *pango_context_get_matrix (PangoContext *context);
87
+ void pango_context_set_matrix (PangoContext *context,
88
+ const PangoMatrix *matrix);
89
+ const PangoMatrix * pango_context_get_matrix (PangoContext *context);
90
90
 
91
91
  /* Break a string of Unicode characters into segments with
92
92
  * consistent shaping/language engine and bidrectional level.
@@ -3,10 +3,10 @@
3
3
  #define PANGO_FEATURES_H
4
4
 
5
5
  #define PANGO_VERSION_MAJOR 1
6
- #define PANGO_VERSION_MINOR 28
7
- #define PANGO_VERSION_MICRO 3
6
+ #define PANGO_VERSION_MINOR 29
7
+ #define PANGO_VERSION_MICRO 4
8
8
 
9
- #define PANGO_VERSION_STRING "1.28.3"
9
+ #define PANGO_VERSION_STRING "1.29.4"
10
10
 
11
11
 
12
12
  #endif
@@ -117,7 +117,7 @@ void pango_font_description_set_family (PangoFontDescript
117
117
  const char *family);
118
118
  void pango_font_description_set_family_static (PangoFontDescription *desc,
119
119
  const char *family);
120
- G_CONST_RETURN char *pango_font_description_get_family (const PangoFontDescription *desc) G_GNUC_PURE;
120
+ const char *pango_font_description_get_family (const PangoFontDescription *desc) G_GNUC_PURE;
121
121
  void pango_font_description_set_style (PangoFontDescription *desc,
122
122
  PangoStyle style);
123
123
  PangoStyle pango_font_description_get_style (const PangoFontDescription *desc) G_GNUC_PURE;
@@ -212,7 +212,7 @@ GType pango_font_family_get_type (void) G_GNUC_CONST;
212
212
  void pango_font_family_list_faces (PangoFontFamily *family,
213
213
  PangoFontFace ***faces,
214
214
  int *n_faces);
215
- G_CONST_RETURN char *pango_font_family_get_name (PangoFontFamily *family) G_GNUC_PURE;
215
+ const char *pango_font_family_get_name (PangoFontFamily *family) G_GNUC_PURE;
216
216
  gboolean pango_font_family_is_monospace (PangoFontFamily *family) G_GNUC_PURE;
217
217
 
218
218
  #ifdef PANGO_ENABLE_BACKEND
@@ -261,7 +261,7 @@ struct _PangoFontFamilyClass
261
261
  GType pango_font_face_get_type (void) G_GNUC_CONST;
262
262
 
263
263
  PangoFontDescription *pango_font_face_describe (PangoFontFace *face);
264
- G_CONST_RETURN char *pango_font_face_get_face_name (PangoFontFace *face) G_GNUC_PURE;
264
+ const char *pango_font_face_get_face_name (PangoFontFace *face) G_GNUC_PURE;
265
265
  void pango_font_face_list_sizes (PangoFontFace *face,
266
266
  int **sizes,
267
267
  int *n_sizes);
@@ -34,11 +34,11 @@ typedef struct _PangoLanguage PangoLanguage;
34
34
  GType pango_language_get_type (void) G_GNUC_CONST;
35
35
  PangoLanguage *pango_language_from_string (const char *language);
36
36
 
37
- G_CONST_RETURN char *pango_language_to_string (PangoLanguage *language) G_GNUC_CONST;
37
+ const char *pango_language_to_string (PangoLanguage *language) G_GNUC_CONST;
38
38
  /* For back compat. Will have to keep indefinitely. */
39
39
  #define pango_language_to_string(language) ((const char *)language)
40
40
 
41
- G_CONST_RETURN char *pango_language_get_sample_string (PangoLanguage *language) G_GNUC_CONST;
41
+ const char *pango_language_get_sample_string (PangoLanguage *language) G_GNUC_CONST;
42
42
  PangoLanguage *pango_language_get_default (void) G_GNUC_CONST;
43
43
 
44
44
  gboolean pango_language_matches (PangoLanguage *language,
@@ -48,7 +48,7 @@ gboolean pango_language_matches (PangoLanguage *language,
48
48
 
49
49
  gboolean pango_language_includes_script (PangoLanguage *language,
50
50
  PangoScript script) G_GNUC_PURE;
51
- G_CONST_RETURN PangoScript *pango_language_get_scripts (PangoLanguage *language,
51
+ const PangoScript *pango_language_get_scripts (PangoLanguage *language,
52
52
  int *num_scripts);
53
53
 
54
54
  G_END_DECLS
@@ -103,6 +103,8 @@ void pango_layout_set_text (PangoLayout *layout,
103
103
  int length);
104
104
  const char *pango_layout_get_text (PangoLayout *layout);
105
105
 
106
+ gint pango_layout_get_character_count (PangoLayout *layout);
107
+
106
108
  void pango_layout_set_markup (PangoLayout *layout,
107
109
  const char *markup,
108
110
  int length);
@@ -116,7 +118,7 @@ void pango_layout_set_markup_with_accel (PangoLayout *layout,
116
118
  void pango_layout_set_font_description (PangoLayout *layout,
117
119
  const PangoFontDescription *desc);
118
120
 
119
- G_CONST_RETURN PangoFontDescription *pango_layout_get_font_description (PangoLayout *layout);
121
+ const PangoFontDescription *pango_layout_get_font_description (PangoLayout *layout);
120
122
 
121
123
  void pango_layout_set_width (PangoLayout *layout,
122
124
  int width);
@@ -166,6 +168,9 @@ void pango_layout_get_log_attrs (PangoLayout *layout,
166
168
  PangoLogAttr **attrs,
167
169
  gint *n_attrs);
168
170
 
171
+ const PangoLogAttr *pango_layout_get_log_attrs_readonly (PangoLayout *layout,
172
+ gint *n_attrs);
173
+
169
174
  void pango_layout_index_to_pos (PangoLayout *layout,
170
175
  int index_,
171
176
  PangoRectangle *pos);
@@ -249,7 +249,7 @@ PangoColor *pango_renderer_get_color (PangoRenderer *renderer,
249
249
 
250
250
  void pango_renderer_set_matrix (PangoRenderer *renderer,
251
251
  const PangoMatrix *matrix);
252
- G_CONST_RETURN PangoMatrix *pango_renderer_get_matrix (PangoRenderer *renderer);
252
+ const PangoMatrix *pango_renderer_get_matrix (PangoRenderer *renderer);
253
253
 
254
254
  PangoLayout *pango_renderer_get_layout (PangoRenderer *renderer);
255
255
  PangoLayoutLine *pango_renderer_get_layout_line (PangoRenderer *renderer);
@@ -128,12 +128,12 @@ PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CO
128
128
 
129
129
  PangoScriptIter *pango_script_iter_new (const char *text,
130
130
  int length);
131
- void pango_script_iter_get_range (PangoScriptIter *iter,
132
- G_CONST_RETURN char **start,
133
- G_CONST_RETURN char **end,
134
- PangoScript *script);
135
- gboolean pango_script_iter_next (PangoScriptIter *iter);
136
- void pango_script_iter_free (PangoScriptIter *iter);
131
+ void pango_script_iter_get_range (PangoScriptIter *iter,
132
+ const char **start,
133
+ const char **end,
134
+ PangoScript *script);
135
+ gboolean pango_script_iter_next (PangoScriptIter *iter);
136
+ void pango_script_iter_free (PangoScriptIter *iter);
137
137
 
138
138
  #include <pango/pango-language.h>
139
139
 
@@ -82,13 +82,13 @@ gboolean pango_parse_stretch (const char *str,
82
82
  * stored in the registry). The returned string should not be
83
83
  * g_free'd.
84
84
  */
85
- G_CONST_RETURN char * pango_get_sysconf_subdirectory (void) G_GNUC_PURE;
85
+ const char * pango_get_sysconf_subdirectory (void) G_GNUC_PURE;
86
86
 
87
87
  /* Ditto for LIBDIR/pango. On Win32, use the same Pango
88
88
  * installation directory. This returned string should not be
89
89
  * g_free'd either.
90
90
  */
91
- G_CONST_RETURN char * pango_get_lib_subdirectory (void) G_GNUC_PURE;
91
+ const char * pango_get_lib_subdirectory (void) G_GNUC_PURE;
92
92
 
93
93
  #endif /* PANGO_ENABLE_BACKEND */
94
94
 
@@ -131,12 +131,12 @@ gboolean pango_is_zero_width (gunichar ch) G_GNUC_CONST;
131
131
  int pango_version (void) G_GNUC_CONST;
132
132
 
133
133
  /* Return run-time Pango version as an string */
134
- G_CONST_RETURN char * pango_version_string (void) G_GNUC_CONST;
134
+ const char * pango_version_string (void) G_GNUC_CONST;
135
135
 
136
136
  /* Check that run-time Pango is as new as required */
137
- G_CONST_RETURN char * pango_version_check (int required_major,
138
- int required_minor,
139
- int required_micro) G_GNUC_CONST;
137
+ const char * pango_version_check (int required_major,
138
+ int required_minor,
139
+ int required_micro) G_GNUC_CONST;
140
140
 
141
141
  G_END_DECLS
142
142
 
Binary file
Binary file
@@ -232,6 +232,7 @@ EXPORTS
232
232
  pango_layout_get_attributes
233
233
  pango_layout_get_auto_dir
234
234
  pango_layout_get_baseline
235
+ pango_layout_get_character_count
235
236
  pango_layout_get_context
236
237
  pango_layout_get_cursor_pos
237
238
  pango_layout_get_ellipsize
@@ -247,6 +248,7 @@ EXPORTS
247
248
  pango_layout_get_lines
248
249
  pango_layout_get_lines_readonly
249
250
  pango_layout_get_log_attrs
251
+ pango_layout_get_log_attrs_readonly
250
252
  pango_layout_get_pixel_extents
251
253
  pango_layout_get_pixel_size
252
254
  pango_layout_get_single_paragraph_mode
Binary file
Binary file
Binary file
@@ -13,7 +13,7 @@ EXPORTS
13
13
  pango_win32_font_description_from_logfontw
14
14
  pango_win32_font_get_glyph_index
15
15
  pango_win32_font_logfont
16
- pango_win32_font_logfont
16
+ pango_win32_font_logfontw
17
17
  pango_win32_font_map_for_display
18
18
  pango_win32_font_map_get_font_cache
19
19
  pango_win32_get_context
Binary file
@@ -7,7 +7,7 @@ pango_module_version=1.6.0
7
7
 
8
8
  Name: Pango
9
9
  Description: Internationalized text handling
10
- Version: 1.28.3
10
+ Version: 1.29.4
11
11
  Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
12
12
  Libs: -L${libdir} -lpango-1.0
13
13
  Cflags: -I${includedir}/pango-1.0
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: Pango Cairo
7
7
  Description: Cairo rendering support for Pango
8
- Version: 1.28.3
8
+ Version: 1.29.4
9
9
  Requires: pango cairo
10
10
  Libs: -L${libdir} -lpangocairo-1.0
11
11
  Cflags: -I${includedir}/pango-1.0
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: Pango FT2 and Pango Fc
7
7
  Description: Freetype 2.0 and fontconfig font support for Pango
8
- Version: 1.28.3
8
+ Version: 1.29.4
9
9
  Requires: pango freetype2 fontconfig
10
10
  Libs: -L${libdir} -lpangoft2-1.0
11
11
  Cflags: -I${includedir}/pango-1.0
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: Pango Win32
7
7
  Description: Win32 GDI font support for Pango
8
- Version: 1.28.3
8
+ Version: 1.29.4
9
9
  Requires: pango
10
10
  Libs: -L${libdir} -lpangowin32-1.0 -lgdi32
11
11
  Cflags: -I${includedir}/pango-1.0