pango 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/Rakefile +12 -1
  2. data/lib/1.8/pango.so +0 -0
  3. data/lib/1.9/pango.so +0 -0
  4. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  5. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  6. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  7. data/vendor/local/bin/pango-querymodules.exe +0 -0
  8. data/vendor/local/bin/pango-view.exe +0 -0
  9. data/vendor/local/etc/pango/pango.modules +14 -1
  10. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
  11. data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
  12. data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
  13. data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
  14. data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
  15. data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
  16. data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
  17. data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
  18. data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
  19. data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
  20. data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
  21. data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
  22. data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
  23. data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
  24. data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
  25. data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
  26. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  27. data/vendor/local/lib/libpango-1.0.la +41 -0
  28. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  29. data/vendor/local/lib/libpangocairo-1.0.la +41 -0
  30. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  31. data/vendor/local/lib/libpangowin32-1.0.la +41 -0
  32. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  33. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  34. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
  35. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  36. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  37. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
  38. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  39. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  40. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
  41. data/vendor/local/lib/pkgconfig/pango.pc +5 -4
  42. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  43. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  44. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
  45. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
  46. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
  47. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
  48. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
  49. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
  50. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
  51. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
  52. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
  53. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
  54. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
  55. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
  56. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
  57. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
  58. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
  59. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
  60. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
  61. data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
  62. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
  63. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
  64. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
  65. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
  66. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
  67. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
  68. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
  69. data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
  70. data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
  71. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
  72. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
  73. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
  74. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
  75. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
  76. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
  77. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
  78. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
  79. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
  80. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
  81. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
  82. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
  83. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
  84. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
  85. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
  86. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
  87. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
  88. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
  89. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
  90. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
  91. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
  92. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
  93. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
  94. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
  95. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
  96. data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
  97. data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
  98. data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
  99. data/vendor/local/share/license/pango/AUTHORS +2 -0
  100. data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
  101. data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
  102. data/vendor/local/share/man/man1/pango-view.1 +4 -4
  103. metadata +43 -50
  104. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  105. data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
  106. data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
  107. data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
  108. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
  109. data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
  110. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  111. data/vendor/local/lib/pango-1.0.def +0 -397
  112. data/vendor/local/lib/pango-1.0.lib +0 -0
  113. data/vendor/local/lib/pangocairo-1.0.def +0 -34
  114. data/vendor/local/lib/pangocairo-1.0.lib +0 -0
  115. data/vendor/local/lib/pangoft2-1.0.def +0 -85
  116. data/vendor/local/lib/pangoft2-1.0.lib +0 -0
  117. data/vendor/local/lib/pangowin32-1.0.def +0 -30
  118. data/vendor/local/lib/pangowin32-1.0.lib +0 -0
  119. data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
  120. data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
  121. data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
  122. data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
  123. data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
  124. data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
  125. data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
  126. data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
  127. data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
  128. data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
  129. data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
  130. data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
  131. data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
  132. data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
  133. data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
  134. data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
  135. data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
  136. data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
  137. data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
  138. data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
  139. data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
  140. data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
  141. data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
  142. data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
data/Rakefile CHANGED
@@ -7,8 +7,19 @@ package = GNOME2Package.new do |_package|
7
7
  _package.summary = "Ruby/Pango is a Ruby binding of pango-1.x."
8
8
  _package.description = "Ruby/Pango is a Ruby binding of pango-1.x."
9
9
  _package.dependency.gem.runtime = [["cairo", ">= 1.10.0"], "glib2"]
10
- _package.win32.packages = ["pango"]
10
+ _package.win32.packages = []
11
11
  _package.win32.dependencies = []
12
+ _package.win32.build_dependencies = ["glib2"]
13
+ _package.win32.build_packages = [
14
+ {
15
+ :name => "pango",
16
+ :download_site => :gnome,
17
+ :label => "pango",
18
+ :version => "1.32.6",
19
+ :configure_args => [],
20
+ :compression_method => "xz",
21
+ }
22
+ ]
12
23
  end
13
24
  package.define_tasks
14
25
 
Binary file
Binary file
@@ -1,5 +1,18 @@
1
1
  # Pango Modules file
2
2
  # Automatically generated file, do not edit
3
3
  #
4
- # ModulesPath = C:/MinGW/msys/1.0/devel/target/e7ccdb85e6820e4560d75f6316aa481d/lib/pango\1.6.0\modules
4
+ # ModulesPath = /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules
5
5
  #
6
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll devaIndicScriptEngineLang PangoEngineLang PangoRenderNone devanagari:*
7
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll bengIndicScriptEngineLang PangoEngineLang PangoRenderNone bengali:*
8
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll guruIndicScriptEngineLang PangoEngineLang PangoRenderNone gurmukhi:*
9
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll gujrIndicScriptEngineLang PangoEngineLang PangoRenderNone gujarati:*
10
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll oryaIndicScriptEngineLang PangoEngineLang PangoRenderNone oriya:*
11
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll tamlIndicScriptEngineLang PangoEngineLang PangoRenderNone tamil:*
12
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll teluIndicScriptEngineLang PangoEngineLang PangoRenderNone telugu:*
13
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll kndaIndicScriptEngineLang PangoEngineLang PangoRenderNone kannada:*
14
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll mlymIndicScriptEngineLang PangoEngineLang PangoRenderNone malayalam:*
15
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll sinhIndicScriptEngineLang PangoEngineLang PangoRenderNone sinhala:*
16
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:*
17
+ /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll BasicScriptEngineWin32 PangoEngineShape PangoRenderWin32 common:
18
+
@@ -111,10 +111,28 @@ struct _PangoAttribute
111
111
  guint end_index; /* in bytes. The character at this index is not included */
112
112
  };
113
113
 
114
+ /**
115
+ * PangoAttrFilterFunc:
116
+ * @attribute: a Pango attribute
117
+ * @user_data: user data passed to the function
118
+ *
119
+ * Type of a function filtering a list of attributes.
120
+ *
121
+ * Return value: %TRUE if the attribute should be kept, %FALSE if it should be
122
+ * filtered out.
123
+ **/
114
124
  typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute,
115
- gpointer data);
125
+ gpointer user_data);
116
126
 
117
- typedef gpointer (*PangoAttrDataCopyFunc) (gconstpointer data);
127
+ /**
128
+ * PangoAttrDataCopyFunc:
129
+ * @user_data: user data to copy
130
+ *
131
+ * Type of a function that can duplicate user data for an attribute.
132
+ *
133
+ * Return value: new copy of @user_data.
134
+ **/
135
+ typedef gpointer (*PangoAttrDataCopyFunc) (gconstpointer user_data);
118
136
 
119
137
  struct _PangoAttrClass
120
138
  {
@@ -275,6 +293,13 @@ gboolean pango_parse_markup (const char *markup_text,
275
293
  gunichar *accel_char,
276
294
  GError **error);
277
295
 
296
+ GMarkupParseContext * pango_markup_parser_new (gunichar accel_marker);
297
+ gboolean pango_markup_parser_finish (GMarkupParseContext *context,
298
+ PangoAttrList **attr_list,
299
+ char **text,
300
+ gunichar *accel_char,
301
+ GError **error);
302
+
278
303
  G_END_DECLS
279
304
 
280
305
  #endif /* __PANGO_ATTRIBUTES_H__ */
@@ -126,6 +126,7 @@ PangoDirection pango_find_base_dir (const gchar *text,
126
126
  gint length);
127
127
 
128
128
  #ifndef PANGO_DISABLE_DEPRECATED
129
+ G_DEPRECATED_FOR(g_unichar_get_mirror_char)
129
130
  gboolean pango_get_mirror_char (gunichar ch,
130
131
  gunichar *mirrored_ch);
131
132
  #endif
@@ -50,10 +50,11 @@ typedef struct _PangoContextClass PangoContextClass;
50
50
  GType pango_context_get_type (void) G_GNUC_CONST;
51
51
 
52
52
  PangoContext *pango_context_new (void);
53
+ void pango_context_changed (PangoContext *context);
53
54
  void pango_context_set_font_map (PangoContext *context,
54
55
  PangoFontMap *font_map);
55
56
  PangoFontMap *pango_context_get_font_map (PangoContext *context);
56
-
57
+ guint pango_context_get_serial (PangoContext *context);
57
58
  void pango_context_list_families (PangoContext *context,
58
59
  PangoFontFamily ***families,
59
60
  int *n_families);
@@ -186,12 +186,14 @@ struct _PangoEngineShapeClass
186
186
  PangoEngineClass parent_class;
187
187
 
188
188
  /*< public >*/
189
- void (*script_shape) (PangoEngineShape *engine,
190
- PangoFont *font,
191
- const char *text,
192
- int length,
189
+ void (*script_shape) (PangoEngineShape *engine,
190
+ PangoFont *font,
191
+ const char *item_text,
192
+ unsigned int item_length,
193
193
  const PangoAnalysis *analysis,
194
- PangoGlyphString *glyphs);
194
+ PangoGlyphString *glyphs,
195
+ const char *paragraph_text,
196
+ unsigned int paragraph_length);
195
197
  PangoCoverageLevel (*covers) (PangoEngineShape *engine,
196
198
  PangoFont *font,
197
199
  PangoLanguage *language,
@@ -1,5 +1,5 @@
1
1
 
2
-
2
+ /* Generated data (by glib-mkenums) */
3
3
 
4
4
  #ifndef __PANGO_ENUM_TYPES_H__
5
5
  #define __PANGO_ENUM_TYPES_H__
@@ -7,54 +7,63 @@
7
7
  #include <glib-object.h>
8
8
 
9
9
  G_BEGIN_DECLS
10
+
10
11
  /* enumerations from "pango-attributes.h" */
11
- GType pango_attr_type_get_type (void);
12
- #define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
13
- GType pango_underline_get_type (void);
14
- #define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
12
+ GType pango_attr_type_get_type (void) G_GNUC_CONST;
13
+ #define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type ())
14
+ GType pango_underline_get_type (void) G_GNUC_CONST;
15
+ #define PANGO_TYPE_UNDERLINE (pango_underline_get_type ())
16
+
15
17
  /* enumerations from "pango-bidi-type.h" */
16
- GType pango_bidi_type_get_type (void);
17
- #define PANGO_TYPE_BIDI_TYPE (pango_bidi_type_get_type())
18
- GType pango_direction_get_type (void);
19
- #define PANGO_TYPE_DIRECTION (pango_direction_get_type())
18
+ GType pango_bidi_type_get_type (void) G_GNUC_CONST;
19
+ #define PANGO_TYPE_BIDI_TYPE (pango_bidi_type_get_type ())
20
+ GType pango_direction_get_type (void) G_GNUC_CONST;
21
+ #define PANGO_TYPE_DIRECTION (pango_direction_get_type ())
22
+
20
23
  /* enumerations from "pango-coverage.h" */
21
- GType pango_coverage_level_get_type (void);
22
- #define PANGO_TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type())
24
+ GType pango_coverage_level_get_type (void) G_GNUC_CONST;
25
+ #define PANGO_TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type ())
26
+
23
27
  /* enumerations from "pango-font.h" */
24
- GType pango_style_get_type (void);
25
- #define PANGO_TYPE_STYLE (pango_style_get_type())
26
- GType pango_variant_get_type (void);
27
- #define PANGO_TYPE_VARIANT (pango_variant_get_type())
28
- GType pango_weight_get_type (void);
29
- #define PANGO_TYPE_WEIGHT (pango_weight_get_type())
30
- GType pango_stretch_get_type (void);
31
- #define PANGO_TYPE_STRETCH (pango_stretch_get_type())
32
- GType pango_font_mask_get_type (void);
33
- #define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type())
28
+ GType pango_style_get_type (void) G_GNUC_CONST;
29
+ #define PANGO_TYPE_STYLE (pango_style_get_type ())
30
+ GType pango_variant_get_type (void) G_GNUC_CONST;
31
+ #define PANGO_TYPE_VARIANT (pango_variant_get_type ())
32
+ GType pango_weight_get_type (void) G_GNUC_CONST;
33
+ #define PANGO_TYPE_WEIGHT (pango_weight_get_type ())
34
+ GType pango_stretch_get_type (void) G_GNUC_CONST;
35
+ #define PANGO_TYPE_STRETCH (pango_stretch_get_type ())
36
+ GType pango_font_mask_get_type (void) G_GNUC_CONST;
37
+ #define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type ())
38
+
34
39
  /* enumerations from "pango-gravity.h" */
35
- GType pango_gravity_get_type (void);
36
- #define PANGO_TYPE_GRAVITY (pango_gravity_get_type())
37
- GType pango_gravity_hint_get_type (void);
38
- #define PANGO_TYPE_GRAVITY_HINT (pango_gravity_hint_get_type())
40
+ GType pango_gravity_get_type (void) G_GNUC_CONST;
41
+ #define PANGO_TYPE_GRAVITY (pango_gravity_get_type ())
42
+ GType pango_gravity_hint_get_type (void) G_GNUC_CONST;
43
+ #define PANGO_TYPE_GRAVITY_HINT (pango_gravity_hint_get_type ())
44
+
39
45
  /* enumerations from "pango-layout.h" */
40
- GType pango_alignment_get_type (void);
41
- #define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type())
42
- GType pango_wrap_mode_get_type (void);
43
- #define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type())
44
- GType pango_ellipsize_mode_get_type (void);
45
- #define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type())
46
+ GType pango_alignment_get_type (void) G_GNUC_CONST;
47
+ #define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type ())
48
+ GType pango_wrap_mode_get_type (void) G_GNUC_CONST;
49
+ #define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type ())
50
+ GType pango_ellipsize_mode_get_type (void) G_GNUC_CONST;
51
+ #define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type ())
52
+
46
53
  /* enumerations from "pango-renderer.h" */
47
- GType pango_render_part_get_type (void);
48
- #define PANGO_TYPE_RENDER_PART (pango_render_part_get_type())
54
+ GType pango_render_part_get_type (void) G_GNUC_CONST;
55
+ #define PANGO_TYPE_RENDER_PART (pango_render_part_get_type ())
56
+
49
57
  /* enumerations from "pango-script.h" */
50
- GType pango_script_get_type (void);
51
- #define PANGO_TYPE_SCRIPT (pango_script_get_type())
58
+ GType pango_script_get_type (void) G_GNUC_CONST;
59
+ #define PANGO_TYPE_SCRIPT (pango_script_get_type ())
60
+
52
61
  /* enumerations from "pango-tabs.h" */
53
- GType pango_tab_align_get_type (void);
54
- #define PANGO_TYPE_TAB_ALIGN (pango_tab_align_get_type())
62
+ GType pango_tab_align_get_type (void) G_GNUC_CONST;
63
+ #define PANGO_TYPE_TAB_ALIGN (pango_tab_align_get_type ())
55
64
  G_END_DECLS
56
65
 
57
66
  #endif /* __PANGO_ENUM_TYPES_H__ */
58
67
 
59
-
68
+ /* Generated data ends here */
60
69
 
@@ -3,10 +3,10 @@
3
3
  #define PANGO_FEATURES_H
4
4
 
5
5
  #define PANGO_VERSION_MAJOR 1
6
- #define PANGO_VERSION_MINOR 29
7
- #define PANGO_VERSION_MICRO 4
6
+ #define PANGO_VERSION_MINOR 32
7
+ #define PANGO_VERSION_MICRO 6
8
8
 
9
- #define PANGO_VERSION_STRING "1.29.4"
9
+ #define PANGO_VERSION_STRING "1.32.6"
10
10
 
11
11
 
12
12
  #endif
@@ -45,6 +45,7 @@ PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontma
45
45
  void pango_font_map_list_families (PangoFontMap *fontmap,
46
46
  PangoFontFamily ***families,
47
47
  int *n_families);
48
+ guint pango_font_map_get_serial (PangoFontMap *fontmap);
48
49
 
49
50
  #ifdef PANGO_ENABLE_BACKEND
50
51
 
@@ -76,7 +77,9 @@ struct _PangoFontMapClass
76
77
  const PangoFontDescription *desc,
77
78
  PangoLanguage *language);
78
79
 
79
- const char *shape_engine_type;
80
+ const char *shape_engine_type;
81
+
82
+ guint (*get_serial) (PangoFontMap *fontmap);
80
83
 
81
84
  /*< private >*/
82
85
 
@@ -84,7 +87,6 @@ struct _PangoFontMapClass
84
87
  void (*_pango_reserved1) (void);
85
88
  void (*_pango_reserved2) (void);
86
89
  void (*_pango_reserved3) (void);
87
- void (*_pango_reserved4) (void);
88
90
  };
89
91
 
90
92
  const char *pango_font_map_get_shape_engine_type (PangoFontMap *fontmap);
@@ -42,10 +42,10 @@ GType pango_fontset_get_type (void) G_GNUC_CONST;
42
42
  typedef struct _PangoFontset PangoFontset;
43
43
 
44
44
  /**
45
- * PangoFontsetForeachFunc
45
+ * PangoFontsetForeachFunc:
46
46
  * @fontset: a #PangoFontset
47
47
  * @font: a font from @fontset
48
- * @data: callback data
48
+ * @user_data: callback data
49
49
  *
50
50
  * A callback function used by pango_fontset_foreach() when enumerating
51
51
  * the fonts in a fontset.
@@ -56,7 +56,7 @@ typedef struct _PangoFontset PangoFontset;
56
56
  **/
57
57
  typedef gboolean (*PangoFontsetForeachFunc) (PangoFontset *fontset,
58
58
  PangoFont *font,
59
- gpointer data);
59
+ gpointer user_data);
60
60
 
61
61
  PangoFont * pango_fontset_get_font (PangoFontset *fontset,
62
62
  guint wc);
@@ -128,6 +128,13 @@ void pango_shape (const gchar *text,
128
128
  const PangoAnalysis *analysis,
129
129
  PangoGlyphString *glyphs);
130
130
 
131
+ void pango_shape_full (const gchar *item_text,
132
+ gint item_length,
133
+ const gchar *paragraph_text,
134
+ gint paragraph_length,
135
+ const PangoAnalysis *analysis,
136
+ PangoGlyphString *glyphs);
137
+
131
138
  GList *pango_reorder_items (GList *logical_items);
132
139
 
133
140
  G_END_DECLS
@@ -94,6 +94,20 @@ typedef enum {
94
94
  #define PANGO_GRAVITY_IS_VERTICAL(gravity) \
95
95
  ((gravity) == PANGO_GRAVITY_EAST || (gravity) == PANGO_GRAVITY_WEST)
96
96
 
97
+ /**
98
+ * PANGO_GRAVITY_IS_IMPROPER:
99
+ * @gravity: the #PangoGravity to check
100
+ *
101
+ * Whether a #PangoGravity represents a gravity that results in reversal of text direction.
102
+ *
103
+ * Returns: %TRUE if @gravity is %PANGO_GRAVITY_WEST or %PANGO_GRAVITY_NORTH,
104
+ * %FALSE otherwise.
105
+ *
106
+ * Since: 1.32
107
+ **/
108
+ #define PANGO_GRAVITY_IS_IMPROPER(gravity) \
109
+ ((gravity) == PANGO_GRAVITY_WEST || (gravity) == PANGO_GRAVITY_NORTH)
110
+
97
111
  #include <pango/pango-matrix.h>
98
112
  #include <pango/pango-script.h>
99
113
 
@@ -48,7 +48,7 @@ typedef enum {
48
48
  } PangoWrapMode;
49
49
 
50
50
  /**
51
- * PangoEllipsizeMode
51
+ * PangoEllipsizeMode:
52
52
  * @PANGO_ELLIPSIZE_NONE: No ellipsization
53
53
  * @PANGO_ELLIPSIZE_START: Omit characters at the start of the text
54
54
  * @PANGO_ELLIPSIZE_MIDDLE: Omit characters in the middle of the text
@@ -163,6 +163,7 @@ gboolean pango_layout_is_ellipsized (PangoLayout *layout);
163
163
  int pango_layout_get_unknown_glyphs_count (PangoLayout *layout);
164
164
 
165
165
  void pango_layout_context_changed (PangoLayout *layout);
166
+ guint pango_layout_get_serial (PangoLayout *layout);
166
167
 
167
168
  void pango_layout_get_log_attrs (PangoLayout *layout,
168
169
  PangoLogAttr **attrs,
@@ -60,14 +60,14 @@ struct _PangoMatrix
60
60
  };
61
61
 
62
62
  /**
63
- * PANGO_TYPE_MATRIX
63
+ * PANGO_TYPE_MATRIX:
64
64
  *
65
65
  * The GObject type for #PangoMatrix
66
66
  **/
67
67
  #define PANGO_TYPE_MATRIX (pango_matrix_get_type ())
68
68
 
69
69
  /**
70
- * PANGO_MATRIX_INIT
70
+ * PANGO_MATRIX_INIT:
71
71
  *
72
72
  * Constant that can be used to initialize a PangoMatrix to
73
73
  * the identity transform.
@@ -121,7 +121,21 @@ typedef enum { /* ISO 15924 code */
121
121
  PANGO_SCRIPT_VAI, /* Vaii */
122
122
  PANGO_SCRIPT_CARIAN, /* Cari */
123
123
  PANGO_SCRIPT_LYCIAN, /* Lyci */
124
- PANGO_SCRIPT_LYDIAN /* Lydi */
124
+ PANGO_SCRIPT_LYDIAN, /* Lydi */
125
+
126
+ /* Unicode-6.0 additions */
127
+ PANGO_SCRIPT_BATAK, /* Batk */
128
+ PANGO_SCRIPT_BRAHMI, /* Brah */
129
+ PANGO_SCRIPT_MANDAIC, /* Mand */
130
+
131
+ /* Unicode-6.1 additions */
132
+ PANGO_SCRIPT_CHAKMA, /* Cakm */
133
+ PANGO_SCRIPT_MEROITIC_CURSIVE, /* Merc */
134
+ PANGO_SCRIPT_MEROITIC_HIEROGLYPHS,/* Mero */
135
+ PANGO_SCRIPT_MIAO, /* Plrd */
136
+ PANGO_SCRIPT_SHARADA, /* Shrd */
137
+ PANGO_SCRIPT_SORA_SOMPENG, /* Sora */
138
+ PANGO_SCRIPT_TAKRI /* Takr */
125
139
  } PangoScript;
126
140
 
127
141
  PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST;
@@ -42,7 +42,9 @@ gboolean pango_scan_int (const char **pos,
42
42
  int *out);
43
43
 
44
44
  #ifdef PANGO_ENABLE_BACKEND
45
+ char * pango_config_key_get_system (const char *key);
45
46
  char * pango_config_key_get (const char *key);
47
+ G_DEPRECATED
46
48
  void pango_lookup_aliases (const char *fontname,
47
49
  char ***families,
48
50
  int *n_families);
@@ -75,6 +75,7 @@ void pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap,
75
75
  double dpi);
76
76
  double pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap);
77
77
  #ifndef PANGO_DISABLE_DEPRECATED
78
+ G_DEPRECATED_FOR(pango_font_map_create_context)
78
79
  PangoContext *pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap);
79
80
  #endif
80
81
 
@@ -42,6 +42,7 @@ G_BEGIN_DECLS
42
42
  /* Calls for applications
43
43
  */
44
44
  #ifndef PANGO_DISABLE_DEPRECATED
45
+ G_DEPRECATED_FOR(pango_font_map_create_context)
45
46
  PangoContext * pango_win32_get_context (void);
46
47
  #endif
47
48
 
@@ -72,6 +73,7 @@ void pango_win32_render_transformed (HDC hdc,
72
73
  */
73
74
 
74
75
  #ifndef PANGO_DISABLE_DEPRECATED
76
+ G_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH)
75
77
  PangoGlyph pango_win32_get_unknown_glyph (PangoFont *font,
76
78
  gunichar wc);
77
79
  #endif /* PANGO_DISABLE_DEPRECATED */