rsvg2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +13 -2
- data/ext/rsvg2/extconf.rb +8 -0
- data/lib/1.8/rsvg2.so +0 -0
- data/lib/1.9/rsvg2.so +0 -0
- data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgsf-1-114.dll +0 -0
- data/vendor/local/bin/libgsf-gnome-1-114.dll +0 -0
- data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +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/libpangoft2-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/bin/pkg-config.exe +0 -0
- data/vendor/local/etc/gconf/schemas/gsf-office-thumbnailer.schemas +4073 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-bonobo.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h +53 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-bonobo.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h +49 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h +47 -0
- data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +66 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +67 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +47 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +44 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +69 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input.h +65 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +194 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +54 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +92 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +106 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +74 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +38 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +51 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output.h +98 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +52 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +64 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +331 -0
- data/vendor/local/include/libgsf-1/gsf/gsf.h +104 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pixman-1/pixman-version.h +50 -0
- data/vendor/local/include/pixman-1/pixman.h +936 -0
- data/vendor/local/lib/cairo.lib +0 -0
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgsf-1.dll.a +0 -0
- data/vendor/local/lib/libgsf-gnome-1.dll.a +0 -0
- data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/libgsf-gnome-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
- data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
- data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
- data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
- data/vendor/local/manifest/libgsf-dev_1.14.17-1_win32.mft +57 -0
- data/vendor/local/manifest/libgsf-gnome-dev_1.14.17-1_win32.mft +9 -0
- data/vendor/local/manifest/libgsf-gnome_1.14.17-1_win32.mft +3 -0
- data/vendor/local/manifest/libgsf_1.14.17-1_win32.mft +18 -0
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/pkg.m4 +155 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING +33 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-LGPL-2.1 +510 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-MPL-1.1 +470 -0
- data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.log +1263 -0
- data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.sh +84 -0
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
- data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.log +1616 -0
- data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.sh +73 -0
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
- metadata +3053 -2947
- data/ext/rsvg2/Makefile +0 -155
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
- data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,29 +8,8 @@
|
|
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.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="pango.html" title="Basic Pango Interfaces">
|
14
|
-
<link rel="chapter" href="rendering.html" title="Rendering with Pango">
|
15
|
-
<link rel="chapter" href="lowlevel.html" title="Low Level Functionality">
|
16
|
-
<link rel="chapter" href="tools.html" title="Pango Tools">
|
17
|
-
<link rel="chapter" href="pango-hierarchy.html" title="Object Hierarchy">
|
18
|
-
<link rel="index" href="index-all.html" title="Index">
|
19
|
-
<link rel="index" href="index-deprecated.html" title="Index of deprecated symbols">
|
20
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
21
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
22
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
23
|
-
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
24
|
-
<link rel="index" href="index-1.10.html" title="Index of new symbols in 1.10">
|
25
|
-
<link rel="index" href="index-1.12.html" title="Index of new symbols in 1.12">
|
26
|
-
<link rel="index" href="index-1.14.html" title="Index of new symbols in 1.14">
|
27
|
-
<link rel="index" href="index-1.16.html" title="Index of new symbols in 1.16">
|
28
|
-
<link rel="index" href="index-1.18.html" title="Index of new symbols in 1.18">
|
29
|
-
<link rel="index" href="index-1.20.html" title="Index of new symbols in 1.20">
|
30
|
-
<link rel="index" href="index-1.22.html" title="Index of new symbols in 1.22">
|
31
|
-
<link rel="index" href="index-1.24.html" title="Index of new symbols in 1.24">
|
32
|
-
<link rel="index" href="index-1.26.html" title="Index of new symbols in 1.26">
|
33
|
-
<link rel="index" href="index-1.28.html" title="Index of new symbols in 1.26">
|
34
13
|
</head>
|
35
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
36
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-Miscellaneous-Utilities.description" class="shortcut">Description</a>
|
48
27
|
</td></tr>
|
49
28
|
</table>
|
50
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
51
30
|
<a name="pango-Miscellaneous-Utilities"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,108 +35,110 @@
|
|
56
35
|
</td>
|
57
36
|
<td valign="top" align="right"></td>
|
58
37
|
</tr></table></div>
|
59
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
60
39
|
<a name="pango-Miscellaneous-Utilities.synopsis"></a><h2>Synopsis</h2>
|
61
|
-
<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> (const <span class="
|
62
|
-
<span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-trim-string" title="pango_trim_string ()">pango_trim_string</a> (const <span class="
|
63
|
-
<
|
64
|
-
<
|
65
|
-
<
|
66
|
-
<
|
67
|
-
<
|
68
|
-
<
|
69
|
-
<
|
70
|
-
<
|
71
|
-
<span class="
|
72
|
-
<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> (const <span class="
|
73
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-lookup-aliases" title="pango_lookup_aliases ()">pango_lookup_aliases</a> (const <span class="
|
74
|
-
<span class="
|
75
|
-
<span class="
|
76
|
-
<
|
77
|
-
const <span class="
|
78
|
-
<span class="
|
79
|
-
<
|
80
|
-
<span class="
|
81
|
-
<
|
82
|
-
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="
|
83
|
-
<
|
84
|
-
<
|
85
|
-
<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="
|
86
|
-
<
|
87
|
-
<
|
88
|
-
<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="
|
89
|
-
<
|
90
|
-
<
|
91
|
-
<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="
|
92
|
-
<
|
93
|
-
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> (void);
|
94
|
-
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> (void);
|
95
|
-
<
|
96
|
-
<span class="
|
97
|
-
<a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="
|
98
|
-
<
|
99
|
-
<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> (<span class="
|
100
|
-
<span class="
|
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
|
+
<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
|
+
<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
|
+
<em class="parameter"><code><span class="type">int</span> *out</code></em>);
|
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">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
|
+
<em class="parameter"><code><span class="type">char</span> ***families</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);
|
55
|
+
<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
|
+
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
57
|
+
<em class="parameter"><code><span class="type">int</span> *value</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">char</span> **possible_values</code></em>);
|
60
|
+
<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
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> *style</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);
|
63
|
+
<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
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> *variant</code></em>,
|
65
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);
|
66
|
+
<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
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> *weight</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);
|
69
|
+
<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
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> *stretch</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);
|
72
|
+
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
|
+
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
|
+
<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
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> *pbase_dir</code></em>);
|
77
|
+
<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
|
+
<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
|
+
<em class="parameter"><code><span class="type">int</span> *position</code></em>);
|
101
80
|
</pre>
|
102
81
|
</div>
|
103
|
-
<div class="refsect1"
|
82
|
+
<div class="refsect1">
|
104
83
|
<a name="pango-Miscellaneous-Utilities.description"></a><h2>Description</h2>
|
105
84
|
<p>
|
106
85
|
The functions and utilities in this section are mostly used from Pango
|
107
86
|
backends and modules, but may be useful for other purposes too.
|
108
87
|
</p>
|
109
88
|
</div>
|
110
|
-
<div class="refsect1"
|
89
|
+
<div class="refsect1">
|
111
90
|
<a name="pango-Miscellaneous-Utilities.details"></a><h2>Details</h2>
|
112
|
-
<div class="refsect2"
|
91
|
+
<div class="refsect2">
|
113
92
|
<a name="pango-split-file-list"></a><h3>pango_split_file_list ()</h3>
|
114
|
-
<pre class="programlisting"><span class="returnvalue">char</span> ** pango_split_file_list (const <span class="
|
93
|
+
<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>
|
115
94
|
<p>
|
116
|
-
Splits a <
|
117
|
-
white space and substituting ~/ with $HOME
|
95
|
+
Splits a <code class="literal">G_SEARCHPATH_SEPARATOR</code>-separated list of files, stripping
|
96
|
+
white space and substituting ~/ with $HOME/.
|
97
|
+
</p>
|
118
98
|
<div class="variablelist"><table border="0">
|
119
99
|
<col align="left" valign="top">
|
120
100
|
<tbody>
|
121
101
|
<tr>
|
122
102
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
123
|
-
<td>
|
103
|
+
<td>a <code class="literal">G_SEARCHPATH_SEPARATOR</code> separated list of filenames
|
124
104
|
</td>
|
125
105
|
</tr>
|
126
106
|
<tr>
|
127
107
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
128
|
-
<td> a list of strings to be freed with <
|
108
|
+
<td> a list of strings to be freed with <code class="function">g_strfreev()</code>
|
129
109
|
</td>
|
130
110
|
</tr>
|
131
111
|
</tbody>
|
132
112
|
</table></div>
|
133
113
|
</div>
|
134
114
|
<hr>
|
135
|
-
<div class="refsect2"
|
115
|
+
<div class="refsect2">
|
136
116
|
<a name="pango-trim-string"></a><h3>pango_trim_string ()</h3>
|
137
|
-
<pre class="programlisting"><span class="returnvalue">char</span> * pango_trim_string (const <span class="
|
117
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * pango_trim_string (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
138
118
|
<p>
|
139
|
-
Trims leading and trailing whitespace from a string
|
119
|
+
Trims leading and trailing whitespace from a string.
|
120
|
+
</p>
|
140
121
|
<div class="variablelist"><table border="0">
|
141
122
|
<col align="left" valign="top">
|
142
123
|
<tbody>
|
143
124
|
<tr>
|
144
125
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
145
|
-
<td>
|
126
|
+
<td>a string
|
146
127
|
</td>
|
147
128
|
</tr>
|
148
129
|
<tr>
|
149
130
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
150
|
-
<td> A newly-allocated string that must be freed with <
|
131
|
+
<td> A newly-allocated string that must be freed with <code class="function">g_free()</code>
|
151
132
|
</td>
|
152
133
|
</tr>
|
153
134
|
</tbody>
|
154
135
|
</table></div>
|
155
136
|
</div>
|
156
137
|
<hr>
|
157
|
-
<div class="refsect2"
|
138
|
+
<div class="refsect2">
|
158
139
|
<a name="pango-read-line"></a><h3>pango_read_line ()</h3>
|
159
|
-
<pre class="programlisting"><
|
160
|
-
<
|
140
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> pango_read_line (<em class="parameter"><code><span class="type">FILE</span> *stream</code></em>,
|
141
|
+
<em class="parameter"><code><span class="type">GString</span> *str</code></em>);</pre>
|
161
142
|
<p>
|
162
143
|
Reads an entire line from a file into a buffer. Lines may
|
163
144
|
be delimited with '\n', '\r', '\n\r', or '\r\n'. The delimiter
|
@@ -165,18 +146,20 @@ is not written into the buffer. Text after a '#' character is treated as
|
|
165
146
|
a comment and skipped. '\' can be used to escape a # character.
|
166
147
|
'\' proceeding a line delimiter combines adjacent lines. A '\' proceeding
|
167
148
|
any other character is ignored and written into the output buffer
|
168
|
-
unmodified
|
149
|
+
unmodified.
|
150
|
+
</p>
|
169
151
|
<div class="variablelist"><table border="0">
|
170
152
|
<col align="left" valign="top">
|
171
153
|
<tbody>
|
172
154
|
<tr>
|
173
155
|
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
|
174
|
-
<td>
|
156
|
+
<td>a stdio stream
|
175
157
|
</td>
|
176
158
|
</tr>
|
177
159
|
<tr>
|
178
160
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
179
|
-
<td>
|
161
|
+
<td>
|
162
|
+
<span class="type">GString</span> buffer into which to write the result
|
180
163
|
</td>
|
181
164
|
</tr>
|
182
165
|
<tr>
|
@@ -190,22 +173,23 @@ unmodified.</p>
|
|
190
173
|
</table></div>
|
191
174
|
</div>
|
192
175
|
<hr>
|
193
|
-
<div class="refsect2"
|
176
|
+
<div class="refsect2">
|
194
177
|
<a name="pango-skip-space"></a><h3>pango_skip_space ()</h3>
|
195
|
-
<pre class="programlisting"><
|
178
|
+
<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>
|
196
179
|
<p>
|
197
|
-
Skips 0 or more characters of white space
|
180
|
+
Skips 0 or more characters of white space.
|
181
|
+
</p>
|
198
182
|
<div class="variablelist"><table border="0">
|
199
183
|
<col align="left" valign="top">
|
200
184
|
<tbody>
|
201
185
|
<tr>
|
202
186
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
203
|
-
<td>
|
187
|
+
<td>in/out string position
|
204
188
|
</td>
|
205
189
|
</tr>
|
206
190
|
<tr>
|
207
191
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
208
|
-
<td> <
|
192
|
+
<td> <code class="literal">FALSE</code> if skipping the white space leaves
|
209
193
|
the position at a '\0' character.
|
210
194
|
</td>
|
211
195
|
</tr>
|
@@ -213,202 +197,208 @@ the position at a '\0' character.
|
|
213
197
|
</table></div>
|
214
198
|
</div>
|
215
199
|
<hr>
|
216
|
-
<div class="refsect2"
|
200
|
+
<div class="refsect2">
|
217
201
|
<a name="pango-scan-word"></a><h3>pango_scan_word ()</h3>
|
218
|
-
<pre class="programlisting"><
|
219
|
-
<
|
202
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_scan_word (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
203
|
+
<em class="parameter"><code><span class="type">GString</span> *out</code></em>);</pre>
|
220
204
|
<p>
|
221
|
-
Scans a word into a <
|
205
|
+
Scans a word into a <span class="type">GString</span> buffer. A word consists
|
222
206
|
of [A-Za-z_] followed by zero or more [A-Za-z_0-9]
|
223
|
-
Leading white space is skipped
|
207
|
+
Leading white space is skipped.
|
208
|
+
</p>
|
224
209
|
<div class="variablelist"><table border="0">
|
225
210
|
<col align="left" valign="top">
|
226
211
|
<tbody>
|
227
212
|
<tr>
|
228
213
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
229
|
-
<td>
|
214
|
+
<td>in/out string position
|
230
215
|
</td>
|
231
216
|
</tr>
|
232
217
|
<tr>
|
233
218
|
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
|
234
|
-
<td>
|
219
|
+
<td>a <span class="type">GString</span> into which to write the result
|
235
220
|
</td>
|
236
221
|
</tr>
|
237
222
|
<tr>
|
238
223
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
239
|
-
<td> <
|
224
|
+
<td> <code class="literal">FALSE</code> if a parse error occurred.
|
240
225
|
</td>
|
241
226
|
</tr>
|
242
227
|
</tbody>
|
243
228
|
</table></div>
|
244
229
|
</div>
|
245
230
|
<hr>
|
246
|
-
<div class="refsect2"
|
231
|
+
<div class="refsect2">
|
247
232
|
<a name="pango-scan-string"></a><h3>pango_scan_string ()</h3>
|
248
|
-
<pre class="programlisting"><
|
249
|
-
<
|
233
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_scan_string (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
234
|
+
<em class="parameter"><code><span class="type">GString</span> *out</code></em>);</pre>
|
250
235
|
<p>
|
251
|
-
Scans a string into a <
|
236
|
+
Scans a string into a <span class="type">GString</span> buffer. The string may either
|
252
237
|
be a sequence of non-white-space characters, or a quoted
|
253
238
|
string with '"'. Instead a quoted string, '\"' represents
|
254
|
-
a literal quote. Leading white space outside of quotes is skipped
|
239
|
+
a literal quote. Leading white space outside of quotes is skipped.
|
240
|
+
</p>
|
255
241
|
<div class="variablelist"><table border="0">
|
256
242
|
<col align="left" valign="top">
|
257
243
|
<tbody>
|
258
244
|
<tr>
|
259
245
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
260
|
-
<td>
|
246
|
+
<td>in/out string position
|
261
247
|
</td>
|
262
248
|
</tr>
|
263
249
|
<tr>
|
264
250
|
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
|
265
|
-
<td>
|
251
|
+
<td>a <span class="type">GString</span> into which to write the result
|
266
252
|
</td>
|
267
253
|
</tr>
|
268
254
|
<tr>
|
269
255
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
270
|
-
<td> <
|
256
|
+
<td> <code class="literal">FALSE</code> if a parse error occurred.
|
271
257
|
</td>
|
272
258
|
</tr>
|
273
259
|
</tbody>
|
274
260
|
</table></div>
|
275
261
|
</div>
|
276
262
|
<hr>
|
277
|
-
<div class="refsect2"
|
263
|
+
<div class="refsect2">
|
278
264
|
<a name="pango-scan-int"></a><h3>pango_scan_int ()</h3>
|
279
|
-
<pre class="programlisting"><
|
280
|
-
<span class="
|
265
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_scan_int (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
266
|
+
<em class="parameter"><code><span class="type">int</span> *out</code></em>);</pre>
|
281
267
|
<p>
|
282
268
|
Scans an integer.
|
283
|
-
Leading white space is skipped
|
269
|
+
Leading white space is skipped.
|
270
|
+
</p>
|
284
271
|
<div class="variablelist"><table border="0">
|
285
272
|
<col align="left" valign="top">
|
286
273
|
<tbody>
|
287
274
|
<tr>
|
288
275
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
289
|
-
<td>
|
276
|
+
<td>in/out string position
|
290
277
|
</td>
|
291
278
|
</tr>
|
292
279
|
<tr>
|
293
280
|
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
|
294
|
-
<td>
|
281
|
+
<td>an int into which to write the result
|
295
282
|
</td>
|
296
283
|
</tr>
|
297
284
|
<tr>
|
298
285
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
299
|
-
<td> <
|
286
|
+
<td> <code class="literal">FALSE</code> if a parse error occurred.
|
300
287
|
</td>
|
301
288
|
</tr>
|
302
289
|
</tbody>
|
303
290
|
</table></div>
|
304
291
|
</div>
|
305
292
|
<hr>
|
306
|
-
<div class="refsect2"
|
293
|
+
<div class="refsect2">
|
307
294
|
<a name="pango-config-key-get"></a><h3>pango_config_key_get ()</h3>
|
308
|
-
<pre class="programlisting"><span class="returnvalue">char</span> * pango_config_key_get (const <span class="
|
295
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * pango_config_key_get (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre>
|
309
296
|
<p>
|
310
297
|
Looks up a key in the Pango config database
|
311
298
|
(pseudo-win.ini style, read from $sysconfdir/pango/pangorc,
|
312
|
-
~/.pangorc, and getenv (PANGO_RC_FILE).)
|
299
|
+
~/.pangorc, and getenv (PANGO_RC_FILE).)
|
300
|
+
</p>
|
313
301
|
<div class="variablelist"><table border="0">
|
314
302
|
<col align="left" valign="top">
|
315
303
|
<tbody>
|
316
304
|
<tr>
|
317
305
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
318
|
-
<td>
|
306
|
+
<td>Key to look up, in the form "SECTION/KEY".
|
319
307
|
</td>
|
320
308
|
</tr>
|
321
309
|
<tr>
|
322
310
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
323
|
-
<td> the value, if found, otherwise <a href="/usr/share/gtk-doc/html/
|
324
|
-
newly-allocated string and must be freed with <
|
311
|
+
<td> the value, if found, otherwise <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The value is a
|
312
|
+
newly-allocated string and must be freed with <code class="function">g_free()</code>.
|
325
313
|
</td>
|
326
314
|
</tr>
|
327
315
|
</tbody>
|
328
316
|
</table></div>
|
329
317
|
</div>
|
330
318
|
<hr>
|
331
|
-
<div class="refsect2"
|
319
|
+
<div class="refsect2">
|
332
320
|
<a name="pango-lookup-aliases"></a><h3>pango_lookup_aliases ()</h3>
|
333
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_lookup_aliases (const <span class="
|
334
|
-
<span class="
|
335
|
-
<span class="
|
321
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_lookup_aliases (<em class="parameter"><code>const <span class="type">char</span> *fontname</code></em>,
|
322
|
+
<em class="parameter"><code><span class="type">char</span> ***families</code></em>,
|
323
|
+
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
336
324
|
<p>
|
337
325
|
Look up all user defined aliases for the alias <em class="parameter"><code>fontname</code></em>.
|
338
326
|
The resulting font family names will be stored in <em class="parameter"><code>families</code></em>,
|
339
|
-
and the number of families in <em class="parameter"><code>n_families</code></em
|
327
|
+
and the number of families in <em class="parameter"><code>n_families</code></em>.
|
328
|
+
</p>
|
340
329
|
<div class="variablelist"><table border="0">
|
341
330
|
<col align="left" valign="top">
|
342
331
|
<tbody>
|
343
332
|
<tr>
|
344
333
|
<td><p><span class="term"><em class="parameter"><code>fontname</code></em> :</span></p></td>
|
345
|
-
<td>
|
334
|
+
<td>an ascii string
|
346
335
|
</td>
|
347
336
|
</tr>
|
348
337
|
<tr>
|
349
338
|
<td><p><span class="term"><em class="parameter"><code>families</code></em> :</span></p></td>
|
350
|
-
<td>
|
339
|
+
<td>will be set to an array of font family names.
|
351
340
|
this array is owned by pango and should not be freed.
|
352
341
|
</td>
|
353
342
|
</tr>
|
354
343
|
<tr>
|
355
344
|
<td><p><span class="term"><em class="parameter"><code>n_families</code></em> :</span></p></td>
|
356
|
-
<td>
|
345
|
+
<td>will be set to the length of the <em class="parameter"><code>families</code></em> array.
|
357
346
|
</td>
|
358
347
|
</tr>
|
359
348
|
</tbody>
|
360
349
|
</table></div>
|
361
350
|
</div>
|
362
351
|
<hr>
|
363
|
-
<div class="refsect2"
|
352
|
+
<div class="refsect2">
|
364
353
|
<a name="pango-parse-enum"></a><h3>pango_parse_enum ()</h3>
|
365
|
-
<pre class="programlisting"><
|
366
|
-
const <span class="
|
367
|
-
<span class="
|
368
|
-
<
|
369
|
-
<span class="
|
354
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_enum (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
|
355
|
+
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
356
|
+
<em class="parameter"><code><span class="type">int</span> *value</code></em>,
|
357
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>,
|
358
|
+
<em class="parameter"><code><span class="type">char</span> **possible_values</code></em>);</pre>
|
370
359
|
<p>
|
371
360
|
Parses an enum type and stores the result in <em class="parameter"><code>value</code></em>.
|
372
361
|
</p>
|
373
362
|
<p>
|
374
363
|
If <em class="parameter"><code>str</code></em> does not match the nick name of any of the possible values for the
|
375
|
-
enum and is not an integer, <
|
376
|
-
if <em class="parameter"><code>warn</code></em> is <
|
364
|
+
enum and is not an integer, <code class="literal">FALSE</code> is returned, a warning is issued
|
365
|
+
if <em class="parameter"><code>warn</code></em> is <code class="literal">TRUE</code>, and a
|
377
366
|
string representing the list of possible values is stored in
|
378
367
|
<em class="parameter"><code>possible_values</code></em>. The list is slash-separated, eg.
|
379
|
-
"none/start/middle/end". If failed and <em class="parameter"><code>possible_values</code></em> is not <a href="/usr/share/gtk-doc/html/
|
380
|
-
returned string should be freed using <
|
368
|
+
"none/start/middle/end". If failed and <em class="parameter"><code>possible_values</code></em> is not <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>,
|
369
|
+
returned string should be freed using <code class="function">g_free()</code>.
|
370
|
+
</p>
|
381
371
|
<div class="variablelist"><table border="0">
|
382
372
|
<col align="left" valign="top">
|
383
373
|
<tbody>
|
384
374
|
<tr>
|
385
375
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
386
|
-
<td>
|
376
|
+
<td>enum type to parse, eg. <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ELLIPSIZE-MODE:CAPS" title="PANGO_TYPE_ELLIPSIZE_MODE"><code class="literal">PANGO_TYPE_ELLIPSIZE_MODE</code></a>.
|
387
377
|
</td>
|
388
378
|
</tr>
|
389
379
|
<tr>
|
390
380
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
391
|
-
<td>
|
381
|
+
<td>string to parse. May be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
392
382
|
</td>
|
393
383
|
</tr>
|
394
384
|
<tr>
|
395
385
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
396
|
-
<td>
|
386
|
+
<td>integer to store the result in, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
397
387
|
</td>
|
398
388
|
</tr>
|
399
389
|
<tr>
|
400
390
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
401
|
-
<td>
|
391
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.
|
402
392
|
</td>
|
403
393
|
</tr>
|
404
394
|
<tr>
|
405
395
|
<td><p><span class="term"><em class="parameter"><code>possible_values</code></em> :</span></p></td>
|
406
|
-
<td>
|
396
|
+
<td>place to store list of possible values on failure, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
407
397
|
</td>
|
408
398
|
</tr>
|
409
399
|
<tr>
|
410
400
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
411
|
-
<td> <
|
401
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.
|
412
402
|
|
413
403
|
</td>
|
414
404
|
</tr>
|
@@ -417,160 +407,165 @@ returned string should be freed using <a href="/usr/share/gtk-doc/html/glib/glib
|
|
417
407
|
<p class="since">Since 1.16</p>
|
418
408
|
</div>
|
419
409
|
<hr>
|
420
|
-
<div class="refsect2"
|
410
|
+
<div class="refsect2">
|
421
411
|
<a name="pango-parse-style"></a><h3>pango_parse_style ()</h3>
|
422
|
-
<pre class="programlisting"><
|
423
|
-
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="
|
424
|
-
<
|
412
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_style (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
413
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> *style</code></em>,
|
414
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);</pre>
|
425
415
|
<p>
|
426
416
|
Parses a font style. The allowed values are "normal",
|
427
417
|
"italic" and "oblique", case variations being
|
428
|
-
ignored
|
418
|
+
ignored.
|
419
|
+
</p>
|
429
420
|
<div class="variablelist"><table border="0">
|
430
421
|
<col align="left" valign="top">
|
431
422
|
<tbody>
|
432
423
|
<tr>
|
433
424
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
434
|
-
<td>
|
425
|
+
<td>a string to parse.
|
435
426
|
</td>
|
436
427
|
</tr>
|
437
428
|
<tr>
|
438
429
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
439
|
-
<td>
|
430
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> to store the result in.
|
440
431
|
</td>
|
441
432
|
</tr>
|
442
433
|
<tr>
|
443
434
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
444
|
-
<td>
|
435
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.
|
445
436
|
</td>
|
446
437
|
</tr>
|
447
438
|
<tr>
|
448
439
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
449
|
-
<td> <
|
440
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.
|
450
441
|
</td>
|
451
442
|
</tr>
|
452
443
|
</tbody>
|
453
444
|
</table></div>
|
454
445
|
</div>
|
455
446
|
<hr>
|
456
|
-
<div class="refsect2"
|
447
|
+
<div class="refsect2">
|
457
448
|
<a name="pango-parse-variant"></a><h3>pango_parse_variant ()</h3>
|
458
|
-
<pre class="programlisting"><
|
459
|
-
<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="
|
460
|
-
<
|
449
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_variant (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
450
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> *variant</code></em>,
|
451
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);</pre>
|
461
452
|
<p>
|
462
453
|
Parses a font variant. The allowed values are "normal"
|
463
454
|
and "smallcaps" or "small_caps", case variations being
|
464
|
-
ignored
|
455
|
+
ignored.
|
456
|
+
</p>
|
465
457
|
<div class="variablelist"><table border="0">
|
466
458
|
<col align="left" valign="top">
|
467
459
|
<tbody>
|
468
460
|
<tr>
|
469
461
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
470
|
-
<td>
|
462
|
+
<td>a string to parse.
|
471
463
|
</td>
|
472
464
|
</tr>
|
473
465
|
<tr>
|
474
466
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
475
|
-
<td>
|
467
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> to store the result in.
|
476
468
|
</td>
|
477
469
|
</tr>
|
478
470
|
<tr>
|
479
471
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
480
|
-
<td>
|
472
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.
|
481
473
|
</td>
|
482
474
|
</tr>
|
483
475
|
<tr>
|
484
476
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
485
|
-
<td> <
|
477
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.
|
486
478
|
</td>
|
487
479
|
</tr>
|
488
480
|
</tbody>
|
489
481
|
</table></div>
|
490
482
|
</div>
|
491
483
|
<hr>
|
492
|
-
<div class="refsect2"
|
484
|
+
<div class="refsect2">
|
493
485
|
<a name="pango-parse-weight"></a><h3>pango_parse_weight ()</h3>
|
494
|
-
<pre class="programlisting"><
|
495
|
-
<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="
|
496
|
-
<
|
486
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_weight (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
487
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> *weight</code></em>,
|
488
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);</pre>
|
497
489
|
<p>
|
498
490
|
Parses a font weight. The allowed values are "heavy",
|
499
491
|
"ultrabold", "bold", "normal", "light", "ultraleight"
|
500
|
-
and integers. Case variations are ignored
|
492
|
+
and integers. Case variations are ignored.
|
493
|
+
</p>
|
501
494
|
<div class="variablelist"><table border="0">
|
502
495
|
<col align="left" valign="top">
|
503
496
|
<tbody>
|
504
497
|
<tr>
|
505
498
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
506
|
-
<td>
|
499
|
+
<td>a string to parse.
|
507
500
|
</td>
|
508
501
|
</tr>
|
509
502
|
<tr>
|
510
503
|
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
511
|
-
<td>
|
504
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> to store the result in.
|
512
505
|
</td>
|
513
506
|
</tr>
|
514
507
|
<tr>
|
515
508
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
516
|
-
<td>
|
509
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.
|
517
510
|
</td>
|
518
511
|
</tr>
|
519
512
|
<tr>
|
520
513
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
521
|
-
<td> <
|
514
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.
|
522
515
|
</td>
|
523
516
|
</tr>
|
524
517
|
</tbody>
|
525
518
|
</table></div>
|
526
519
|
</div>
|
527
520
|
<hr>
|
528
|
-
<div class="refsect2"
|
521
|
+
<div class="refsect2">
|
529
522
|
<a name="pango-parse-stretch"></a><h3>pango_parse_stretch ()</h3>
|
530
|
-
<pre class="programlisting"><
|
531
|
-
<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="
|
532
|
-
<
|
523
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_parse_stretch (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
524
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> *stretch</code></em>,
|
525
|
+
<em class="parameter"><code><span class="type">gboolean</span> warn</code></em>);</pre>
|
533
526
|
<p>
|
534
527
|
Parses a font stretch. The allowed values are
|
535
528
|
"ultra_condensed", "extra_condensed", "condensed",
|
536
529
|
"semi_condensed", "normal", "semi_expanded", "expanded",
|
537
530
|
"extra_expanded" and "ultra_expanded". Case variations are
|
538
|
-
ignored and the '_' characters may be omitted
|
531
|
+
ignored and the '_' characters may be omitted.
|
532
|
+
</p>
|
539
533
|
<div class="variablelist"><table border="0">
|
540
534
|
<col align="left" valign="top">
|
541
535
|
<tbody>
|
542
536
|
<tr>
|
543
537
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
544
|
-
<td>
|
538
|
+
<td>a string to parse.
|
545
539
|
</td>
|
546
540
|
</tr>
|
547
541
|
<tr>
|
548
542
|
<td><p><span class="term"><em class="parameter"><code>stretch</code></em> :</span></p></td>
|
549
|
-
<td>
|
543
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> to store the result in.
|
550
544
|
</td>
|
551
545
|
</tr>
|
552
546
|
<tr>
|
553
547
|
<td><p><span class="term"><em class="parameter"><code>warn</code></em> :</span></p></td>
|
554
|
-
<td>
|
548
|
+
<td>if <code class="literal">TRUE</code>, issue a <code class="function">g_warning()</code> on bad input.
|
555
549
|
</td>
|
556
550
|
</tr>
|
557
551
|
<tr>
|
558
552
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
559
|
-
<td> <
|
553
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em> was successfully parsed.
|
560
554
|
</td>
|
561
555
|
</tr>
|
562
556
|
</tbody>
|
563
557
|
</table></div>
|
564
558
|
</div>
|
565
559
|
<hr>
|
566
|
-
<div class="refsect2"
|
560
|
+
<div class="refsect2">
|
567
561
|
<a name="pango-get-sysconf-subdirectory"></a><h3>pango_get_sysconf_subdirectory ()</h3>
|
568
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_get_sysconf_subdirectory (void);</pre>
|
562
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_get_sysconf_subdirectory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
569
563
|
<p>
|
570
564
|
On Unix, returns the name of the "pango" subdirectory of SYSCONFDIR
|
571
565
|
(which is set at compile time). On Windows, returns the etc\pango
|
572
566
|
subdirectory of the Pango installation directory (which is deduced
|
573
|
-
at run time from the DLL's location)
|
567
|
+
at run time from the DLL's location).
|
568
|
+
</p>
|
574
569
|
<div class="variablelist"><table border="0">
|
575
570
|
<col align="left" valign="top">
|
576
571
|
<tbody><tr>
|
@@ -582,14 +577,15 @@ not be freed.
|
|
582
577
|
</table></div>
|
583
578
|
</div>
|
584
579
|
<hr>
|
585
|
-
<div class="refsect2"
|
580
|
+
<div class="refsect2">
|
586
581
|
<a name="pango-get-lib-subdirectory"></a><h3>pango_get_lib_subdirectory ()</h3>
|
587
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_get_lib_subdirectory (void);</pre>
|
582
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_get_lib_subdirectory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
588
583
|
<p>
|
589
584
|
On Unix, returns the name of the "pango" subdirectory of LIBDIR
|
590
585
|
(which is set at compile time). On Windows, returns the lib\pango
|
591
586
|
subdirectory of the Pango installation directory (which is deduced
|
592
|
-
at run time from the DLL's location)
|
587
|
+
at run time from the DLL's location).
|
588
|
+
</p>
|
593
589
|
<div class="variablelist"><table border="0">
|
594
590
|
<col align="left" valign="top">
|
595
591
|
<tbody><tr>
|
@@ -601,11 +597,11 @@ not be freed.
|
|
601
597
|
</table></div>
|
602
598
|
</div>
|
603
599
|
<hr>
|
604
|
-
<div class="refsect2"
|
600
|
+
<div class="refsect2">
|
605
601
|
<a name="pango-log2vis-get-embedding-levels"></a><h3>pango_log2vis_get_embedding_levels ()</h3>
|
606
|
-
<pre class="programlisting"><
|
607
|
-
<span class="
|
608
|
-
<a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="
|
602
|
+
<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>,
|
603
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
604
|
+
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> *pbase_dir</code></em>);</pre>
|
609
605
|
<p>
|
610
606
|
This will return the bidirectional embedding levels of the input paragraph
|
611
607
|
as defined by the Unicode Bidirectional Algorithm available at:
|
@@ -615,24 +611,25 @@ as defined by the Unicode Bidirectional Algorithm available at:
|
|
615
611
|
</p>
|
616
612
|
<p>
|
617
613
|
If the input base direction is a weak direction, the direction of the
|
618
|
-
characters in the text will determine the final resolved direction
|
614
|
+
characters in the text will determine the final resolved direction.
|
615
|
+
</p>
|
619
616
|
<div class="variablelist"><table border="0">
|
620
617
|
<col align="left" valign="top">
|
621
618
|
<tbody>
|
622
619
|
<tr>
|
623
620
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
624
|
-
<td>
|
621
|
+
<td>the text to itemize.
|
625
622
|
</td>
|
626
623
|
</tr>
|
627
624
|
<tr>
|
628
625
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
629
|
-
<td>
|
626
|
+
<td>the number of bytes (not characters) to process, or -1
|
630
627
|
if <em class="parameter"><code>text</code></em> is nul-terminated and the length should be calculated.
|
631
628
|
</td>
|
632
629
|
</tr>
|
633
630
|
<tr>
|
634
631
|
<td><p><span class="term"><em class="parameter"><code>pbase_dir</code></em> :</span></p></td>
|
635
|
-
<td>
|
632
|
+
<td>input base direction, and output resolved direction.
|
636
633
|
</td>
|
637
634
|
</tr>
|
638
635
|
<tr>
|
@@ -647,26 +644,27 @@ characters in the text will determine the final resolved direction.</p>
|
|
647
644
|
<p class="since">Since 1.4</p>
|
648
645
|
</div>
|
649
646
|
<hr>
|
650
|
-
<div class="refsect2"
|
647
|
+
<div class="refsect2">
|
651
648
|
<a name="pango-is-zero-width"></a><h3>pango_is_zero_width ()</h3>
|
652
|
-
<pre class="programlisting"><
|
649
|
+
<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>
|
653
650
|
<p>
|
654
651
|
Checks <em class="parameter"><code>ch</code></em> to see if it is a character that should not be
|
655
652
|
normally rendered on the screen. This includes all Unicode characters
|
656
653
|
with "ZERO WIDTH" in their name, as well as <em class="firstterm">bidi</em> formatting characters, and
|
657
|
-
a few other ones. This is totally different from <
|
658
|
-
and is at best misnamed
|
654
|
+
a few other ones. This is totally different from <code class="function">g_unichar_iszerowidth()</code>
|
655
|
+
and is at best misnamed.
|
656
|
+
</p>
|
659
657
|
<div class="variablelist"><table border="0">
|
660
658
|
<col align="left" valign="top">
|
661
659
|
<tbody>
|
662
660
|
<tr>
|
663
661
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
664
|
-
<td>
|
662
|
+
<td>a Unicode character
|
665
663
|
</td>
|
666
664
|
</tr>
|
667
665
|
<tr>
|
668
666
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
669
|
-
<td> <
|
667
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>ch</code></em> is a zero-width character, <code class="literal">FALSE</code> otherwise
|
670
668
|
|
671
669
|
</td>
|
672
670
|
</tr>
|
@@ -675,10 +673,10 @@ and is at best misnamed.</p>
|
|
675
673
|
<p class="since">Since 1.10</p>
|
676
674
|
</div>
|
677
675
|
<hr>
|
678
|
-
<div class="refsect2"
|
676
|
+
<div class="refsect2">
|
679
677
|
<a name="pango-quantize-line-geometry"></a><h3>pango_quantize_line_geometry ()</h3>
|
680
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_quantize_line_geometry (<span class="
|
681
|
-
<span class="
|
678
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_quantize_line_geometry (<em class="parameter"><code><span class="type">int</span> *thickness</code></em>,
|
679
|
+
<em class="parameter"><code><span class="type">int</span> *position</code></em>);</pre>
|
682
680
|
<p>
|
683
681
|
Quantizes the thickness and position of a line, typically an
|
684
682
|
underline or strikethrough, to whole device pixels, that is integer
|
@@ -688,18 +686,19 @@ such lines looking blurry.
|
|
688
686
|
<p>
|
689
687
|
Care is taken to make sure <em class="parameter"><code>thickness</code></em> is at least one pixel when this
|
690
688
|
function returns, but returned <em class="parameter"><code>position</code></em> may become zero as a result
|
691
|
-
of rounding
|
689
|
+
of rounding.
|
690
|
+
</p>
|
692
691
|
<div class="variablelist"><table border="0">
|
693
692
|
<col align="left" valign="top">
|
694
693
|
<tbody>
|
695
694
|
<tr>
|
696
695
|
<td><p><span class="term"><em class="parameter"><code>thickness</code></em> :</span></p></td>
|
697
|
-
<td>
|
696
|
+
<td>pointer to the thickness of a line, in Pango units
|
698
697
|
</td>
|
699
698
|
</tr>
|
700
699
|
<tr>
|
701
700
|
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
702
|
-
<td>
|
701
|
+
<td>corresponding position
|
703
702
|
</td>
|
704
703
|
</tr>
|
705
704
|
</tbody>
|
@@ -710,6 +709,6 @@ of rounding.</p>
|
|
710
709
|
</div>
|
711
710
|
<div class="footer">
|
712
711
|
<hr>
|
713
|
-
Generated by GTK-Doc V1.
|
712
|
+
Generated by GTK-Doc V1.15.1</div>
|
714
713
|
</body>
|
715
714
|
</html>
|