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.
- data/Rakefile +12 -1
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +14 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/pango.pc +5 -4
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
- data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
- data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
- data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
- data/vendor/local/share/man/man1/pango-view.1 +4 -4
- metadata +43 -50
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +0 -397
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.def +0 -34
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.def +0 -85
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +0 -30
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
- data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
- data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
- data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Miscellaneous Utilities</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="pango-Modules.html" title="Modules">
|
10
10
|
<link rel="next" href="pango-Version-Checking.html" title="Version Checking">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -39,42 +39,43 @@
|
|
39
39
|
<a name="pango-Miscellaneous-Utilities.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis"><span class="returnvalue">char</span> ** <a class="link" href="pango-Miscellaneous-Utilities.html#pango-split-file-list" title="pango_split_file_list ()">pango_split_file_list</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
|
41
41
|
<span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-trim-string" title="pango_trim_string ()">pango_trim_string</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
|
42
|
-
<
|
43
|
-
<em class="parameter"><code><
|
44
|
-
<
|
45
|
-
<
|
46
|
-
<em class="parameter"><code><
|
47
|
-
<
|
48
|
-
<em class="parameter"><code><
|
49
|
-
<
|
42
|
+
<span class="returnvalue">gint</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-read-line" title="pango_read_line ()">pango_read_line</a> (<em class="parameter"><code><span class="type">FILE</span> *stream</code></em>,
|
43
|
+
<em class="parameter"><code><span class="type">GString</span> *str</code></em>);
|
44
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-skip-space" title="pango_skip_space ()">pango_skip_space</a> (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>);
|
45
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-scan-word" title="pango_scan_word ()">pango_scan_word</a> (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
46
|
+
<em class="parameter"><code><span class="type">GString</span> *out</code></em>);
|
47
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-scan-string" title="pango_scan_string ()">pango_scan_string</a> (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
48
|
+
<em class="parameter"><code><span class="type">GString</span> *out</code></em>);
|
49
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-scan-int" title="pango_scan_int ()">pango_scan_int</a> (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
50
50
|
<em class="parameter"><code><span class="type">int</span> *out</code></em>);
|
51
51
|
<span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-config-key-get" title="pango_config_key_get ()">pango_config_key_get</a> (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);
|
52
|
+
<span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-config-key-get-system" title="pango_config_key_get_system ()">pango_config_key_get_system</a> (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);
|
52
53
|
<span class="returnvalue">void</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-lookup-aliases" title="pango_lookup_aliases ()">pango_lookup_aliases</a> (<em class="parameter"><code>const <span class="type">char</span> *fontname</code></em>,
|
53
54
|
<em class="parameter"><code><span class="type">char</span> ***families</code></em>,
|
54
55
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);
|
55
|
-
<
|
56
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-enum" title="pango_parse_enum ()">pango_parse_enum</a> (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
|
56
57
|
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
57
58
|
<em class="parameter"><code><span class="type">int</span> *value</code></em>,
|
58
|
-
<em class="parameter"><code><
|
59
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>,
|
59
60
|
<em class="parameter"><code><span class="type">char</span> **possible_values</code></em>);
|
60
|
-
<
|
61
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-style" title="pango_parse_style ()">pango_parse_style</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
61
62
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> *style</code></em>,
|
62
|
-
<em class="parameter"><code><
|
63
|
-
<
|
63
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);
|
64
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-variant" title="pango_parse_variant ()">pango_parse_variant</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
64
65
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> *variant</code></em>,
|
65
|
-
<em class="parameter"><code><
|
66
|
-
<
|
66
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);
|
67
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-weight" title="pango_parse_weight ()">pango_parse_weight</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
67
68
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> *weight</code></em>,
|
68
|
-
<em class="parameter"><code><
|
69
|
-
<
|
69
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);
|
70
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-stretch" title="pango_parse_stretch ()">pango_parse_stretch</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
70
71
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> *stretch</code></em>,
|
71
|
-
<em class="parameter"><code><
|
72
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);
|
72
73
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-get-sysconf-subdirectory" title="pango_get_sysconf_subdirectory ()">pango_get_sysconf_subdirectory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
73
74
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-get-lib-subdirectory" title="pango_get_lib_subdirectory ()">pango_get_lib_subdirectory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
74
|
-
<
|
75
|
+
<span class="returnvalue">guint8</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-log2vis-get-embedding-levels" title="pango_log2vis_get_embedding_levels ()">pango_log2vis_get_embedding_levels</a> (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
75
76
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
76
77
|
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> *pbase_dir</code></em>);
|
77
|
-
<
|
78
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-is-zero-width" title="pango_is_zero_width ()">pango_is_zero_width</a> (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);
|
78
79
|
<span class="returnvalue">void</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-quantize-line-geometry" title="pango_quantize_line_geometry ()">pango_quantize_line_geometry</a> (<em class="parameter"><code><span class="type">int</span> *thickness</code></em>,
|
79
80
|
<em class="parameter"><code><span class="type">int</span> *position</code></em>);
|
80
81
|
</pre>
|
@@ -92,20 +93,23 @@ backends and modules, but may be useful for other purposes too.
|
|
92
93
|
<a name="pango-split-file-list"></a><h3>pango_split_file_list ()</h3>
|
93
94
|
<pre class="programlisting"><span class="returnvalue">char</span> ** pango_split_file_list (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
94
95
|
<p>
|
95
|
-
Splits a <
|
96
|
+
Splits a <code class="literal">G_SEARCHPATH_SEPARATOR</code>-separated list of files, stripping
|
96
97
|
white space and substituting ~/ with $HOME/.
|
97
98
|
</p>
|
98
|
-
<div class="variablelist"><table border="0">
|
99
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
100
|
+
<colgroup>
|
99
101
|
<col align="left" valign="top">
|
102
|
+
<col>
|
103
|
+
</colgroup>
|
100
104
|
<tbody>
|
101
105
|
<tr>
|
102
106
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
103
|
-
<td>a <
|
107
|
+
<td>a <code class="literal">G_SEARCHPATH_SEPARATOR</code> separated list of filenames</td>
|
104
108
|
</tr>
|
105
109
|
<tr>
|
106
110
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
107
111
|
<td>a list of
|
108
|
-
strings to be freed with <
|
112
|
+
strings to be freed with <code class="function">g_strfreev()</code>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
|
109
113
|
</td>
|
110
114
|
</tr>
|
111
115
|
</tbody>
|
@@ -118,8 +122,11 @@ strings to be freed with <a href="http://library.gnome.org/devel/glib/unstable/g
|
|
118
122
|
<p>
|
119
123
|
Trims leading and trailing whitespace from a string.
|
120
124
|
</p>
|
121
|
-
<div class="variablelist"><table border="0">
|
125
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
126
|
+
<colgroup>
|
122
127
|
<col align="left" valign="top">
|
128
|
+
<col>
|
129
|
+
</colgroup>
|
123
130
|
<tbody>
|
124
131
|
<tr>
|
125
132
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
@@ -127,7 +134,7 @@ Trims leading and trailing whitespace from a string.
|
|
127
134
|
</tr>
|
128
135
|
<tr>
|
129
136
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
130
|
-
<td>A newly-allocated string that must be freed with <
|
137
|
+
<td>A newly-allocated string that must be freed with <code class="function">g_free()</code>
|
131
138
|
</td>
|
132
139
|
</tr>
|
133
140
|
</tbody>
|
@@ -136,8 +143,8 @@ Trims leading and trailing whitespace from a string.
|
|
136
143
|
<hr>
|
137
144
|
<div class="refsect2">
|
138
145
|
<a name="pango-read-line"></a><h3>pango_read_line ()</h3>
|
139
|
-
<pre class="programlisting"><
|
140
|
-
<em class="parameter"><code><
|
146
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> pango_read_line (<em class="parameter"><code><span class="type">FILE</span> *stream</code></em>,
|
147
|
+
<em class="parameter"><code><span class="type">GString</span> *str</code></em>);</pre>
|
141
148
|
<p>
|
142
149
|
Reads an entire line from a file into a buffer. Lines may
|
143
150
|
be delimited with '\n', '\r', '\n\r', or '\r\n'. The delimiter
|
@@ -147,8 +154,11 @@ a comment and skipped. '\' can be used to escape a # character.
|
|
147
154
|
any other character is ignored and written into the output buffer
|
148
155
|
unmodified.
|
149
156
|
</p>
|
150
|
-
<div class="variablelist"><table border="0">
|
157
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
158
|
+
<colgroup>
|
151
159
|
<col align="left" valign="top">
|
160
|
+
<col>
|
161
|
+
</colgroup>
|
152
162
|
<tbody>
|
153
163
|
<tr>
|
154
164
|
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
|
@@ -157,7 +167,7 @@ unmodified.
|
|
157
167
|
<tr>
|
158
168
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
159
169
|
<td>
|
160
|
-
<
|
170
|
+
<span class="type">GString</span> buffer into which to write the result. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
161
171
|
</td>
|
162
172
|
</tr>
|
163
173
|
<tr>
|
@@ -172,22 +182,25 @@ a line number counter which doesn't combine lines with '\')</td>
|
|
172
182
|
<hr>
|
173
183
|
<div class="refsect2">
|
174
184
|
<a name="pango-skip-space"></a><h3>pango_skip_space ()</h3>
|
175
|
-
<pre class="programlisting"><
|
185
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_skip_space (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>);</pre>
|
176
186
|
<p>
|
177
187
|
Skips 0 or more characters of white space.
|
178
188
|
</p>
|
179
|
-
<div class="variablelist"><table border="0">
|
189
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
190
|
+
<colgroup>
|
180
191
|
<col align="left" valign="top">
|
192
|
+
<col>
|
193
|
+
</colgroup>
|
181
194
|
<tbody>
|
182
195
|
<tr>
|
183
196
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
184
|
-
<td>in/out string position. <span class="annotation">[<
|
197
|
+
<td>in/out string position. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
185
198
|
</td>
|
186
199
|
</tr>
|
187
200
|
<tr>
|
188
201
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
189
202
|
<td>
|
190
|
-
<
|
203
|
+
<code class="literal">FALSE</code> if skipping the white space leaves
|
191
204
|
the position at a '\0' character.</td>
|
192
205
|
</tr>
|
193
206
|
</tbody>
|
@@ -196,30 +209,33 @@ the position at a '\0' character.</td>
|
|
196
209
|
<hr>
|
197
210
|
<div class="refsect2">
|
198
211
|
<a name="pango-scan-word"></a><h3>pango_scan_word ()</h3>
|
199
|
-
<pre class="programlisting"><
|
200
|
-
<em class="parameter"><code><
|
212
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_scan_word (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
213
|
+
<em class="parameter"><code><span class="type">GString</span> *out</code></em>);</pre>
|
201
214
|
<p>
|
202
|
-
Scans a word into a <
|
215
|
+
Scans a word into a <span class="type">GString</span> buffer. A word consists
|
203
216
|
of [A-Za-z_] followed by zero or more [A-Za-z_0-9]
|
204
217
|
Leading white space is skipped.
|
205
218
|
</p>
|
206
|
-
<div class="variablelist"><table border="0">
|
219
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
220
|
+
<colgroup>
|
207
221
|
<col align="left" valign="top">
|
222
|
+
<col>
|
223
|
+
</colgroup>
|
208
224
|
<tbody>
|
209
225
|
<tr>
|
210
226
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
211
|
-
<td>in/out string position. <span class="annotation">[<
|
227
|
+
<td>in/out string position. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
212
228
|
</td>
|
213
229
|
</tr>
|
214
230
|
<tr>
|
215
231
|
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
|
216
|
-
<td>a <
|
232
|
+
<td>a <span class="type">GString</span> into which to write the result. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
217
233
|
</td>
|
218
234
|
</tr>
|
219
235
|
<tr>
|
220
236
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
221
237
|
<td>
|
222
|
-
<
|
238
|
+
<code class="literal">FALSE</code> if a parse error occurred.</td>
|
223
239
|
</tr>
|
224
240
|
</tbody>
|
225
241
|
</table></div>
|
@@ -227,31 +243,34 @@ Leading white space is skipped.
|
|
227
243
|
<hr>
|
228
244
|
<div class="refsect2">
|
229
245
|
<a name="pango-scan-string"></a><h3>pango_scan_string ()</h3>
|
230
|
-
<pre class="programlisting"><
|
231
|
-
<em class="parameter"><code><
|
246
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_scan_string (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
247
|
+
<em class="parameter"><code><span class="type">GString</span> *out</code></em>);</pre>
|
232
248
|
<p>
|
233
|
-
Scans a string into a <
|
249
|
+
Scans a string into a <span class="type">GString</span> buffer. The string may either
|
234
250
|
be a sequence of non-white-space characters, or a quoted
|
235
251
|
string with '"'. Instead a quoted string, '\"' represents
|
236
252
|
a literal quote. Leading white space outside of quotes is skipped.
|
237
253
|
</p>
|
238
|
-
<div class="variablelist"><table border="0">
|
254
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
255
|
+
<colgroup>
|
239
256
|
<col align="left" valign="top">
|
257
|
+
<col>
|
258
|
+
</colgroup>
|
240
259
|
<tbody>
|
241
260
|
<tr>
|
242
261
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
243
|
-
<td>in/out string position. <span class="annotation">[<
|
262
|
+
<td>in/out string position. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
244
263
|
</td>
|
245
264
|
</tr>
|
246
265
|
<tr>
|
247
266
|
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
|
248
|
-
<td>a <
|
267
|
+
<td>a <span class="type">GString</span> into which to write the result. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
249
268
|
</td>
|
250
269
|
</tr>
|
251
270
|
<tr>
|
252
271
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
253
272
|
<td>
|
254
|
-
<
|
273
|
+
<code class="literal">FALSE</code> if a parse error occurred.</td>
|
255
274
|
</tr>
|
256
275
|
</tbody>
|
257
276
|
</table></div>
|
@@ -259,29 +278,32 @@ a literal quote. Leading white space outside of quotes is skipped.
|
|
259
278
|
<hr>
|
260
279
|
<div class="refsect2">
|
261
280
|
<a name="pango-scan-int"></a><h3>pango_scan_int ()</h3>
|
262
|
-
<pre class="programlisting"><
|
281
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_scan_int (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
263
282
|
<em class="parameter"><code><span class="type">int</span> *out</code></em>);</pre>
|
264
283
|
<p>
|
265
284
|
Scans an integer.
|
266
285
|
Leading white space is skipped.
|
267
286
|
</p>
|
268
|
-
<div class="variablelist"><table border="0">
|
287
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
288
|
+
<colgroup>
|
269
289
|
<col align="left" valign="top">
|
290
|
+
<col>
|
291
|
+
</colgroup>
|
270
292
|
<tbody>
|
271
293
|
<tr>
|
272
294
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
273
|
-
<td>in/out string position. <span class="annotation">[<
|
295
|
+
<td>in/out string position. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
274
296
|
</td>
|
275
297
|
</tr>
|
276
298
|
<tr>
|
277
299
|
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
|
278
|
-
<td>an int into which to write the result. <span class="annotation">[<
|
300
|
+
<td>an int into which to write the result. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
279
301
|
</td>
|
280
302
|
</tr>
|
281
303
|
<tr>
|
282
304
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
283
305
|
<td>
|
284
|
-
<
|
306
|
+
<code class="literal">FALSE</code> if a parse error occurred.</td>
|
285
307
|
</tr>
|
286
308
|
</tbody>
|
287
309
|
</table></div>
|
@@ -293,10 +315,13 @@ Leading white space is skipped.
|
|
293
315
|
<p>
|
294
316
|
Looks up a key in the Pango config database
|
295
317
|
(pseudo-win.ini style, read from $sysconfdir/pango/pangorc,
|
296
|
-
|
318
|
+
$XDG_CONFIG_HOME/pango/pangorc, and getenv (PANGO_RC_FILE).)
|
297
319
|
</p>
|
298
|
-
<div class="variablelist"><table border="0">
|
320
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
321
|
+
<colgroup>
|
299
322
|
<col align="left" valign="top">
|
323
|
+
<col>
|
324
|
+
</colgroup>
|
300
325
|
<tbody>
|
301
326
|
<tr>
|
302
327
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
@@ -304,8 +329,34 @@ Looks up a key in the Pango config database
|
|
304
329
|
</tr>
|
305
330
|
<tr>
|
306
331
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
307
|
-
<td>the value, if found, otherwise <a href="/
|
308
|
-
newly-allocated string and must be freed with <
|
332
|
+
<td>the value, if found, otherwise <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The value is a
|
333
|
+
newly-allocated string and must be freed with <code class="function">g_free()</code>.</td>
|
334
|
+
</tr>
|
335
|
+
</tbody>
|
336
|
+
</table></div>
|
337
|
+
</div>
|
338
|
+
<hr>
|
339
|
+
<div class="refsect2">
|
340
|
+
<a name="pango-config-key-get-system"></a><h3>pango_config_key_get_system ()</h3>
|
341
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * pango_config_key_get_system (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre>
|
342
|
+
<p>
|
343
|
+
Looks up a key, consulting only the Pango system config database
|
344
|
+
in $sysconfdir/pango/pangorc.
|
345
|
+
</p>
|
346
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
347
|
+
<colgroup>
|
348
|
+
<col align="left" valign="top">
|
349
|
+
<col>
|
350
|
+
</colgroup>
|
351
|
+
<tbody>
|
352
|
+
<tr>
|
353
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
354
|
+
<td>Key to look up, in the form "SECTION/KEY".</td>
|
355
|
+
</tr>
|
356
|
+
<tr>
|
357
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
358
|
+
<td>the value, if found, otherwise <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The value is a
|
359
|
+
newly-allocated string and must be freed with <code class="function">g_free()</code>.</td>
|
309
360
|
</tr>
|
310
361
|
</tbody>
|
311
362
|
</table></div>
|
@@ -316,13 +367,20 @@ newly-allocated string and must be freed with <a href="http://library.gnome.org/
|
|
316
367
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_lookup_aliases (<em class="parameter"><code>const <span class="type">char</span> *fontname</code></em>,
|
317
368
|
<em class="parameter"><code><span class="type">char</span> ***families</code></em>,
|
318
369
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
370
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
371
|
+
<h3 class="title">Warning</h3>
|
372
|
+
<p><code class="literal">pango_lookup_aliases</code> has been deprecated since version 1.32 and should not be used in newly-written code. This function is not thread-safe.</p>
|
373
|
+
</div>
|
319
374
|
<p>
|
320
375
|
Look up all user defined aliases for the alias <em class="parameter"><code>fontname</code></em>.
|
321
376
|
The resulting font family names will be stored in <em class="parameter"><code>families</code></em>,
|
322
377
|
and the number of families in <em class="parameter"><code>n_families</code></em>.
|
323
378
|
</p>
|
324
|
-
<div class="variablelist"><table border="0">
|
379
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
380
|
+
<colgroup>
|
325
381
|
<col align="left" valign="top">
|
382
|
+
<col>
|
383
|
+
</colgroup>
|
326
384
|
<tbody>
|
327
385
|
<tr>
|
328
386
|
<td><p><span class="term"><em class="parameter"><code>fontname</code></em> :</span></p></td>
|
@@ -331,12 +389,12 @@ and the number of families in <em class="parameter"><code>n_families</code></em>
|
|
331
389
|
<tr>
|
332
390
|
<td><p><span class="term"><em class="parameter"><code>families</code></em> :</span></p></td>
|
333
391
|
<td>will be set to an array of font family names.
|
334
|
-
this array is owned by pango and should not be freed. <span class="annotation">[<
|
392
|
+
this array is owned by pango and should not be freed. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_families]</span>
|
335
393
|
</td>
|
336
394
|
</tr>
|
337
395
|
<tr>
|
338
396
|
<td><p><span class="term"><em class="parameter"><code>n_families</code></em> :</span></p></td>
|
339
|
-
<td>will be set to the length of the <em class="parameter"><code>families</code></em> array. <span class="annotation">[<
|
397
|
+
<td>will be set to the length of the <em class="parameter"><code>families</code></em> array. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
340
398
|
</td>
|
341
399
|
</tr>
|
342
400
|
</tbody>
|
@@ -345,25 +403,28 @@ this array is owned by pango and should not be freed. <span class="annotation">[
|
|
345
403
|
<hr>
|
346
404
|
<div class="refsect2">
|
347
405
|
<a name="pango-parse-enum"></a><h3>pango_parse_enum ()</h3>
|
348
|
-
<pre class="programlisting"><
|
406
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_enum (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
|
349
407
|
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
350
408
|
<em class="parameter"><code><span class="type">int</span> *value</code></em>,
|
351
|
-
<em class="parameter"><code><
|
409
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>,
|
352
410
|
<em class="parameter"><code><span class="type">char</span> **possible_values</code></em>);</pre>
|
353
411
|
<p>
|
354
412
|
Parses an enum type and stores the result in <em class="parameter"><code>value</code></em>.
|
355
413
|
</p>
|
356
414
|
<p>
|
357
415
|
If <em class="parameter"><code>str</code></em> does not match the nick name of any of the possible values for the
|
358
|
-
enum and is not an integer, <
|
359
|
-
if <em class="parameter"><code>warn</code></em> is <
|
416
|
+
enum and is not an integer, <code class="literal">FALSE</code> is returned, a warning is issued
|
417
|
+
if <em class="parameter"><code>warn</code></em> is <code class="literal">TRUE</code>, and a
|
360
418
|
string representing the list of possible values is stored in
|
361
419
|
<em class="parameter"><code>possible_values</code></em>. The list is slash-separated, eg.
|
362
|
-
"none/start/middle/end". If failed and <em class="parameter"><code>possible_values</code></em> is not <a href="/
|
363
|
-
returned string should be freed using <
|
420
|
+
"none/start/middle/end". If failed and <em class="parameter"><code>possible_values</code></em> is not <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>,
|
421
|
+
returned string should be freed using <code class="function">g_free()</code>.
|
364
422
|
</p>
|
365
|
-
<div class="variablelist"><table border="0">
|
423
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
424
|
+
<colgroup>
|
366
425
|
<col align="left" valign="top">
|
426
|
+
<col>
|
427
|
+
</colgroup>
|
367
428
|
<tbody>
|
368
429
|
<tr>
|
369
430
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
@@ -371,27 +432,27 @@ returned string should be freed using <a href="http://library.gnome.org/devel/gl
|
|
371
432
|
</tr>
|
372
433
|
<tr>
|
373
434
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
374
|
-
<td>string to parse. May be <a href="/
|
435
|
+
<td>string to parse. May be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
375
436
|
</td>
|
376
437
|
</tr>
|
377
438
|
<tr>
|
378
439
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
379
|
-
<td>integer to store the result in, or <a href="/
|
440
|
+
<td>integer to store the result in, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
380
441
|
</td>
|
381
442
|
</tr>
|
382
443
|
<tr>
|
383
444
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
384
|
-
<td>if <
|
445
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.</td>
|
385
446
|
</tr>
|
386
447
|
<tr>
|
387
448
|
<td><p><span class="term"><em class="parameter"><code>possible_values</code></em> :</span></p></td>
|
388
|
-
<td>place to store list of possible values on failure, or <a href="/
|
449
|
+
<td>place to store list of possible values on failure, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
389
450
|
</td>
|
390
451
|
</tr>
|
391
452
|
<tr>
|
392
453
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
393
454
|
<td>
|
394
|
-
<
|
455
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.</td>
|
395
456
|
</tr>
|
396
457
|
</tbody>
|
397
458
|
</table></div>
|
@@ -400,16 +461,19 @@ returned string should be freed using <a href="http://library.gnome.org/devel/gl
|
|
400
461
|
<hr>
|
401
462
|
<div class="refsect2">
|
402
463
|
<a name="pango-parse-style"></a><h3>pango_parse_style ()</h3>
|
403
|
-
<pre class="programlisting"><
|
464
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_style (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
404
465
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> *style</code></em>,
|
405
|
-
<em class="parameter"><code><
|
466
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);</pre>
|
406
467
|
<p>
|
407
468
|
Parses a font style. The allowed values are "normal",
|
408
469
|
"italic" and "oblique", case variations being
|
409
470
|
ignored.
|
410
471
|
</p>
|
411
|
-
<div class="variablelist"><table border="0">
|
472
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
473
|
+
<colgroup>
|
412
474
|
<col align="left" valign="top">
|
475
|
+
<col>
|
476
|
+
</colgroup>
|
413
477
|
<tbody>
|
414
478
|
<tr>
|
415
479
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
@@ -417,16 +481,18 @@ ignored.
|
|
417
481
|
</tr>
|
418
482
|
<tr>
|
419
483
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
420
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> to store the result
|
484
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> to store the result
|
485
|
+
in. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
486
|
+
</td>
|
421
487
|
</tr>
|
422
488
|
<tr>
|
423
489
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
424
|
-
<td>if <
|
490
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.</td>
|
425
491
|
</tr>
|
426
492
|
<tr>
|
427
493
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
428
494
|
<td>
|
429
|
-
<
|
495
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.</td>
|
430
496
|
</tr>
|
431
497
|
</tbody>
|
432
498
|
</table></div>
|
@@ -434,16 +500,19 @@ ignored.
|
|
434
500
|
<hr>
|
435
501
|
<div class="refsect2">
|
436
502
|
<a name="pango-parse-variant"></a><h3>pango_parse_variant ()</h3>
|
437
|
-
<pre class="programlisting"><
|
503
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_variant (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
438
504
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> *variant</code></em>,
|
439
|
-
<em class="parameter"><code><
|
505
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);</pre>
|
440
506
|
<p>
|
441
507
|
Parses a font variant. The allowed values are "normal"
|
442
508
|
and "smallcaps" or "small_caps", case variations being
|
443
509
|
ignored.
|
444
510
|
</p>
|
445
|
-
<div class="variablelist"><table border="0">
|
511
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
512
|
+
<colgroup>
|
446
513
|
<col align="left" valign="top">
|
514
|
+
<col>
|
515
|
+
</colgroup>
|
447
516
|
<tbody>
|
448
517
|
<tr>
|
449
518
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
@@ -451,16 +520,18 @@ ignored.
|
|
451
520
|
</tr>
|
452
521
|
<tr>
|
453
522
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
454
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> to store the
|
523
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> to store the
|
524
|
+
result in. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
525
|
+
</td>
|
455
526
|
</tr>
|
456
527
|
<tr>
|
457
528
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
458
|
-
<td>if <
|
529
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.</td>
|
459
530
|
</tr>
|
460
531
|
<tr>
|
461
532
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
462
533
|
<td>
|
463
|
-
<
|
534
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.</td>
|
464
535
|
</tr>
|
465
536
|
</tbody>
|
466
537
|
</table></div>
|
@@ -468,16 +539,19 @@ ignored.
|
|
468
539
|
<hr>
|
469
540
|
<div class="refsect2">
|
470
541
|
<a name="pango-parse-weight"></a><h3>pango_parse_weight ()</h3>
|
471
|
-
<pre class="programlisting"><
|
542
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_weight (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
472
543
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> *weight</code></em>,
|
473
|
-
<em class="parameter"><code><
|
544
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);</pre>
|
474
545
|
<p>
|
475
546
|
Parses a font weight. The allowed values are "heavy",
|
476
547
|
"ultrabold", "bold", "normal", "light", "ultraleight"
|
477
548
|
and integers. Case variations are ignored.
|
478
549
|
</p>
|
479
|
-
<div class="variablelist"><table border="0">
|
550
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
551
|
+
<colgroup>
|
480
552
|
<col align="left" valign="top">
|
553
|
+
<col>
|
554
|
+
</colgroup>
|
481
555
|
<tbody>
|
482
556
|
<tr>
|
483
557
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
@@ -485,16 +559,18 @@ and integers. Case variations are ignored.
|
|
485
559
|
</tr>
|
486
560
|
<tr>
|
487
561
|
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
488
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> to store the result
|
562
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> to store the result
|
563
|
+
in. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
564
|
+
</td>
|
489
565
|
</tr>
|
490
566
|
<tr>
|
491
567
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
492
|
-
<td>if <
|
568
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.</td>
|
493
569
|
</tr>
|
494
570
|
<tr>
|
495
571
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
496
572
|
<td>
|
497
|
-
<
|
573
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.</td>
|
498
574
|
</tr>
|
499
575
|
</tbody>
|
500
576
|
</table></div>
|
@@ -502,9 +578,9 @@ and integers. Case variations are ignored.
|
|
502
578
|
<hr>
|
503
579
|
<div class="refsect2">
|
504
580
|
<a name="pango-parse-stretch"></a><h3>pango_parse_stretch ()</h3>
|
505
|
-
<pre class="programlisting"><
|
581
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_stretch (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
506
582
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> *stretch</code></em>,
|
507
|
-
<em class="parameter"><code><
|
583
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);</pre>
|
508
584
|
<p>
|
509
585
|
Parses a font stretch. The allowed values are
|
510
586
|
"ultra_condensed", "extra_condensed", "condensed",
|
@@ -512,8 +588,11 @@ Parses a font stretch. The allowed values are
|
|
512
588
|
"extra_expanded" and "ultra_expanded". Case variations are
|
513
589
|
ignored and the '_' characters may be omitted.
|
514
590
|
</p>
|
515
|
-
<div class="variablelist"><table border="0">
|
591
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
592
|
+
<colgroup>
|
516
593
|
<col align="left" valign="top">
|
594
|
+
<col>
|
595
|
+
</colgroup>
|
517
596
|
<tbody>
|
518
597
|
<tr>
|
519
598
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
@@ -521,16 +600,18 @@ ignored and the '_' characters may be omitted.
|
|
521
600
|
</tr>
|
522
601
|
<tr>
|
523
602
|
<td><p><span class="term"><em class="parameter"><code>stretch</code></em> :</span></p></td>
|
524
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> to store the
|
603
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> to store the
|
604
|
+
result in. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
605
|
+
</td>
|
525
606
|
</tr>
|
526
607
|
<tr>
|
527
608
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
528
|
-
<td>if <
|
609
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.</td>
|
529
610
|
</tr>
|
530
611
|
<tr>
|
531
612
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
532
613
|
<td>
|
533
|
-
<
|
614
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.</td>
|
534
615
|
</tr>
|
535
616
|
</tbody>
|
536
617
|
</table></div>
|
@@ -545,8 +626,11 @@ On Unix, returns the name of the "pango" subdirectory of SYSCONFDIR
|
|
545
626
|
subdirectory of the Pango installation directory (which is deduced
|
546
627
|
at run time from the DLL's location).
|
547
628
|
</p>
|
548
|
-
<div class="variablelist"><table border="0">
|
629
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
630
|
+
<colgroup>
|
549
631
|
<col align="left" valign="top">
|
632
|
+
<col>
|
633
|
+
</colgroup>
|
550
634
|
<tbody><tr>
|
551
635
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
552
636
|
<td>the Pango sysconf directory. The returned string should
|
@@ -564,8 +648,11 @@ On Unix, returns the name of the "pango" subdirectory of LIBDIR
|
|
564
648
|
subdirectory of the Pango installation directory (which is deduced
|
565
649
|
at run time from the DLL's location).
|
566
650
|
</p>
|
567
|
-
<div class="variablelist"><table border="0">
|
651
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
652
|
+
<colgroup>
|
568
653
|
<col align="left" valign="top">
|
654
|
+
<col>
|
655
|
+
</colgroup>
|
569
656
|
<tbody><tr>
|
570
657
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
571
658
|
<td>the Pango lib directory. The returned string should
|
@@ -576,7 +663,7 @@ not be freed.</td>
|
|
576
663
|
<hr>
|
577
664
|
<div class="refsect2">
|
578
665
|
<a name="pango-log2vis-get-embedding-levels"></a><h3>pango_log2vis_get_embedding_levels ()</h3>
|
579
|
-
<pre class="programlisting"><
|
666
|
+
<pre class="programlisting"><span class="returnvalue">guint8</span> * pango_log2vis_get_embedding_levels (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
580
667
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
581
668
|
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> *pbase_dir</code></em>);</pre>
|
582
669
|
<p>
|
@@ -590,8 +677,11 @@ as defined by the Unicode Bidirectional Algorithm available at:
|
|
590
677
|
If the input base direction is a weak direction, the direction of the
|
591
678
|
characters in the text will determine the final resolved direction.
|
592
679
|
</p>
|
593
|
-
<div class="variablelist"><table border="0">
|
680
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
681
|
+
<colgroup>
|
594
682
|
<col align="left" valign="top">
|
683
|
+
<col>
|
684
|
+
</colgroup>
|
595
685
|
<tbody>
|
596
686
|
<tr>
|
597
687
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
@@ -618,16 +708,19 @@ character (not byte), that should be freed using g_free.</td>
|
|
618
708
|
<hr>
|
619
709
|
<div class="refsect2">
|
620
710
|
<a name="pango-is-zero-width"></a><h3>pango_is_zero_width ()</h3>
|
621
|
-
<pre class="programlisting"><
|
711
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_is_zero_width (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);</pre>
|
622
712
|
<p>
|
623
713
|
Checks <em class="parameter"><code>ch</code></em> to see if it is a character that should not be
|
624
714
|
normally rendered on the screen. This includes all Unicode characters
|
625
715
|
with "ZERO WIDTH" in their name, as well as <em class="firstterm">bidi</em> formatting characters, and
|
626
|
-
a few other ones. This is totally different from <
|
716
|
+
a few other ones. This is totally different from <code class="function">g_unichar_iszerowidth()</code>
|
627
717
|
and is at best misnamed.
|
628
718
|
</p>
|
629
|
-
<div class="variablelist"><table border="0">
|
719
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
720
|
+
<colgroup>
|
630
721
|
<col align="left" valign="top">
|
722
|
+
<col>
|
723
|
+
</colgroup>
|
631
724
|
<tbody>
|
632
725
|
<tr>
|
633
726
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
@@ -636,7 +729,7 @@ and is at best misnamed.
|
|
636
729
|
<tr>
|
637
730
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
638
731
|
<td>
|
639
|
-
<
|
732
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>ch</code></em> is a zero-width character, <code class="literal">FALSE</code> otherwise</td>
|
640
733
|
</tr>
|
641
734
|
</tbody>
|
642
735
|
</table></div>
|
@@ -658,17 +751,20 @@ Care is taken to make sure <em class="parameter"><code>thickness</code></em> is
|
|
658
751
|
function returns, but returned <em class="parameter"><code>position</code></em> may become zero as a result
|
659
752
|
of rounding.
|
660
753
|
</p>
|
661
|
-
<div class="variablelist"><table border="0">
|
754
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
755
|
+
<colgroup>
|
662
756
|
<col align="left" valign="top">
|
757
|
+
<col>
|
758
|
+
</colgroup>
|
663
759
|
<tbody>
|
664
760
|
<tr>
|
665
761
|
<td><p><span class="term"><em class="parameter"><code>thickness</code></em> :</span></p></td>
|
666
|
-
<td>pointer to the thickness of a line, in Pango units. <span class="annotation">[<
|
762
|
+
<td>pointer to the thickness of a line, in Pango units. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
667
763
|
</td>
|
668
764
|
</tr>
|
669
765
|
<tr>
|
670
766
|
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
671
|
-
<td>corresponding position. <span class="annotation">[<
|
767
|
+
<td>corresponding position. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
672
768
|
</td>
|
673
769
|
</tr>
|
674
770
|
</tbody>
|
@@ -679,6 +775,6 @@ of rounding.
|
|
679
775
|
</div>
|
680
776
|
<div class="footer">
|
681
777
|
<hr>
|
682
|
-
Generated by GTK-Doc V1.18</div>
|
778
|
+
Generated by GTK-Doc V1.18.1</div>
|
683
779
|
</body>
|
684
780
|
</html>
|