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="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Glyph-Storage.html" title="Glyph Storage">
|
10
10
|
<link rel="next" href="pango-Text-Attributes.html" title="Text Attributes">
|
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">
|
@@ -51,7 +30,7 @@
|
|
51
30
|
<a href="#pango-Fonts.derived-interfaces" class="shortcut">Known Derived Interfaces</a>
|
52
31
|
</td></tr>
|
53
32
|
</table>
|
54
|
-
<div class="refentry"
|
33
|
+
<div class="refentry">
|
55
34
|
<a name="pango-Fonts"></a><div class="titlepage"></div>
|
56
35
|
<div class="refnamediv"><table width="100%"><tr>
|
57
36
|
<td valign="top">
|
@@ -60,7 +39,7 @@
|
|
60
39
|
</td>
|
61
40
|
<td valign="top" align="right"></td>
|
62
41
|
</tr></table></div>
|
63
|
-
<div class="refsynopsisdiv"
|
42
|
+
<div class="refsynopsisdiv">
|
64
43
|
<a name="pango-Fonts.synopsis"></a><h2>Synopsis</h2>
|
65
44
|
<a name="PangoFont"></a><a name="PangoFontFamily"></a><a name="PangoFontFace"></a><a name="PangoFontMap"></a><a name="PangoFontset"></a><a name="PangoFontsetSimple"></a><pre class="synopsis"> <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription">PangoFontDescription</a>;
|
66
45
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-DESCRIPTION:CAPS" title="PANGO_TYPE_FONT_DESCRIPTION">PANGO_TYPE_FONT_DESCRIPTION</a>
|
@@ -74,197 +53,198 @@ enum <a class="link" href="pango-Fonts.html#PangoStretch" title="
|
|
74
53
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-STRETCH:CAPS" title="PANGO_TYPE_STRETCH">PANGO_TYPE_STRETCH</a>
|
75
54
|
enum <a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask">PangoFontMask</a>;
|
76
55
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MASK:CAPS" title="PANGO_TYPE_FONT_MASK">PANGO_TYPE_FONT_MASK</a>
|
77
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-new" title="pango_font_description_new ()">pango_font_description_new</a> (void);
|
78
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-copy" title="pango_font_description_copy ()">pango_font_description_copy</a> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
56
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-new" title="pango_font_description_new ()">pango_font_description_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
57
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-copy" title="pango_font_description_copy ()">pango_font_description_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
79
58
|
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-copy-static" title="pango_font_description_copy_static ()">pango_font_description_copy_static</a>
|
80
|
-
(const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
81
|
-
<
|
82
|
-
<
|
83
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
84
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()">pango_font_description_free</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
85
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-descriptions-free" title="pango_font_descriptions_free ()">pango_font_descriptions_free</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
86
|
-
<span class="
|
87
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()">pango_font_description_set_family</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
88
|
-
const <span class="
|
59
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
60
|
+
<span class="returnvalue">guint</span> <a class="link" href="pango-Fonts.html#pango-font-description-hash" title="pango_font_description_hash ()">pango_font_description_hash</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
61
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-equal" title="pango_font_description_equal ()">pango_font_description_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc1</code></em>,
|
62
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc2</code></em>);
|
63
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()">pango_font_description_free</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-descriptions-free" title="pango_font_descriptions_free ()">pango_font_descriptions_free</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> **descs</code></em>,
|
65
|
+
<em class="parameter"><code><span class="type">int</span> n_descs</code></em>);
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()">pango_font_description_set_family</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
67
|
+
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);
|
89
68
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-family-static" title="pango_font_description_set_family_static ()">pango_font_description_set_family_static</a>
|
90
|
-
(<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
91
|
-
const <span class="
|
92
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-description-get-family" title="pango_font_description_get_family ()">pango_font_description_get_family</a> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
93
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()">pango_font_description_set_style</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
94
|
-
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="
|
95
|
-
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="returnvalue">PangoStyle</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-style" title="pango_font_description_get_style ()">pango_font_description_get_style</a> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
96
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()">pango_font_description_set_variant</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
97
|
-
<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="
|
98
|
-
<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="returnvalue">PangoVariant</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-variant" title="pango_font_description_get_variant ()">pango_font_description_get_variant</a> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()">pango_font_description_set_weight</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
100
|
-
<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="
|
101
|
-
<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="returnvalue">PangoWeight</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-weight" title="pango_font_description_get_weight ()">pango_font_description_get_weight</a> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
102
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()">pango_font_description_set_stretch</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
103
|
-
<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="
|
104
|
-
<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="returnvalue">PangoStretch</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-stretch" title="pango_font_description_get_stretch ()">pango_font_description_get_stretch</a> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()">pango_font_description_set_size</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
106
|
-
<
|
107
|
-
<
|
69
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
70
|
+
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);
|
71
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-description-get-family" title="pango_font_description_get_family ()">pango_font_description_get_family</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()">pango_font_description_set_style</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
73
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);
|
74
|
+
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="returnvalue">PangoStyle</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-style" title="pango_font_description_get_style ()">pango_font_description_get_style</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()">pango_font_description_set_variant</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);
|
77
|
+
<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="returnvalue">PangoVariant</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-variant" title="pango_font_description_get_variant ()">pango_font_description_get_variant</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()">pango_font_description_set_weight</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
79
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);
|
80
|
+
<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="returnvalue">PangoWeight</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-weight" title="pango_font_description_get_weight ()">pango_font_description_get_weight</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
81
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()">pango_font_description_set_stretch</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);
|
83
|
+
<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="returnvalue">PangoStretch</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-stretch" title="pango_font_description_get_stretch ()">pango_font_description_get_stretch</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
84
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()">pango_font_description_set_size</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
85
|
+
<em class="parameter"><code><span class="type">gint</span> size</code></em>);
|
86
|
+
<span class="returnvalue">gint</span> <a class="link" href="pango-Fonts.html#pango-font-description-get-size" title="pango_font_description_get_size ()">pango_font_description_get_size</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
108
87
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()">pango_font_description_set_absolute_size</a>
|
109
|
-
(<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
110
|
-
<span class="
|
111
|
-
<
|
112
|
-
(const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
113
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()">pango_font_description_set_gravity</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
114
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
115
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-gravity" title="pango_font_description_get_gravity ()">pango_font_description_get_gravity</a> (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
88
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
89
|
+
<em class="parameter"><code><span class="type">double</span> size</code></em>);
|
90
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-get-size-is-absolute" title="pango_font_description_get_size_is_absolute ()">pango_font_description_get_size_is_absolute</a>
|
91
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
92
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()">pango_font_description_set_gravity</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
93
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
|
94
|
+
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-gravity" title="pango_font_description_get_gravity ()">pango_font_description_get_gravity</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
116
95
|
<a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="returnvalue">PangoFontMask</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()">pango_font_description_get_set_fields</a>
|
117
|
-
(const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
118
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-unset-fields" title="pango_font_description_unset_fields ()">pango_font_description_unset_fields</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
119
|
-
<a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="
|
120
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()">pango_font_description_merge</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
121
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
122
|
-
<
|
123
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge-static" title="pango_font_description_merge_static ()">pango_font_description_merge_static</a> (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
124
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
125
|
-
<
|
126
|
-
<
|
127
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
128
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
96
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
97
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-unset-fields" title="pango_font_description_unset_fields ()">pango_font_description_unset_fields</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
98
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="type">PangoFontMask</span></a> to_unset</code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()">pango_font_description_merge</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
100
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
101
|
+
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);
|
102
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge-static" title="pango_font_description_merge_static ()">pango_font_description_merge_static</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
103
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
104
|
+
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);
|
105
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-better-match" title="pango_font_description_better_match ()">pango_font_description_better_match</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
106
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *old_match</code></em>,
|
107
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *new_match</code></em>);
|
129
108
|
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string ()">pango_font_description_from_string</a>
|
130
|
-
(const <span class="
|
131
|
-
<span class="returnvalue">char</span> *
|
132
|
-
<span class="returnvalue">char</span> *
|
109
|
+
(<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
|
110
|
+
<span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-description-to-string" title="pango_font_description_to_string ()">pango_font_description_to_string</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
111
|
+
<span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-description-to-filename" title="pango_font_description_to_filename ()">pango_font_description_to_filename</a>
|
112
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
133
113
|
|
134
|
-
|
114
|
+
struct <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics">PangoFontMetrics</a>;
|
135
115
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-METRICS:CAPS" title="PANGO_TYPE_FONT_METRICS">PANGO_TYPE_FONT_METRICS</a>
|
136
|
-
<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-font-metrics-ref" title="pango_font_metrics_ref ()">pango_font_metrics_ref</a> (<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
137
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()">pango_font_metrics_unref</a> (<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
138
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-ascent" title="pango_font_metrics_get_ascent ()">pango_font_metrics_get_ascent</a> (<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
139
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-descent" title="pango_font_metrics_get_descent ()">pango_font_metrics_get_descent</a> (<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
116
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-font-metrics-ref" title="pango_font_metrics_ref ()">pango_font_metrics_ref</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
117
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()">pango_font_metrics_unref</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
118
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-ascent" title="pango_font_metrics_get_ascent ()">pango_font_metrics_get_ascent</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
119
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-descent" title="pango_font_metrics_get_descent ()">pango_font_metrics_get_descent</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
140
120
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()">pango_font_metrics_get_approximate_char_width</a>
|
141
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
121
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
142
122
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-digit-width" title="pango_font_metrics_get_approximate_digit_width ()">pango_font_metrics_get_approximate_digit_width</a>
|
143
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
123
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
144
124
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-underline-thickness" title="pango_font_metrics_get_underline_thickness ()">pango_font_metrics_get_underline_thickness</a>
|
145
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
125
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
146
126
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-underline-position" title="pango_font_metrics_get_underline_position ()">pango_font_metrics_get_underline_position</a>
|
147
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
127
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
148
128
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-strikethrough-thickness" title="pango_font_metrics_get_strikethrough_thickness ()">pango_font_metrics_get_strikethrough_thickness</a>
|
149
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
129
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
150
130
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-strikethrough-position" title="pango_font_metrics_get_strikethrough_position ()">pango_font_metrics_get_strikethrough_position</a>
|
151
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
131
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
152
132
|
|
153
133
|
<a class="link" href="pango-Fonts.html#PangoFont-struct" title="PangoFont">PangoFont</a>;
|
154
134
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT:CAPS" title="PANGO_TYPE_FONT">PANGO_TYPE_FONT</a>
|
155
135
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT:CAPS" title="PANGO_FONT()">PANGO_FONT</a> (object)
|
156
136
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT:CAPS" title="PANGO_IS_FONT()">PANGO_IS_FONT</a> (object)
|
157
|
-
<a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> *
|
158
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
159
|
-
<
|
160
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-describe" title="pango_font_describe ()">pango_font_describe</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
137
|
+
<a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> * <a class="link" href="pango-Fonts.html#pango-font-find-shaper" title="pango_font_find_shaper ()">pango_font_find_shaper</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
138
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
139
|
+
<em class="parameter"><code><span class="type">guint32</span> ch</code></em>);
|
140
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-describe" title="pango_font_describe ()">pango_font_describe</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
161
141
|
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-describe-with-absolute-size" title="pango_font_describe_with_absolute_size ()">pango_font_describe_with_absolute_size</a>
|
162
|
-
(<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
163
|
-
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> *
|
164
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
165
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()">pango_font_get_glyph_extents</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
166
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="
|
167
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
168
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
169
|
-
<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
170
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
171
|
-
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Fonts.html#pango-font-get-font-map" title="pango_font_get_font_map ()">pango_font_get_font_map</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
142
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
143
|
+
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * <a class="link" href="pango-Fonts.html#pango-font-get-coverage" title="pango_font_get_coverage ()">pango_font_get_coverage</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
144
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
145
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()">pango_font_get_glyph_extents</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
146
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>,
|
147
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
148
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);
|
149
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-font-get-metrics" title="pango_font_get_metrics ()">pango_font_get_metrics</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
150
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
151
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Fonts.html#pango-font-get-font-map" title="pango_font_get_font_map ()">pango_font_get_font_map</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
172
152
|
|
173
|
-
|
153
|
+
struct <a class="link" href="pango-Fonts.html#PangoFontFamily-struct" title="struct PangoFontFamily">PangoFontFamily</a>;
|
174
154
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-FAMILY:CAPS" title="PANGO_TYPE_FONT_FAMILY">PANGO_TYPE_FONT_FAMILY</a>
|
175
155
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT-FAMILY:CAPS" title="PANGO_FONT_FAMILY()">PANGO_FONT_FAMILY</a> (object)
|
176
156
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT-FAMILY:CAPS" title="PANGO_IS_FONT_FAMILY()">PANGO_IS_FONT_FAMILY</a> (object)
|
177
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-family-get-name" title="pango_font_family_get_name ()">pango_font_family_get_name</a> (<a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="
|
178
|
-
<
|
179
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-family-list-faces" title="pango_font_family_list_faces ()">pango_font_family_list_faces</a> (<a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="
|
180
|
-
<a class="link" href="pango-Fonts.html#PangoFontFace"><span class="
|
181
|
-
<span class="
|
157
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-family-get-name" title="pango_font_family_get_name ()">pango_font_family_get_name</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);
|
158
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-family-is-monospace" title="pango_font_family_is_monospace ()">pango_font_family_is_monospace</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);
|
159
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-family-list-faces" title="pango_font_family_list_faces ()">pango_font_family_list_faces</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>,
|
160
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> ***faces</code></em>,
|
161
|
+
<em class="parameter"><code><span class="type">int</span> *n_faces</code></em>);
|
182
162
|
|
183
|
-
|
163
|
+
struct <a class="link" href="pango-Fonts.html#PangoFontFace-struct" title="struct PangoFontFace">PangoFontFace</a>;
|
184
164
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-FACE:CAPS" title="PANGO_TYPE_FONT_FACE">PANGO_TYPE_FONT_FACE</a>
|
185
165
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT-FACE:CAPS" title="PANGO_FONT_FACE()">PANGO_FONT_FACE</a> (object)
|
186
166
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT-FACE:CAPS" title="PANGO_IS_FONT_FACE()">PANGO_IS_FONT_FACE</a> (object)
|
187
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-face-get-face-name" title="pango_font_face_get_face_name ()">pango_font_face_get_face_name</a> (<a class="link" href="pango-Fonts.html#PangoFontFace"><span class="
|
188
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-face-list-sizes" title="pango_font_face_list_sizes ()">pango_font_face_list_sizes</a> (<a class="link" href="pango-Fonts.html#PangoFontFace"><span class="
|
189
|
-
<span class="
|
190
|
-
<span class="
|
191
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-face-describe" title="pango_font_face_describe ()">pango_font_face_describe</a> (<a class="link" href="pango-Fonts.html#PangoFontFace"><span class="
|
192
|
-
<
|
167
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-face-get-face-name" title="pango_font_face_get_face_name ()">pango_font_face_get_face_name</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);
|
168
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-face-list-sizes" title="pango_font_face_list_sizes ()">pango_font_face_list_sizes</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>,
|
169
|
+
<em class="parameter"><code><span class="type">int</span> **sizes</code></em>,
|
170
|
+
<em class="parameter"><code><span class="type">int</span> *n_sizes</code></em>);
|
171
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-face-describe" title="pango_font_face_describe ()">pango_font_face_describe</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);
|
172
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-face-is-synthesized" title="pango_font_face_is_synthesized ()">pango_font_face_is_synthesized</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);
|
193
173
|
|
194
174
|
<a class="link" href="pango-Fonts.html#PangoFontMap-struct" title="PangoFontMap">PangoFontMap</a>;
|
195
175
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MAP:CAPS" title="PANGO_TYPE_FONT_MAP">PANGO_TYPE_FONT_MAP</a>
|
196
176
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT-MAP:CAPS" title="PANGO_FONT_MAP()">PANGO_FONT_MAP</a> (object)
|
197
177
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT-MAP:CAPS" title="PANGO_IS_FONT_MAP()">PANGO_IS_FONT_MAP</a> (object)
|
198
|
-
|
178
|
+
struct <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass">PangoFontMapClass</a>;
|
199
179
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT-MAP-CLASS:CAPS" title="PANGO_FONT_MAP_CLASS()">PANGO_FONT_MAP_CLASS</a> (klass)
|
200
180
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT-MAP-CLASS:CAPS" title="PANGO_IS_FONT_MAP_CLASS()">PANGO_IS_FONT_MAP_CLASS</a> (klass)
|
201
181
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT-MAP-GET-CLASS:CAPS" title="PANGO_FONT_MAP_GET_CLASS()">PANGO_FONT_MAP_GET_CLASS</a> (obj)
|
202
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()">pango_font_map_create_context</a> (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
203
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-load-font" title="pango_font_map_load_font ()">pango_font_map_load_font</a> (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
204
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
205
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
206
|
-
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-load-fontset" title="pango_font_map_load_fontset ()">pango_font_map_load_fontset</a> (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
207
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
208
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
209
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
210
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-map-list-families" title="pango_font_map_list_families ()">pango_font_map_list_families</a> (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
211
|
-
<a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="
|
212
|
-
<span class="
|
182
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()">pango_font_map_create_context</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);
|
183
|
+
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-load-font" title="pango_font_map_load_font ()">pango_font_map_load_font</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
184
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
185
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
186
|
+
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-load-fontset" title="pango_font_map_load_fontset ()">pango_font_map_load_fontset</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
187
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
188
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
189
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
190
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-map-list-families" title="pango_font_map_list_families ()">pango_font_map_list_families</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
191
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
|
192
|
+
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);
|
213
193
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-map-get-shape-engine-type" title="pango_font_map_get_shape_engine_type ()">pango_font_map_get_shape_engine_type</a>
|
214
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
194
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);
|
215
195
|
|
216
|
-
|
196
|
+
struct <a class="link" href="pango-Fonts.html#PangoFontset-struct" title="struct PangoFontset">PangoFontset</a>;
|
217
197
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET:CAPS" title="PANGO_TYPE_FONTSET">PANGO_TYPE_FONTSET</a>
|
218
|
-
|
219
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-get-font" title="pango_fontset_get_font ()">pango_fontset_get_font</a> (<a class="link" href="pango-Fonts.html#PangoFontset"><span class="
|
220
|
-
<
|
221
|
-
<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-get-metrics" title="pango_fontset_get_metrics ()">pango_fontset_get_metrics</a> (<a class="link" href="pango-Fonts.html#PangoFontset"><span class="
|
222
|
-
<
|
223
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
224
|
-
<
|
225
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()">pango_fontset_foreach</a> (<a class="link" href="pango-Fonts.html#PangoFontset"><span class="
|
226
|
-
<a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="
|
227
|
-
<
|
198
|
+
struct <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass">PangoFontsetClass</a>;
|
199
|
+
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-get-font" title="pango_fontset_get_font ()">pango_fontset_get_font</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
200
|
+
<em class="parameter"><code><span class="type">guint</span> wc</code></em>);
|
201
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-get-metrics" title="pango_fontset_get_metrics ()">pango_fontset_get_metrics</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>);
|
202
|
+
<span class="returnvalue">gboolean</span> (<a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()">*PangoFontsetForeachFunc</a>) (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
203
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
204
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
205
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()">pango_fontset_foreach</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
206
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="type">PangoFontsetForeachFunc</span></a> func</code></em>,
|
207
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
228
208
|
<a class="link" href="pango-Fonts.html#PangoFontsetSimple-struct" title="PangoFontsetSimple">PangoFontsetSimple</a>;
|
229
209
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET-SIMPLE:CAPS" title="PANGO_TYPE_FONTSET_SIMPLE">PANGO_TYPE_FONTSET_SIMPLE</a>
|
230
|
-
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> *
|
231
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-fontset-simple-append" title="pango_fontset_simple_append ()">pango_fontset_simple_append</a> (<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="
|
232
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
233
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-fontset-simple-size" title="pango_fontset_simple_size ()">pango_fontset_simple_size</a> (<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="
|
210
|
+
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-simple-new" title="pango_fontset_simple_new ()">pango_fontset_simple_new</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
211
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-fontset-simple-append" title="pango_fontset_simple_append ()">pango_fontset_simple_append</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>,
|
212
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
213
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-fontset-simple-size" title="pango_fontset_simple_size ()">pango_fontset_simple_size</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>);
|
234
214
|
</pre>
|
235
215
|
</div>
|
236
|
-
<div class="refsect1"
|
216
|
+
<div class="refsect1">
|
237
217
|
<a name="pango-Fonts.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
238
218
|
<pre class="synopsis">
|
239
|
-
|
219
|
+
GObject
|
240
220
|
+----PangoFont
|
241
221
|
+----<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a>
|
242
222
|
</pre>
|
243
223
|
<pre class="synopsis">
|
244
|
-
|
224
|
+
GObject
|
245
225
|
+----PangoFontFamily
|
246
226
|
</pre>
|
247
227
|
<pre class="synopsis">
|
248
|
-
|
228
|
+
GObject
|
249
229
|
+----PangoFontFace
|
250
230
|
</pre>
|
251
231
|
<pre class="synopsis">
|
252
|
-
|
232
|
+
GObject
|
253
233
|
+----PangoFontMap
|
254
234
|
+----<a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a>
|
255
235
|
</pre>
|
256
236
|
<pre class="synopsis">
|
257
|
-
|
237
|
+
GObject
|
258
238
|
+----PangoFontset
|
259
239
|
+----<a class="link" href="pango-Fonts.html#PangoFontsetSimple">PangoFontsetSimple</a>
|
260
240
|
</pre>
|
261
241
|
<pre class="synopsis">
|
262
|
-
|
242
|
+
GObject
|
263
243
|
+----<a class="link" href="pango-Fonts.html#PangoFontset">PangoFontset</a>
|
264
244
|
+----PangoFontsetSimple
|
265
245
|
</pre>
|
266
246
|
</div>
|
267
|
-
<div class="refsect1"
|
247
|
+
<div class="refsect1">
|
268
248
|
<a name="pango-Fonts.derived-interfaces"></a><h2>Known Derived Interfaces</h2>
|
269
249
|
<p>
|
270
250
|
PangoFont is required by
|
@@ -273,7 +253,7 @@ PangoFont is required by
|
|
273
253
|
PangoFontMap is required by
|
274
254
|
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap">PangoCairoFontMap</a>.</p>
|
275
255
|
</div>
|
276
|
-
<div class="refsect1"
|
256
|
+
<div class="refsect1">
|
277
257
|
<a name="pango-Fonts.description"></a><h2>Description</h2>
|
278
258
|
<p>
|
279
259
|
Pango supports a flexible architecture where a
|
@@ -284,9 +264,9 @@ Pango provides routines to list available fonts, and
|
|
284
264
|
to load a font of a given description.
|
285
265
|
</p>
|
286
266
|
</div>
|
287
|
-
<div class="refsect1"
|
267
|
+
<div class="refsect1">
|
288
268
|
<a name="pango-Fonts.details"></a><h2>Details</h2>
|
289
|
-
<div class="refsect2"
|
269
|
+
<div class="refsect2">
|
290
270
|
<a name="PangoFontDescription"></a><h3>PangoFontDescription</h3>
|
291
271
|
<pre class="programlisting">typedef struct _PangoFontDescription PangoFontDescription;</pre>
|
292
272
|
<p>
|
@@ -297,16 +277,16 @@ the characteristics of a font to load.
|
|
297
277
|
</p>
|
298
278
|
</div>
|
299
279
|
<hr>
|
300
|
-
<div class="refsect2"
|
280
|
+
<div class="refsect2">
|
301
281
|
<a name="PANGO-TYPE-FONT-DESCRIPTION:CAPS"></a><h3>PANGO_TYPE_FONT_DESCRIPTION</h3>
|
302
282
|
<pre class="programlisting">#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
|
303
283
|
</pre>
|
304
284
|
<p>
|
305
|
-
The <
|
285
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
306
286
|
</p>
|
307
287
|
</div>
|
308
288
|
<hr>
|
309
|
-
<div class="refsect2"
|
289
|
+
<div class="refsect2">
|
310
290
|
<a name="PangoStyle"></a><h3>enum PangoStyle</h3>
|
311
291
|
<pre class="programlisting">typedef enum {
|
312
292
|
PANGO_STYLE_NORMAL,
|
@@ -315,39 +295,40 @@ The <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#G
|
|
315
295
|
} PangoStyle;
|
316
296
|
</pre>
|
317
297
|
<p>
|
318
|
-
An enumeration specifying the various slant styles possible for a font
|
298
|
+
An enumeration specifying the various slant styles possible for a font.
|
299
|
+
</p>
|
319
300
|
<div class="variablelist"><table border="0">
|
320
301
|
<col align="left" valign="top">
|
321
302
|
<tbody>
|
322
303
|
<tr>
|
323
304
|
<td><p><a name="PANGO-STYLE-NORMAL:CAPS"></a><span class="term"><code class="literal">PANGO_STYLE_NORMAL</code></span></p></td>
|
324
|
-
<td>
|
305
|
+
<td>the font is upright.
|
325
306
|
</td>
|
326
307
|
</tr>
|
327
308
|
<tr>
|
328
309
|
<td><p><a name="PANGO-STYLE-OBLIQUE:CAPS"></a><span class="term"><code class="literal">PANGO_STYLE_OBLIQUE</code></span></p></td>
|
329
|
-
<td>
|
310
|
+
<td>the font is slanted, but in a roman style.
|
330
311
|
</td>
|
331
312
|
</tr>
|
332
313
|
<tr>
|
333
314
|
<td><p><a name="PANGO-STYLE-ITALIC:CAPS"></a><span class="term"><code class="literal">PANGO_STYLE_ITALIC</code></span></p></td>
|
334
|
-
<td>
|
315
|
+
<td>the font is slanted in an italic style.
|
335
316
|
</td>
|
336
317
|
</tr>
|
337
318
|
</tbody>
|
338
319
|
</table></div>
|
339
320
|
</div>
|
340
321
|
<hr>
|
341
|
-
<div class="refsect2"
|
322
|
+
<div class="refsect2">
|
342
323
|
<a name="PANGO-TYPE-STYLE:CAPS"></a><h3>PANGO_TYPE_STYLE</h3>
|
343
324
|
<pre class="programlisting">#define PANGO_TYPE_STYLE (pango_style_get_type())
|
344
325
|
</pre>
|
345
326
|
<p>
|
346
|
-
The <
|
327
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a>.
|
347
328
|
</p>
|
348
329
|
</div>
|
349
330
|
<hr>
|
350
|
-
<div class="refsect2"
|
331
|
+
<div class="refsect2">
|
351
332
|
<a name="PangoWeight"></a><h3>enum PangoWeight</h3>
|
352
333
|
<pre class="programlisting">typedef enum {
|
353
334
|
PANGO_WEIGHT_THIN = 100,
|
@@ -429,16 +410,16 @@ value ranging from 100 to 900, but there are some predefined values:
|
|
429
410
|
</table></div>
|
430
411
|
</div>
|
431
412
|
<hr>
|
432
|
-
<div class="refsect2"
|
413
|
+
<div class="refsect2">
|
433
414
|
<a name="PANGO-TYPE-WEIGHT:CAPS"></a><h3>PANGO_TYPE_WEIGHT</h3>
|
434
415
|
<pre class="programlisting">#define PANGO_TYPE_WEIGHT (pango_weight_get_type())
|
435
416
|
</pre>
|
436
417
|
<p>
|
437
|
-
The <
|
418
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a>.
|
438
419
|
</p>
|
439
420
|
</div>
|
440
421
|
<hr>
|
441
|
-
<div class="refsect2"
|
422
|
+
<div class="refsect2">
|
442
423
|
<a name="PangoVariant"></a><h3>enum PangoVariant</h3>
|
443
424
|
<pre class="programlisting">typedef enum {
|
444
425
|
PANGO_VARIANT_NORMAL,
|
@@ -466,16 +447,16 @@ An enumeration specifying capitalization variant of the font.
|
|
466
447
|
</table></div>
|
467
448
|
</div>
|
468
449
|
<hr>
|
469
|
-
<div class="refsect2"
|
450
|
+
<div class="refsect2">
|
470
451
|
<a name="PANGO-TYPE-VARIANT:CAPS"></a><h3>PANGO_TYPE_VARIANT</h3>
|
471
452
|
<pre class="programlisting">#define PANGO_TYPE_VARIANT (pango_variant_get_type())
|
472
453
|
</pre>
|
473
454
|
<p>
|
474
|
-
The <
|
455
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a>.
|
475
456
|
</p>
|
476
457
|
</div>
|
477
458
|
<hr>
|
478
|
-
<div class="refsect2"
|
459
|
+
<div class="refsect2">
|
479
460
|
<a name="PangoStretch"></a><h3>enum PangoStretch</h3>
|
480
461
|
<pre class="programlisting">typedef enum {
|
481
462
|
PANGO_STRETCH_ULTRA_CONDENSED,
|
@@ -545,16 +526,16 @@ within a family.
|
|
545
526
|
</table></div>
|
546
527
|
</div>
|
547
528
|
<hr>
|
548
|
-
<div class="refsect2"
|
529
|
+
<div class="refsect2">
|
549
530
|
<a name="PANGO-TYPE-STRETCH:CAPS"></a><h3>PANGO_TYPE_STRETCH</h3>
|
550
531
|
<pre class="programlisting">#define PANGO_TYPE_STRETCH (pango_stretch_get_type())
|
551
532
|
</pre>
|
552
533
|
<p>
|
553
|
-
The <
|
534
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a>.
|
554
535
|
</p>
|
555
536
|
</div>
|
556
537
|
<hr>
|
557
|
-
<div class="refsect2"
|
538
|
+
<div class="refsect2">
|
558
539
|
<a name="PangoFontMask"></a><h3>enum PangoFontMask</h3>
|
559
540
|
<pre class="programlisting">typedef enum {
|
560
541
|
PANGO_FONT_MASK_FAMILY = 1 << 0,
|
@@ -612,20 +593,21 @@ The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask" title="enum
|
|
612
593
|
</table></div>
|
613
594
|
</div>
|
614
595
|
<hr>
|
615
|
-
<div class="refsect2"
|
596
|
+
<div class="refsect2">
|
616
597
|
<a name="PANGO-TYPE-FONT-MASK:CAPS"></a><h3>PANGO_TYPE_FONT_MASK</h3>
|
617
598
|
<pre class="programlisting">#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type())
|
618
599
|
</pre>
|
619
600
|
<p>
|
620
|
-
The <
|
601
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="type">PangoFontMask</span></a>.
|
621
602
|
</p>
|
622
603
|
</div>
|
623
604
|
<hr>
|
624
|
-
<div class="refsect2"
|
605
|
+
<div class="refsect2">
|
625
606
|
<a name="pango-font-description-new"></a><h3>pango_font_description_new ()</h3>
|
626
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_new (void);</pre>
|
607
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
627
608
|
<p>
|
628
|
-
Creates a new font description structure with all fields unset
|
609
|
+
Creates a new font description structure with all fields unset.
|
610
|
+
</p>
|
629
611
|
<div class="variablelist"><table border="0">
|
630
612
|
<col align="left" valign="top">
|
631
613
|
<tbody><tr>
|
@@ -637,71 +619,74 @@ Creates a new font description structure with all fields unset.</p>
|
|
637
619
|
</table></div>
|
638
620
|
</div>
|
639
621
|
<hr>
|
640
|
-
<div class="refsect2"
|
622
|
+
<div class="refsect2">
|
641
623
|
<a name="pango-font-description-copy"></a><h3>pango_font_description_copy ()</h3>
|
642
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_copy (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
624
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_copy (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
643
625
|
<p>
|
644
|
-
Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a
|
626
|
+
Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
627
|
+
</p>
|
645
628
|
<div class="variablelist"><table border="0">
|
646
629
|
<col align="left" valign="top">
|
647
630
|
<tbody>
|
648
631
|
<tr>
|
649
632
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
650
|
-
<td>
|
633
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
651
634
|
</td>
|
652
635
|
</tr>
|
653
636
|
<tr>
|
654
637
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
655
638
|
<td> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should
|
656
|
-
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/usr/share/gtk-doc/html/
|
657
|
-
if <em class="parameter"><code>desc</code></em> was <a href="/usr/share/gtk-doc/html/
|
639
|
+
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
640
|
+
if <em class="parameter"><code>desc</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
658
641
|
</td>
|
659
642
|
</tr>
|
660
643
|
</tbody>
|
661
644
|
</table></div>
|
662
645
|
</div>
|
663
646
|
<hr>
|
664
|
-
<div class="refsect2"
|
647
|
+
<div class="refsect2">
|
665
648
|
<a name="pango-font-description-copy-static"></a><h3>pango_font_description_copy_static ()</h3>
|
666
649
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_copy_static
|
667
|
-
(const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
650
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
668
651
|
<p>
|
669
652
|
Like <a class="link" href="pango-Fonts.html#pango-font-description-copy" title="pango_font_description_copy ()"><code class="function">pango_font_description_copy()</code></a>, but only a shallow copy is made
|
670
653
|
of the family name and other allocated fields. The result can only
|
671
654
|
be used until <em class="parameter"><code>desc</code></em> is modified or freed. This is meant to be used
|
672
|
-
when the copy is only needed temporarily
|
655
|
+
when the copy is only needed temporarily.
|
656
|
+
</p>
|
673
657
|
<div class="variablelist"><table border="0">
|
674
658
|
<col align="left" valign="top">
|
675
659
|
<tbody>
|
676
660
|
<tr>
|
677
661
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
678
|
-
<td>
|
662
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
679
663
|
</td>
|
680
664
|
</tr>
|
681
665
|
<tr>
|
682
666
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
683
667
|
<td> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should
|
684
|
-
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/usr/share/gtk-doc/html/
|
685
|
-
if <em class="parameter"><code>desc</code></em> was <a href="/usr/share/gtk-doc/html/
|
668
|
+
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
669
|
+
if <em class="parameter"><code>desc</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
686
670
|
</td>
|
687
671
|
</tr>
|
688
672
|
</tbody>
|
689
673
|
</table></div>
|
690
674
|
</div>
|
691
675
|
<hr>
|
692
|
-
<div class="refsect2"
|
676
|
+
<div class="refsect2">
|
693
677
|
<a name="pango-font-description-hash"></a><h3>pango_font_description_hash ()</h3>
|
694
|
-
<pre class="programlisting"><
|
678
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> pango_font_description_hash (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
695
679
|
<p>
|
696
680
|
Computes a hash of a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure suitable
|
697
|
-
to be used, for example, as an argument to <
|
698
|
-
The hash value is independent of <em class="parameter"><code>desc->mask</code></em
|
681
|
+
to be used, for example, as an argument to <code class="function">g_hash_table_new()</code>.
|
682
|
+
The hash value is independent of <em class="parameter"><code>desc->mask</code></em>.
|
683
|
+
</p>
|
699
684
|
<div class="variablelist"><table border="0">
|
700
685
|
<col align="left" valign="top">
|
701
686
|
<tbody>
|
702
687
|
<tr>
|
703
688
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
704
|
-
<td>
|
689
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
705
690
|
</td>
|
706
691
|
</tr>
|
707
692
|
<tr>
|
@@ -713,151 +698,157 @@ The hash value is independent of <em class="parameter"><code>desc->mask</code
|
|
713
698
|
</table></div>
|
714
699
|
</div>
|
715
700
|
<hr>
|
716
|
-
<div class="refsect2"
|
701
|
+
<div class="refsect2">
|
717
702
|
<a name="pango-font-description-equal"></a><h3>pango_font_description_equal ()</h3>
|
718
|
-
<pre class="programlisting"><
|
719
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
703
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_equal (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc1</code></em>,
|
704
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc2</code></em>);</pre>
|
720
705
|
<p>
|
721
706
|
Compares two font descriptions for equality. Two font descriptions
|
722
707
|
are considered equal if the fonts they describe are provably identical.
|
723
708
|
This means that their masks do not have to match, as long as other fields
|
724
709
|
are all the same. (Two font descriptions may result in identical fonts
|
725
|
-
being loaded, but still compare <
|
710
|
+
being loaded, but still compare <code class="literal">FALSE</code>.)
|
711
|
+
</p>
|
726
712
|
<div class="variablelist"><table border="0">
|
727
713
|
<col align="left" valign="top">
|
728
714
|
<tbody>
|
729
715
|
<tr>
|
730
716
|
<td><p><span class="term"><em class="parameter"><code>desc1</code></em> :</span></p></td>
|
731
|
-
<td>
|
717
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
732
718
|
</td>
|
733
719
|
</tr>
|
734
720
|
<tr>
|
735
721
|
<td><p><span class="term"><em class="parameter"><code>desc2</code></em> :</span></p></td>
|
736
|
-
<td>
|
722
|
+
<td>another <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
737
723
|
</td>
|
738
724
|
</tr>
|
739
725
|
<tr>
|
740
726
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
741
|
-
<td> <
|
742
|
-
<
|
727
|
+
<td> <code class="literal">TRUE</code> if the two font descriptions are identical,
|
728
|
+
<code class="literal">FALSE</code> otherwise.
|
743
729
|
</td>
|
744
730
|
</tr>
|
745
731
|
</tbody>
|
746
732
|
</table></div>
|
747
733
|
</div>
|
748
734
|
<hr>
|
749
|
-
<div class="refsect2"
|
735
|
+
<div class="refsect2">
|
750
736
|
<a name="pango-font-description-free"></a><h3>pango_font_description_free ()</h3>
|
751
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_free (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
737
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
752
738
|
<p>
|
753
|
-
Frees a font description
|
739
|
+
Frees a font description.
|
740
|
+
</p>
|
754
741
|
<div class="variablelist"><table border="0">
|
755
742
|
<col align="left" valign="top">
|
756
743
|
<tbody><tr>
|
757
744
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
758
|
-
<td>
|
745
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
759
746
|
</td>
|
760
747
|
</tr></tbody>
|
761
748
|
</table></div>
|
762
749
|
</div>
|
763
750
|
<hr>
|
764
|
-
<div class="refsect2"
|
751
|
+
<div class="refsect2">
|
765
752
|
<a name="pango-font-descriptions-free"></a><h3>pango_font_descriptions_free ()</h3>
|
766
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_descriptions_free (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
767
|
-
<span class="
|
753
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_descriptions_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> **descs</code></em>,
|
754
|
+
<em class="parameter"><code><span class="type">int</span> n_descs</code></em>);</pre>
|
768
755
|
<p>
|
769
|
-
Frees an array of font descriptions
|
756
|
+
Frees an array of font descriptions.
|
757
|
+
</p>
|
770
758
|
<div class="variablelist"><table border="0">
|
771
759
|
<col align="left" valign="top">
|
772
760
|
<tbody>
|
773
761
|
<tr>
|
774
762
|
<td><p><span class="term"><em class="parameter"><code>descs</code></em> :</span></p></td>
|
775
|
-
<td>
|
763
|
+
<td>a pointer to an array of <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
776
764
|
</td>
|
777
765
|
</tr>
|
778
766
|
<tr>
|
779
767
|
<td><p><span class="term"><em class="parameter"><code>n_descs</code></em> :</span></p></td>
|
780
|
-
<td>
|
768
|
+
<td>number of font descriptions in <em class="parameter"><code>descs</code></em>
|
781
769
|
</td>
|
782
770
|
</tr>
|
783
771
|
</tbody>
|
784
772
|
</table></div>
|
785
773
|
</div>
|
786
774
|
<hr>
|
787
|
-
<div class="refsect2"
|
775
|
+
<div class="refsect2">
|
788
776
|
<a name="pango-font-description-set-family"></a><h3>pango_font_description_set_family ()</h3>
|
789
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_family (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
790
|
-
const <span class="
|
777
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_family (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
778
|
+
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);</pre>
|
791
779
|
<p>
|
792
780
|
Sets the family name field of a font description. The family
|
793
781
|
name represents a family of related font styles, and will
|
794
782
|
resolve to a particular <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>. In some uses of
|
795
783
|
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>, it is also possible to use a comma
|
796
|
-
separated list of family names for this field
|
784
|
+
separated list of family names for this field.
|
785
|
+
</p>
|
797
786
|
<div class="variablelist"><table border="0">
|
798
787
|
<col align="left" valign="top">
|
799
788
|
<tbody>
|
800
789
|
<tr>
|
801
790
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
802
|
-
<td>
|
791
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
803
792
|
</td>
|
804
793
|
</tr>
|
805
794
|
<tr>
|
806
795
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
807
|
-
<td>
|
796
|
+
<td>a string representing the family name.
|
808
797
|
</td>
|
809
798
|
</tr>
|
810
799
|
</tbody>
|
811
800
|
</table></div>
|
812
801
|
</div>
|
813
802
|
<hr>
|
814
|
-
<div class="refsect2"
|
803
|
+
<div class="refsect2">
|
815
804
|
<a name="pango-font-description-set-family-static"></a><h3>pango_font_description_set_family_static ()</h3>
|
816
805
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_family_static
|
817
|
-
(<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
818
|
-
const <span class="
|
806
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
807
|
+
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);</pre>
|
819
808
|
<p>
|
820
809
|
Like <a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()"><code class="function">pango_font_description_set_family()</code></a>, except that no
|
821
810
|
copy of <em class="parameter"><code>family</code></em> is made. The caller must make sure that the
|
822
811
|
string passed in stays around until <em class="parameter"><code>desc</code></em> has been freed
|
823
812
|
or the name is set again. This function can be used if
|
824
813
|
<em class="parameter"><code>family</code></em> is a static string such as a C string literal, or
|
825
|
-
if <em class="parameter"><code>desc</code></em> is only needed temporarily
|
814
|
+
if <em class="parameter"><code>desc</code></em> is only needed temporarily.
|
815
|
+
</p>
|
826
816
|
<div class="variablelist"><table border="0">
|
827
817
|
<col align="left" valign="top">
|
828
818
|
<tbody>
|
829
819
|
<tr>
|
830
820
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
831
|
-
<td>
|
821
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
832
822
|
</td>
|
833
823
|
</tr>
|
834
824
|
<tr>
|
835
825
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
836
|
-
<td>
|
826
|
+
<td>a string representing the family name.
|
837
827
|
</td>
|
838
828
|
</tr>
|
839
829
|
</tbody>
|
840
830
|
</table></div>
|
841
831
|
</div>
|
842
832
|
<hr>
|
843
|
-
<div class="refsect2"
|
833
|
+
<div class="refsect2">
|
844
834
|
<a name="pango-font-description-get-family"></a><h3>pango_font_description_get_family ()</h3>
|
845
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_description_get_family (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
835
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_description_get_family (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
846
836
|
<p>
|
847
837
|
Gets the family name field of a font description. See
|
848
|
-
<a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()"><code class="function">pango_font_description_set_family()</code></a
|
838
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()"><code class="function">pango_font_description_set_family()</code></a>.
|
839
|
+
</p>
|
849
840
|
<div class="variablelist"><table border="0">
|
850
841
|
<col align="left" valign="top">
|
851
842
|
<tbody>
|
852
843
|
<tr>
|
853
844
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
854
|
-
<td>
|
845
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
855
846
|
</td>
|
856
847
|
</tr>
|
857
848
|
<tr>
|
858
849
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
859
850
|
<td> the family name field for the font description, or
|
860
|
-
<a href="/usr/share/gtk-doc/html/
|
851
|
+
<a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if not previously set. This has the same life-time
|
861
852
|
as the font description itself and should not be freed.
|
862
853
|
</td>
|
863
854
|
</tr>
|
@@ -865,10 +856,10 @@ Gets the family name field of a font description. See
|
|
865
856
|
</table></div>
|
866
857
|
</div>
|
867
858
|
<hr>
|
868
|
-
<div class="refsect2"
|
859
|
+
<div class="refsect2">
|
869
860
|
<a name="pango-font-description-set-style"></a><h3>pango_font_description_set_style ()</h3>
|
870
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_style (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
871
|
-
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="
|
861
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_style (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
862
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);</pre>
|
872
863
|
<p>
|
873
864
|
Sets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The
|
874
865
|
<a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> enumeration describes whether the font is slanted and
|
@@ -877,36 +868,38 @@ the manner in which it is slanted; it can be either
|
|
877
868
|
Most fonts will either have a italic style or an oblique
|
878
869
|
style, but not both, and font matching in Pango will
|
879
870
|
match italic specifications with oblique fonts and vice-versa
|
880
|
-
if an exact match is not found
|
871
|
+
if an exact match is not found.
|
872
|
+
</p>
|
881
873
|
<div class="variablelist"><table border="0">
|
882
874
|
<col align="left" valign="top">
|
883
875
|
<tbody>
|
884
876
|
<tr>
|
885
877
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
886
|
-
<td>
|
878
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
887
879
|
</td>
|
888
880
|
</tr>
|
889
881
|
<tr>
|
890
882
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
891
|
-
<td>
|
883
|
+
<td>the style for the font description
|
892
884
|
</td>
|
893
885
|
</tr>
|
894
886
|
</tbody>
|
895
887
|
</table></div>
|
896
888
|
</div>
|
897
889
|
<hr>
|
898
|
-
<div class="refsect2"
|
890
|
+
<div class="refsect2">
|
899
891
|
<a name="pango-font-description-get-style"></a><h3>pango_font_description_get_style ()</h3>
|
900
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="returnvalue">PangoStyle</span></a> pango_font_description_get_style (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
892
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="returnvalue">PangoStyle</span></a> pango_font_description_get_style (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
901
893
|
<p>
|
902
894
|
Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
903
|
-
<a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()"><code class="function">pango_font_description_set_style()</code></a
|
895
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()"><code class="function">pango_font_description_set_style()</code></a>.
|
896
|
+
</p>
|
904
897
|
<div class="variablelist"><table border="0">
|
905
898
|
<col align="left" valign="top">
|
906
899
|
<tbody>
|
907
900
|
<tr>
|
908
901
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
909
|
-
<td>
|
902
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
910
903
|
</td>
|
911
904
|
</tr>
|
912
905
|
<tr>
|
@@ -920,42 +913,44 @@ Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescri
|
|
920
913
|
</table></div>
|
921
914
|
</div>
|
922
915
|
<hr>
|
923
|
-
<div class="refsect2"
|
916
|
+
<div class="refsect2">
|
924
917
|
<a name="pango-font-description-set-variant"></a><h3>pango_font_description_set_variant ()</h3>
|
925
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_variant (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
926
|
-
<a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="
|
918
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_variant (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
919
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);</pre>
|
927
920
|
<p>
|
928
921
|
Sets the variant field of a font description. The <a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a>
|
929
|
-
can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS"><code class="literal">PANGO_VARIANT_NORMAL</code></a> or <a class="link" href="pango-Fonts.html#PANGO-VARIANT-SMALL-CAPS"><code class="literal">PANGO_VARIANT_SMALL_CAPS</code></a
|
922
|
+
can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS"><code class="literal">PANGO_VARIANT_NORMAL</code></a> or <a class="link" href="pango-Fonts.html#PANGO-VARIANT-SMALL-CAPS"><code class="literal">PANGO_VARIANT_SMALL_CAPS</code></a>.
|
923
|
+
</p>
|
930
924
|
<div class="variablelist"><table border="0">
|
931
925
|
<col align="left" valign="top">
|
932
926
|
<tbody>
|
933
927
|
<tr>
|
934
928
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
935
|
-
<td>
|
929
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
936
930
|
</td>
|
937
931
|
</tr>
|
938
932
|
<tr>
|
939
933
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
940
|
-
<td>
|
934
|
+
<td>the variant type for the font description.
|
941
935
|
</td>
|
942
936
|
</tr>
|
943
937
|
</tbody>
|
944
938
|
</table></div>
|
945
939
|
</div>
|
946
940
|
<hr>
|
947
|
-
<div class="refsect2"
|
941
|
+
<div class="refsect2">
|
948
942
|
<a name="pango-font-description-get-variant"></a><h3>pango_font_description_get_variant ()</h3>
|
949
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="returnvalue">PangoVariant</span></a> pango_font_description_get_variant (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
943
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="returnvalue">PangoVariant</span></a> pango_font_description_get_variant (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
950
944
|
<p>
|
951
945
|
Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
952
|
-
<a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()"><code class="function">pango_font_description_set_variant()</code></a
|
946
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()"><code class="function">pango_font_description_set_variant()</code></a>.
|
947
|
+
</p>
|
953
948
|
<div class="variablelist"><table border="0">
|
954
949
|
<col align="left" valign="top">
|
955
950
|
<tbody>
|
956
951
|
<tr>
|
957
952
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
958
|
-
<td>
|
953
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
959
954
|
</td>
|
960
955
|
</tr>
|
961
956
|
<tr>
|
@@ -969,44 +964,46 @@ Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDesc
|
|
969
964
|
</table></div>
|
970
965
|
</div>
|
971
966
|
<hr>
|
972
|
-
<div class="refsect2"
|
967
|
+
<div class="refsect2">
|
973
968
|
<a name="pango-font-description-set-weight"></a><h3>pango_font_description_set_weight ()</h3>
|
974
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_weight (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
975
|
-
<a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="
|
969
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_weight (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
970
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);</pre>
|
976
971
|
<p>
|
977
972
|
Sets the weight field of a font description. The weight field
|
978
973
|
specifies how bold or light the font should be. In addition
|
979
974
|
to the values of the <a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> enumeration, other intermediate
|
980
|
-
numeric values are possible
|
975
|
+
numeric values are possible.
|
976
|
+
</p>
|
981
977
|
<div class="variablelist"><table border="0">
|
982
978
|
<col align="left" valign="top">
|
983
979
|
<tbody>
|
984
980
|
<tr>
|
985
981
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
986
|
-
<td>
|
982
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
987
983
|
</td>
|
988
984
|
</tr>
|
989
985
|
<tr>
|
990
986
|
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
991
|
-
<td>
|
987
|
+
<td>the weight for the font description.
|
992
988
|
</td>
|
993
989
|
</tr>
|
994
990
|
</tbody>
|
995
991
|
</table></div>
|
996
992
|
</div>
|
997
993
|
<hr>
|
998
|
-
<div class="refsect2"
|
994
|
+
<div class="refsect2">
|
999
995
|
<a name="pango-font-description-get-weight"></a><h3>pango_font_description_get_weight ()</h3>
|
1000
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="returnvalue">PangoWeight</span></a> pango_font_description_get_weight (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
996
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="returnvalue">PangoWeight</span></a> pango_font_description_get_weight (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1001
997
|
<p>
|
1002
998
|
Gets the weight field of a font description. See
|
1003
|
-
<a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()"><code class="function">pango_font_description_set_weight()</code></a
|
999
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()"><code class="function">pango_font_description_set_weight()</code></a>.
|
1000
|
+
</p>
|
1004
1001
|
<div class="variablelist"><table border="0">
|
1005
1002
|
<col align="left" valign="top">
|
1006
1003
|
<tbody>
|
1007
1004
|
<tr>
|
1008
1005
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1009
|
-
<td>
|
1006
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1010
1007
|
</td>
|
1011
1008
|
</tr>
|
1012
1009
|
<tr>
|
@@ -1020,42 +1017,44 @@ Gets the weight field of a font description. See
|
|
1020
1017
|
</table></div>
|
1021
1018
|
</div>
|
1022
1019
|
<hr>
|
1023
|
-
<div class="refsect2"
|
1020
|
+
<div class="refsect2">
|
1024
1021
|
<a name="pango-font-description-set-stretch"></a><h3>pango_font_description_set_stretch ()</h3>
|
1025
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_stretch (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1026
|
-
<a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="
|
1022
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_stretch (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1023
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);</pre>
|
1027
1024
|
<p>
|
1028
1025
|
Sets the stretch field of a font description. The stretch field
|
1029
|
-
specifies how narrow or wide the font should be
|
1026
|
+
specifies how narrow or wide the font should be.
|
1027
|
+
</p>
|
1030
1028
|
<div class="variablelist"><table border="0">
|
1031
1029
|
<col align="left" valign="top">
|
1032
1030
|
<tbody>
|
1033
1031
|
<tr>
|
1034
1032
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1035
|
-
<td>
|
1033
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1036
1034
|
</td>
|
1037
1035
|
</tr>
|
1038
1036
|
<tr>
|
1039
1037
|
<td><p><span class="term"><em class="parameter"><code>stretch</code></em> :</span></p></td>
|
1040
|
-
<td>
|
1038
|
+
<td>the stretch for the font description
|
1041
1039
|
</td>
|
1042
1040
|
</tr>
|
1043
1041
|
</tbody>
|
1044
1042
|
</table></div>
|
1045
1043
|
</div>
|
1046
1044
|
<hr>
|
1047
|
-
<div class="refsect2"
|
1045
|
+
<div class="refsect2">
|
1048
1046
|
<a name="pango-font-description-get-stretch"></a><h3>pango_font_description_get_stretch ()</h3>
|
1049
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="returnvalue">PangoStretch</span></a> pango_font_description_get_stretch (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1047
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="returnvalue">PangoStretch</span></a> pango_font_description_get_stretch (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1050
1048
|
<p>
|
1051
1049
|
Gets the stretch field of a font description.
|
1052
|
-
See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()"><code class="function">pango_font_description_set_stretch()</code></a
|
1050
|
+
See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()"><code class="function">pango_font_description_set_stretch()</code></a>.
|
1051
|
+
</p>
|
1053
1052
|
<div class="variablelist"><table border="0">
|
1054
1053
|
<col align="left" valign="top">
|
1055
1054
|
<tbody>
|
1056
1055
|
<tr>
|
1057
1056
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1058
|
-
<td>
|
1057
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
1059
1058
|
</td>
|
1060
1059
|
</tr>
|
1061
1060
|
<tr>
|
@@ -1069,24 +1068,25 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" t
|
|
1069
1068
|
</table></div>
|
1070
1069
|
</div>
|
1071
1070
|
<hr>
|
1072
|
-
<div class="refsect2"
|
1071
|
+
<div class="refsect2">
|
1073
1072
|
<a name="pango-font-description-set-size"></a><h3>pango_font_description_set_size ()</h3>
|
1074
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_size (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1075
|
-
<
|
1073
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1074
|
+
<em class="parameter"><code><span class="type">gint</span> size</code></em>);</pre>
|
1076
1075
|
<p>
|
1077
1076
|
Sets the size field of a font description in fractional points. This is mutually
|
1078
|
-
exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a
|
1077
|
+
exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a>.
|
1078
|
+
</p>
|
1079
1079
|
<div class="variablelist"><table border="0">
|
1080
1080
|
<col align="left" valign="top">
|
1081
1081
|
<tbody>
|
1082
1082
|
<tr>
|
1083
1083
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1084
|
-
<td>
|
1084
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1085
1085
|
</td>
|
1086
1086
|
</tr>
|
1087
1087
|
<tr>
|
1088
1088
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1089
|
-
<td>
|
1089
|
+
<td>the size of the font in points, scaled by PANGO_SCALE. (That is,
|
1090
1090
|
a <em class="parameter"><code>size</code></em> value of 10 * PANGO_SCALE is a 10 point font. The conversion
|
1091
1091
|
factor between points and device units depends on system configuration
|
1092
1092
|
and the output device. For screen display, a logical DPI of 96 is
|
@@ -1099,18 +1099,19 @@ exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set
|
|
1099
1099
|
</table></div>
|
1100
1100
|
</div>
|
1101
1101
|
<hr>
|
1102
|
-
<div class="refsect2"
|
1102
|
+
<div class="refsect2">
|
1103
1103
|
<a name="pango-font-description-get-size"></a><h3>pango_font_description_get_size ()</h3>
|
1104
|
-
<pre class="programlisting"><
|
1104
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> pango_font_description_get_size (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1105
1105
|
<p>
|
1106
1106
|
Gets the size field of a font description.
|
1107
|
-
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a
|
1107
|
+
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a>.
|
1108
|
+
</p>
|
1108
1109
|
<div class="variablelist"><table border="0">
|
1109
1110
|
<col align="left" valign="top">
|
1110
1111
|
<tbody>
|
1111
1112
|
<tr>
|
1112
1113
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1113
|
-
<td>
|
1114
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1114
1115
|
</td>
|
1115
1116
|
</tr>
|
1116
1117
|
<tr>
|
@@ -1127,26 +1128,27 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" titl
|
|
1127
1128
|
</table></div>
|
1128
1129
|
</div>
|
1129
1130
|
<hr>
|
1130
|
-
<div class="refsect2"
|
1131
|
+
<div class="refsect2">
|
1131
1132
|
<a name="pango-font-description-set-absolute-size"></a><h3>pango_font_description_set_absolute_size ()</h3>
|
1132
1133
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_absolute_size
|
1133
|
-
(<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1134
|
-
<span class="
|
1134
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1135
|
+
<em class="parameter"><code><span class="type">double</span> size</code></em>);</pre>
|
1135
1136
|
<p>
|
1136
1137
|
Sets the size field of a font description, in device units. This is mutually
|
1137
1138
|
exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a> which sets the font size
|
1138
|
-
in points
|
1139
|
+
in points.
|
1140
|
+
</p>
|
1139
1141
|
<div class="variablelist"><table border="0">
|
1140
1142
|
<col align="left" valign="top">
|
1141
1143
|
<tbody>
|
1142
1144
|
<tr>
|
1143
1145
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1144
|
-
<td>
|
1146
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1145
1147
|
</td>
|
1146
1148
|
</tr>
|
1147
1149
|
<tr>
|
1148
1150
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1149
|
-
<td>
|
1151
|
+
<td>the new size, in Pango units. There are <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> Pango units in one
|
1150
1152
|
device unit. For an output backend where a device unit is a pixel, a <em class="parameter"><code>size</code></em>
|
1151
1153
|
value of 10 * PANGO_SCALE gives a 10 pixel font.
|
1152
1154
|
</td>
|
@@ -1156,19 +1158,20 @@ in points.</p>
|
|
1156
1158
|
<p class="since">Since 1.8</p>
|
1157
1159
|
</div>
|
1158
1160
|
<hr>
|
1159
|
-
<div class="refsect2"
|
1161
|
+
<div class="refsect2">
|
1160
1162
|
<a name="pango-font-description-get-size-is-absolute"></a><h3>pango_font_description_get_size_is_absolute ()</h3>
|
1161
|
-
<pre class="programlisting"><
|
1162
|
-
(const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1163
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_get_size_is_absolute
|
1164
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1163
1165
|
<p>
|
1164
1166
|
Determines whether the size of the font is in points (not absolute) or device units (absolute).
|
1165
|
-
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a> and <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a
|
1167
|
+
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a> and <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a>.
|
1168
|
+
</p>
|
1166
1169
|
<div class="variablelist"><table border="0">
|
1167
1170
|
<col align="left" valign="top">
|
1168
1171
|
<tbody>
|
1169
1172
|
<tr>
|
1170
1173
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1171
|
-
<td>
|
1174
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1172
1175
|
</td>
|
1173
1176
|
</tr>
|
1174
1177
|
<tr>
|
@@ -1184,10 +1187,10 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" titl
|
|
1184
1187
|
<p class="since">Since 1.8</p>
|
1185
1188
|
</div>
|
1186
1189
|
<hr>
|
1187
|
-
<div class="refsect2"
|
1190
|
+
<div class="refsect2">
|
1188
1191
|
<a name="pango-font-description-set-gravity"></a><h3>pango_font_description_set_gravity ()</h3>
|
1189
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_gravity (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1190
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
1192
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_gravity (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1193
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
1191
1194
|
<p>
|
1192
1195
|
Sets the gravity field of a font description. The gravity field
|
1193
1196
|
specifies how the glyphs should be rotated. If <em class="parameter"><code>gravity</code></em> is
|
@@ -1196,18 +1199,19 @@ the font description.
|
|
1196
1199
|
</p>
|
1197
1200
|
<p>
|
1198
1201
|
This function is seldom useful to the user. Gravity should normally
|
1199
|
-
be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a
|
1202
|
+
be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
1203
|
+
</p>
|
1200
1204
|
<div class="variablelist"><table border="0">
|
1201
1205
|
<col align="left" valign="top">
|
1202
1206
|
<tbody>
|
1203
1207
|
<tr>
|
1204
1208
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1205
|
-
<td>
|
1209
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1206
1210
|
</td>
|
1207
1211
|
</tr>
|
1208
1212
|
<tr>
|
1209
1213
|
<td><p><span class="term"><em class="parameter"><code>gravity</code></em> :</span></p></td>
|
1210
|
-
<td>
|
1214
|
+
<td>the gravity for the font description.
|
1211
1215
|
</td>
|
1212
1216
|
</tr>
|
1213
1217
|
</tbody>
|
@@ -1215,18 +1219,19 @@ be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span
|
|
1215
1219
|
<p class="since">Since 1.16</p>
|
1216
1220
|
</div>
|
1217
1221
|
<hr>
|
1218
|
-
<div class="refsect2"
|
1222
|
+
<div class="refsect2">
|
1219
1223
|
<a name="pango-font-description-get-gravity"></a><h3>pango_font_description_get_gravity ()</h3>
|
1220
|
-
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_font_description_get_gravity (const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1224
|
+
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_font_description_get_gravity (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1221
1225
|
<p>
|
1222
1226
|
Gets the gravity field of a font description. See
|
1223
|
-
<a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()"><code class="function">pango_font_description_set_gravity()</code></a
|
1227
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()"><code class="function">pango_font_description_set_gravity()</code></a>.
|
1228
|
+
</p>
|
1224
1229
|
<div class="variablelist"><table border="0">
|
1225
1230
|
<col align="left" valign="top">
|
1226
1231
|
<tbody>
|
1227
1232
|
<tr>
|
1228
1233
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1229
|
-
<td>
|
1234
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1230
1235
|
</td>
|
1231
1236
|
</tr>
|
1232
1237
|
<tr>
|
@@ -1242,18 +1247,19 @@ Gets the gravity field of a font description. See
|
|
1242
1247
|
<p class="since">Since 1.16</p>
|
1243
1248
|
</div>
|
1244
1249
|
<hr>
|
1245
|
-
<div class="refsect2"
|
1250
|
+
<div class="refsect2">
|
1246
1251
|
<a name="pango-font-description-get-set-fields"></a><h3>pango_font_description_get_set_fields ()</h3>
|
1247
1252
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="returnvalue">PangoFontMask</span></a> pango_font_description_get_set_fields
|
1248
|
-
(const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1253
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1249
1254
|
<p>
|
1250
|
-
Determines which fields in a font description have been set
|
1255
|
+
Determines which fields in a font description have been set.
|
1256
|
+
</p>
|
1251
1257
|
<div class="variablelist"><table border="0">
|
1252
1258
|
<col align="left" valign="top">
|
1253
1259
|
<tbody>
|
1254
1260
|
<tr>
|
1255
1261
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1256
|
-
<td>
|
1262
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1257
1263
|
</td>
|
1258
1264
|
</tr>
|
1259
1265
|
<tr>
|
@@ -1266,59 +1272,61 @@ Determines which fields in a font description have been set.</p>
|
|
1266
1272
|
</table></div>
|
1267
1273
|
</div>
|
1268
1274
|
<hr>
|
1269
|
-
<div class="refsect2"
|
1275
|
+
<div class="refsect2">
|
1270
1276
|
<a name="pango-font-description-unset-fields"></a><h3>pango_font_description_unset_fields ()</h3>
|
1271
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_unset_fields (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1272
|
-
<a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="
|
1277
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_unset_fields (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1278
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="type">PangoFontMask</span></a> to_unset</code></em>);</pre>
|
1273
1279
|
<p>
|
1274
1280
|
Unsets some of the fields in a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The unset
|
1275
|
-
fields will get back to their default values
|
1281
|
+
fields will get back to their default values.
|
1282
|
+
</p>
|
1276
1283
|
<div class="variablelist"><table border="0">
|
1277
1284
|
<col align="left" valign="top">
|
1278
1285
|
<tbody>
|
1279
1286
|
<tr>
|
1280
1287
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1281
|
-
<td>
|
1288
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1282
1289
|
</td>
|
1283
1290
|
</tr>
|
1284
1291
|
<tr>
|
1285
1292
|
<td><p><span class="term"><em class="parameter"><code>to_unset</code></em> :</span></p></td>
|
1286
|
-
<td>
|
1293
|
+
<td>bitmask of fields in the <em class="parameter"><code>desc</code></em> to unset.
|
1287
1294
|
</td>
|
1288
1295
|
</tr>
|
1289
1296
|
</tbody>
|
1290
1297
|
</table></div>
|
1291
1298
|
</div>
|
1292
1299
|
<hr>
|
1293
|
-
<div class="refsect2"
|
1300
|
+
<div class="refsect2">
|
1294
1301
|
<a name="pango-font-description-merge"></a><h3>pango_font_description_merge ()</h3>
|
1295
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1296
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1297
|
-
<
|
1302
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1303
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1304
|
+
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);</pre>
|
1298
1305
|
<p>
|
1299
1306
|
Merges the fields that are set in <em class="parameter"><code>desc_to_merge</code></em> into the fields in
|
1300
|
-
<em class="parameter"><code>desc</code></em>. If <em class="parameter"><code>replace_existing</code></em> is <
|
1301
|
-
are not already set are affected. If <
|
1307
|
+
<em class="parameter"><code>desc</code></em>. If <em class="parameter"><code>replace_existing</code></em> is <code class="literal">FALSE</code>, only fields in <em class="parameter"><code>desc</code></em> that
|
1308
|
+
are not already set are affected. If <code class="literal">TRUE</code>, then fields that are
|
1302
1309
|
already set will be replaced as well.
|
1303
1310
|
</p>
|
1304
1311
|
<p>
|
1305
|
-
If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/usr/share/gtk-doc/html/
|
1312
|
+
If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, this function performs nothing.
|
1313
|
+
</p>
|
1306
1314
|
<div class="variablelist"><table border="0">
|
1307
1315
|
<col align="left" valign="top">
|
1308
1316
|
<tbody>
|
1309
1317
|
<tr>
|
1310
1318
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1311
|
-
<td>
|
1319
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1312
1320
|
</td>
|
1313
1321
|
</tr>
|
1314
1322
|
<tr>
|
1315
1323
|
<td><p><span class="term"><em class="parameter"><code>desc_to_merge</code></em> :</span></p></td>
|
1316
|
-
<td>
|
1324
|
+
<td>the <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1317
1325
|
</td>
|
1318
1326
|
</tr>
|
1319
1327
|
<tr>
|
1320
1328
|
<td><p><span class="term"><em class="parameter"><code>replace_existing</code></em> :</span></p></td>
|
1321
|
-
<td>
|
1329
|
+
<td>if <code class="literal">TRUE</code>, replace fields in <em class="parameter"><code>desc</code></em> with the
|
1322
1330
|
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>, even if they
|
1323
1331
|
are already exist.
|
1324
1332
|
</td>
|
@@ -1327,32 +1335,33 @@ If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/usr/share/
|
|
1327
1335
|
</table></div>
|
1328
1336
|
</div>
|
1329
1337
|
<hr>
|
1330
|
-
<div class="refsect2"
|
1338
|
+
<div class="refsect2">
|
1331
1339
|
<a name="pango-font-description-merge-static"></a><h3>pango_font_description_merge_static ()</h3>
|
1332
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge_static (<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1333
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1334
|
-
<
|
1340
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge_static (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1341
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1342
|
+
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);</pre>
|
1335
1343
|
<p>
|
1336
1344
|
Like <a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()"><code class="function">pango_font_description_merge()</code></a>, but only a shallow copy is made
|
1337
1345
|
of the family name and other allocated fields. <em class="parameter"><code>desc</code></em> can only be
|
1338
1346
|
used until <em class="parameter"><code>desc_to_merge</code></em> is modified or freed. This is meant
|
1339
|
-
to be used when the merged font description is only needed temporarily
|
1347
|
+
to be used when the merged font description is only needed temporarily.
|
1348
|
+
</p>
|
1340
1349
|
<div class="variablelist"><table border="0">
|
1341
1350
|
<col align="left" valign="top">
|
1342
1351
|
<tbody>
|
1343
1352
|
<tr>
|
1344
1353
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1345
|
-
<td>
|
1354
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1346
1355
|
</td>
|
1347
1356
|
</tr>
|
1348
1357
|
<tr>
|
1349
1358
|
<td><p><span class="term"><em class="parameter"><code>desc_to_merge</code></em> :</span></p></td>
|
1350
|
-
<td>
|
1359
|
+
<td>the <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from
|
1351
1360
|
</td>
|
1352
1361
|
</tr>
|
1353
1362
|
<tr>
|
1354
1363
|
<td><p><span class="term"><em class="parameter"><code>replace_existing</code></em> :</span></p></td>
|
1355
|
-
<td>
|
1364
|
+
<td>if <code class="literal">TRUE</code>, replace fields in <em class="parameter"><code>desc</code></em> with the
|
1356
1365
|
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>, even if they
|
1357
1366
|
are already exist.
|
1358
1367
|
</td>
|
@@ -1361,14 +1370,14 @@ to be used when the merged font description is only needed temporarily.</p>
|
|
1361
1370
|
</table></div>
|
1362
1371
|
</div>
|
1363
1372
|
<hr>
|
1364
|
-
<div class="refsect2"
|
1373
|
+
<div class="refsect2">
|
1365
1374
|
<a name="pango-font-description-better-match"></a><h3>pango_font_description_better_match ()</h3>
|
1366
|
-
<pre class="programlisting"><
|
1367
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1368
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
1375
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_better_match (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1376
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *old_match</code></em>,
|
1377
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *new_match</code></em>);</pre>
|
1369
1378
|
<p>
|
1370
1379
|
Determines if the style attributes of <em class="parameter"><code>new_match</code></em> are a closer match
|
1371
|
-
for <em class="parameter"><code>desc</code></em> than those of <em class="parameter"><code>old_match</code></em> are, or if <em class="parameter"><code>old_match</code></em> is <a href="/usr/share/gtk-doc/html/
|
1380
|
+
for <em class="parameter"><code>desc</code></em> than those of <em class="parameter"><code>old_match</code></em> are, or if <em class="parameter"><code>old_match</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>,
|
1372
1381
|
determines if <em class="parameter"><code>new_match</code></em> is a match at all.
|
1373
1382
|
Approximate matching is done for
|
1374
1383
|
weight and style; other style attributes must match exactly.
|
@@ -1378,38 +1387,39 @@ and PANGO_STYLE_ITALIC as matches, but not as good a match as when the
|
|
1378
1387
|
styles are equal.
|
1379
1388
|
</p>
|
1380
1389
|
<p>
|
1381
|
-
Note that <em class="parameter"><code>old_match</code></em> must match <em class="parameter"><code>desc</code></em
|
1390
|
+
Note that <em class="parameter"><code>old_match</code></em> must match <em class="parameter"><code>desc</code></em>.
|
1391
|
+
</p>
|
1382
1392
|
<div class="variablelist"><table border="0">
|
1383
1393
|
<col align="left" valign="top">
|
1384
1394
|
<tbody>
|
1385
1395
|
<tr>
|
1386
1396
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1387
|
-
<td>
|
1397
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1388
1398
|
</td>
|
1389
1399
|
</tr>
|
1390
1400
|
<tr>
|
1391
1401
|
<td><p><span class="term"><em class="parameter"><code>old_match</code></em> :</span></p></td>
|
1392
|
-
<td>
|
1402
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1393
1403
|
</td>
|
1394
1404
|
</tr>
|
1395
1405
|
<tr>
|
1396
1406
|
<td><p><span class="term"><em class="parameter"><code>new_match</code></em> :</span></p></td>
|
1397
|
-
<td>
|
1407
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1398
1408
|
</td>
|
1399
1409
|
</tr>
|
1400
1410
|
<tr>
|
1401
1411
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1402
|
-
<td> <
|
1412
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>new_match</code></em> is a better match
|
1403
1413
|
</td>
|
1404
1414
|
</tr>
|
1405
1415
|
</tbody>
|
1406
1416
|
</table></div>
|
1407
1417
|
</div>
|
1408
1418
|
<hr>
|
1409
|
-
<div class="refsect2"
|
1419
|
+
<div class="refsect2">
|
1410
1420
|
<a name="pango-font-description-from-string"></a><h3>pango_font_description_from_string ()</h3>
|
1411
1421
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_from_string
|
1412
|
-
(const <span class="
|
1422
|
+
(<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
1413
1423
|
<p>
|
1414
1424
|
Creates a new font description from a string representation in the
|
1415
1425
|
form "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where FAMILY-LIST is a
|
@@ -1419,16 +1429,17 @@ describes one of style, variant, weight, stretch, or gravity, and SIZE
|
|
1419
1429
|
is a decimal number (size in points) or optionally followed by the
|
1420
1430
|
unit modifier "px" for absolute size. Any one of the options may
|
1421
1431
|
be absent. If FAMILY-LIST is absent, then the family_name field of
|
1422
|
-
the resulting font description will be initialized to <a href="/usr/share/gtk-doc/html/
|
1432
|
+
the resulting font description will be initialized to <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. If
|
1423
1433
|
STYLE-OPTIONS is missing, then all style options will be set to the
|
1424
1434
|
default values. If SIZE is missing, the size in the resulting font
|
1425
|
-
description will be set to 0
|
1435
|
+
description will be set to 0.
|
1436
|
+
</p>
|
1426
1437
|
<div class="variablelist"><table border="0">
|
1427
1438
|
<col align="left" valign="top">
|
1428
1439
|
<tbody>
|
1429
1440
|
<tr>
|
1430
1441
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
1431
|
-
<td>
|
1442
|
+
<td>string representation of a font description.
|
1432
1443
|
</td>
|
1433
1444
|
</tr>
|
1434
1445
|
<tr>
|
@@ -1440,60 +1451,63 @@ description will be set to 0.</p>
|
|
1440
1451
|
</table></div>
|
1441
1452
|
</div>
|
1442
1453
|
<hr>
|
1443
|
-
<div class="refsect2"
|
1454
|
+
<div class="refsect2">
|
1444
1455
|
<a name="pango-font-description-to-string"></a><h3>pango_font_description_to_string ()</h3>
|
1445
|
-
<pre class="programlisting"><span class="returnvalue">char</span> *
|
1456
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * pango_font_description_to_string (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1446
1457
|
<p>
|
1447
1458
|
Creates a string representation of a font description. See
|
1448
1459
|
<a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string ()"><code class="function">pango_font_description_from_string()</code></a> for a description of the
|
1449
1460
|
format of the string representation. The family list in the
|
1450
1461
|
string description will only have a terminating comma if the
|
1451
|
-
last word of the list is a valid style option
|
1462
|
+
last word of the list is a valid style option.
|
1463
|
+
</p>
|
1452
1464
|
<div class="variablelist"><table border="0">
|
1453
1465
|
<col align="left" valign="top">
|
1454
1466
|
<tbody>
|
1455
1467
|
<tr>
|
1456
1468
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1457
|
-
<td>
|
1469
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1458
1470
|
</td>
|
1459
1471
|
</tr>
|
1460
1472
|
<tr>
|
1461
1473
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1462
|
-
<td> a new string that must be freed with <
|
1474
|
+
<td> a new string that must be freed with <code class="function">g_free()</code>.
|
1463
1475
|
</td>
|
1464
1476
|
</tr>
|
1465
1477
|
</tbody>
|
1466
1478
|
</table></div>
|
1467
1479
|
</div>
|
1468
1480
|
<hr>
|
1469
|
-
<div class="refsect2"
|
1481
|
+
<div class="refsect2">
|
1470
1482
|
<a name="pango-font-description-to-filename"></a><h3>pango_font_description_to_filename ()</h3>
|
1471
|
-
<pre class="programlisting"><span class="returnvalue">char</span> *
|
1483
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * pango_font_description_to_filename
|
1484
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1472
1485
|
<p>
|
1473
1486
|
Creates a filename representation of a font description. The
|
1474
1487
|
filename is identical to the result from calling
|
1475
1488
|
<a class="link" href="pango-Fonts.html#pango-font-description-to-string" title="pango_font_description_to_string ()"><code class="function">pango_font_description_to_string()</code></a>, but with underscores instead of
|
1476
|
-
characters that are untypical in filenames, and in lower case only
|
1489
|
+
characters that are untypical in filenames, and in lower case only.
|
1490
|
+
</p>
|
1477
1491
|
<div class="variablelist"><table border="0">
|
1478
1492
|
<col align="left" valign="top">
|
1479
1493
|
<tbody>
|
1480
1494
|
<tr>
|
1481
1495
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1482
|
-
<td>
|
1496
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1483
1497
|
</td>
|
1484
1498
|
</tr>
|
1485
1499
|
<tr>
|
1486
1500
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1487
|
-
<td> a new string that must be freed with <
|
1501
|
+
<td> a new string that must be freed with <code class="function">g_free()</code>.
|
1488
1502
|
</td>
|
1489
1503
|
</tr>
|
1490
1504
|
</tbody>
|
1491
1505
|
</table></div>
|
1492
1506
|
</div>
|
1493
1507
|
<hr>
|
1494
|
-
<div class="refsect2"
|
1495
|
-
<a name="PangoFontMetrics"></a><h3>PangoFontMetrics</h3>
|
1496
|
-
<pre class="programlisting">
|
1508
|
+
<div class="refsect2">
|
1509
|
+
<a name="PangoFontMetrics"></a><h3>struct PangoFontMetrics</h3>
|
1510
|
+
<pre class="programlisting">struct PangoFontMetrics {
|
1497
1511
|
guint ref_count;
|
1498
1512
|
|
1499
1513
|
int ascent;
|
@@ -1504,10 +1518,10 @@ characters that are untypical in filenames, and in lower case only.</p>
|
|
1504
1518
|
int underline_thickness;
|
1505
1519
|
int strikethrough_position;
|
1506
1520
|
int strikethrough_thickness;
|
1507
|
-
}
|
1521
|
+
};
|
1508
1522
|
</pre>
|
1509
1523
|
<p>
|
1510
|
-
A <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure holds the overall metric information
|
1524
|
+
A <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure holds the overall metric information
|
1511
1525
|
for a font (possibly restricted to a script). The fields of this
|
1512
1526
|
structure are private to implementations of a font backend. See
|
1513
1527
|
the documentation of the corresponding getters for documentation
|
@@ -1517,7 +1531,7 @@ of their meaning.
|
|
1517
1531
|
<col align="left" valign="top">
|
1518
1532
|
<tbody>
|
1519
1533
|
<tr>
|
1520
|
-
<td><p><span class="term"><
|
1534
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoFontMetrics.ref-count"></a>ref_count</code></em>;</span></p></td>
|
1521
1535
|
<td>reference count. Used internally. See <a class="link" href="pango-Fonts.html#pango-font-metrics-ref" title="pango_font_metrics_ref ()"><code class="function">pango_font_metrics_ref()</code></a>
|
1522
1536
|
and <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>.
|
1523
1537
|
</td>
|
@@ -1538,7 +1552,7 @@ of their meaning.
|
|
1538
1552
|
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.approximate-char-width"></a>approximate_char_width</code></em>;</span></p></td>
|
1539
1553
|
<td>approximate average width of the regular glyphs of
|
1540
1554
|
the font. Note that for this calculation, East Asian characters
|
1541
|
-
(those passing <
|
1555
|
+
(those passing <code class="function">g_unichar_iswide()</code>) are counted as double-width.
|
1542
1556
|
This produces a more uniform value for this measure across languages
|
1543
1557
|
and results in more uniform and more expected UI sizes.
|
1544
1558
|
</td>
|
@@ -1574,26 +1588,27 @@ of their meaning.
|
|
1574
1588
|
</table></div>
|
1575
1589
|
</div>
|
1576
1590
|
<hr>
|
1577
|
-
<div class="refsect2"
|
1591
|
+
<div class="refsect2">
|
1578
1592
|
<a name="PANGO-TYPE-FONT-METRICS:CAPS"></a><h3>PANGO_TYPE_FONT_METRICS</h3>
|
1579
1593
|
<pre class="programlisting">#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
|
1580
1594
|
</pre>
|
1581
1595
|
<p>
|
1582
|
-
The <
|
1596
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a>.
|
1583
1597
|
</p>
|
1584
1598
|
</div>
|
1585
1599
|
<hr>
|
1586
|
-
<div class="refsect2"
|
1600
|
+
<div class="refsect2">
|
1587
1601
|
<a name="pango-font-metrics-ref"></a><h3>pango_font_metrics_ref ()</h3>
|
1588
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * pango_font_metrics_ref (<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1602
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * pango_font_metrics_ref (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1589
1603
|
<p>
|
1590
|
-
Increase the reference count of a font metrics structure by one
|
1604
|
+
Increase the reference count of a font metrics structure by one.
|
1605
|
+
</p>
|
1591
1606
|
<div class="variablelist"><table border="0">
|
1592
1607
|
<col align="left" valign="top">
|
1593
1608
|
<tbody>
|
1594
1609
|
<tr>
|
1595
1610
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1596
|
-
<td>
|
1611
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1597
1612
|
</td>
|
1598
1613
|
</tr>
|
1599
1614
|
<tr>
|
@@ -1605,38 +1620,40 @@ Increase the reference count of a font metrics structure by one.</p>
|
|
1605
1620
|
</table></div>
|
1606
1621
|
</div>
|
1607
1622
|
<hr>
|
1608
|
-
<div class="refsect2"
|
1623
|
+
<div class="refsect2">
|
1609
1624
|
<a name="pango-font-metrics-unref"></a><h3>pango_font_metrics_unref ()</h3>
|
1610
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_metrics_unref (<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1625
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_metrics_unref (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1611
1626
|
<p>
|
1612
1627
|
Decrease the reference count of a font metrics structure by one. If
|
1613
1628
|
the result is zero, frees the structure and any associated
|
1614
|
-
memory
|
1629
|
+
memory.
|
1630
|
+
</p>
|
1615
1631
|
<div class="variablelist"><table border="0">
|
1616
1632
|
<col align="left" valign="top">
|
1617
1633
|
<tbody><tr>
|
1618
1634
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1619
|
-
<td>
|
1635
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1620
1636
|
</td>
|
1621
1637
|
</tr></tbody>
|
1622
1638
|
</table></div>
|
1623
1639
|
</div>
|
1624
1640
|
<hr>
|
1625
|
-
<div class="refsect2"
|
1641
|
+
<div class="refsect2">
|
1626
1642
|
<a name="pango-font-metrics-get-ascent"></a><h3>pango_font_metrics_get_ascent ()</h3>
|
1627
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_ascent (<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1643
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_ascent (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1628
1644
|
<p>
|
1629
1645
|
Gets the ascent from a font metrics structure. The ascent is
|
1630
1646
|
the distance from the baseline to the logical top of a line
|
1631
1647
|
of text. (The logical top may be above or below the top of the
|
1632
1648
|
actual drawn ink. It is necessary to lay out the text to figure
|
1633
|
-
where the ink will be.)
|
1649
|
+
where the ink will be.)
|
1650
|
+
</p>
|
1634
1651
|
<div class="variablelist"><table border="0">
|
1635
1652
|
<col align="left" valign="top">
|
1636
1653
|
<tbody>
|
1637
1654
|
<tr>
|
1638
1655
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1639
|
-
<td>
|
1656
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure
|
1640
1657
|
</td>
|
1641
1658
|
</tr>
|
1642
1659
|
<tr>
|
@@ -1648,21 +1665,22 @@ where the ink will be.)</p>
|
|
1648
1665
|
</table></div>
|
1649
1666
|
</div>
|
1650
1667
|
<hr>
|
1651
|
-
<div class="refsect2"
|
1668
|
+
<div class="refsect2">
|
1652
1669
|
<a name="pango-font-metrics-get-descent"></a><h3>pango_font_metrics_get_descent ()</h3>
|
1653
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_descent (<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1670
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_descent (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1654
1671
|
<p>
|
1655
1672
|
Gets the descent from a font metrics structure. The descent is
|
1656
1673
|
the distance from the baseline to the logical bottom of a line
|
1657
1674
|
of text. (The logical bottom may be above or below the bottom of the
|
1658
1675
|
actual drawn ink. It is necessary to lay out the text to figure
|
1659
|
-
where the ink will be.)
|
1676
|
+
where the ink will be.)
|
1677
|
+
</p>
|
1660
1678
|
<div class="variablelist"><table border="0">
|
1661
1679
|
<col align="left" valign="top">
|
1662
1680
|
<tbody>
|
1663
1681
|
<tr>
|
1664
1682
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1665
|
-
<td>
|
1683
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure
|
1666
1684
|
</td>
|
1667
1685
|
</tr>
|
1668
1686
|
<tr>
|
@@ -1674,21 +1692,22 @@ where the ink will be.)</p>
|
|
1674
1692
|
</table></div>
|
1675
1693
|
</div>
|
1676
1694
|
<hr>
|
1677
|
-
<div class="refsect2"
|
1695
|
+
<div class="refsect2">
|
1678
1696
|
<a name="pango-font-metrics-get-approximate-char-width"></a><h3>pango_font_metrics_get_approximate_char_width ()</h3>
|
1679
1697
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_approximate_char_width
|
1680
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1698
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1681
1699
|
<p>
|
1682
1700
|
Gets the approximate character width for a font metrics structure.
|
1683
1701
|
This is merely a representative value useful, for example, for
|
1684
1702
|
determining the initial size for a window. Actual characters in
|
1685
|
-
text will be wider and narrower than this
|
1703
|
+
text will be wider and narrower than this.
|
1704
|
+
</p>
|
1686
1705
|
<div class="variablelist"><table border="0">
|
1687
1706
|
<col align="left" valign="top">
|
1688
1707
|
<tbody>
|
1689
1708
|
<tr>
|
1690
1709
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1691
|
-
<td>
|
1710
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure
|
1692
1711
|
</td>
|
1693
1712
|
</tr>
|
1694
1713
|
<tr>
|
@@ -1700,23 +1719,24 @@ text will be wider and narrower than this.</p>
|
|
1700
1719
|
</table></div>
|
1701
1720
|
</div>
|
1702
1721
|
<hr>
|
1703
|
-
<div class="refsect2"
|
1722
|
+
<div class="refsect2">
|
1704
1723
|
<a name="pango-font-metrics-get-approximate-digit-width"></a><h3>pango_font_metrics_get_approximate_digit_width ()</h3>
|
1705
1724
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_approximate_digit_width
|
1706
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1725
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1707
1726
|
<p>
|
1708
1727
|
Gets the approximate digit width for a font metrics structure.
|
1709
1728
|
This is merely a representative value useful, for example, for
|
1710
1729
|
determining the initial size for a window. Actual digits in
|
1711
1730
|
text can be wider or narrower than this, though this value
|
1712
1731
|
is generally somewhat more accurate than the result of
|
1713
|
-
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> for digits
|
1732
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> for digits.
|
1733
|
+
</p>
|
1714
1734
|
<div class="variablelist"><table border="0">
|
1715
1735
|
<col align="left" valign="top">
|
1716
1736
|
<tbody>
|
1717
1737
|
<tr>
|
1718
1738
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1719
|
-
<td>
|
1739
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure
|
1720
1740
|
</td>
|
1721
1741
|
</tr>
|
1722
1742
|
<tr>
|
@@ -1728,18 +1748,19 @@ is generally somewhat more accurate than the result of
|
|
1728
1748
|
</table></div>
|
1729
1749
|
</div>
|
1730
1750
|
<hr>
|
1731
|
-
<div class="refsect2"
|
1751
|
+
<div class="refsect2">
|
1732
1752
|
<a name="pango-font-metrics-get-underline-thickness"></a><h3>pango_font_metrics_get_underline_thickness ()</h3>
|
1733
1753
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_underline_thickness
|
1734
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1754
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1735
1755
|
<p>
|
1736
|
-
Gets the suggested thickness to draw for the underline
|
1756
|
+
Gets the suggested thickness to draw for the underline.
|
1757
|
+
</p>
|
1737
1758
|
<div class="variablelist"><table border="0">
|
1738
1759
|
<col align="left" valign="top">
|
1739
1760
|
<tbody>
|
1740
1761
|
<tr>
|
1741
1762
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1742
|
-
<td>
|
1763
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure
|
1743
1764
|
</td>
|
1744
1765
|
</tr>
|
1745
1766
|
<tr>
|
@@ -1753,22 +1774,23 @@ Gets the suggested thickness to draw for the underline.</p>
|
|
1753
1774
|
<p class="since">Since 1.6</p>
|
1754
1775
|
</div>
|
1755
1776
|
<hr>
|
1756
|
-
<div class="refsect2"
|
1777
|
+
<div class="refsect2">
|
1757
1778
|
<a name="pango-font-metrics-get-underline-position"></a><h3>pango_font_metrics_get_underline_position ()</h3>
|
1758
1779
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_underline_position
|
1759
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1780
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1760
1781
|
<p>
|
1761
1782
|
Gets the suggested position to draw the underline.
|
1762
1783
|
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
1763
1784
|
baseline of the top of the underline. Since most fonts have
|
1764
1785
|
underline positions beneath the baseline, this value is typically
|
1765
|
-
negative
|
1786
|
+
negative.
|
1787
|
+
</p>
|
1766
1788
|
<div class="variablelist"><table border="0">
|
1767
1789
|
<col align="left" valign="top">
|
1768
1790
|
<tbody>
|
1769
1791
|
<tr>
|
1770
1792
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1771
|
-
<td>
|
1793
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure
|
1772
1794
|
</td>
|
1773
1795
|
</tr>
|
1774
1796
|
<tr>
|
@@ -1782,18 +1804,19 @@ negative.</p>
|
|
1782
1804
|
<p class="since">Since 1.6</p>
|
1783
1805
|
</div>
|
1784
1806
|
<hr>
|
1785
|
-
<div class="refsect2"
|
1807
|
+
<div class="refsect2">
|
1786
1808
|
<a name="pango-font-metrics-get-strikethrough-thickness"></a><h3>pango_font_metrics_get_strikethrough_thickness ()</h3>
|
1787
1809
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_strikethrough_thickness
|
1788
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1810
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1789
1811
|
<p>
|
1790
|
-
Gets the suggested thickness to draw for the strikethrough
|
1812
|
+
Gets the suggested thickness to draw for the strikethrough.
|
1813
|
+
</p>
|
1791
1814
|
<div class="variablelist"><table border="0">
|
1792
1815
|
<col align="left" valign="top">
|
1793
1816
|
<tbody>
|
1794
1817
|
<tr>
|
1795
1818
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1796
|
-
<td>
|
1819
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure
|
1797
1820
|
</td>
|
1798
1821
|
</tr>
|
1799
1822
|
<tr>
|
@@ -1807,20 +1830,21 @@ Gets the suggested thickness to draw for the strikethrough.</p>
|
|
1807
1830
|
<p class="since">Since 1.6</p>
|
1808
1831
|
</div>
|
1809
1832
|
<hr>
|
1810
|
-
<div class="refsect2"
|
1833
|
+
<div class="refsect2">
|
1811
1834
|
<a name="pango-font-metrics-get-strikethrough-position"></a><h3>pango_font_metrics_get_strikethrough_position ()</h3>
|
1812
1835
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_strikethrough_position
|
1813
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="
|
1836
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1814
1837
|
<p>
|
1815
1838
|
Gets the suggested position to draw the strikethrough.
|
1816
1839
|
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
1817
|
-
baseline of the top of the strikethrough
|
1840
|
+
baseline of the top of the strikethrough.
|
1841
|
+
</p>
|
1818
1842
|
<div class="variablelist"><table border="0">
|
1819
1843
|
<col align="left" valign="top">
|
1820
1844
|
<tbody>
|
1821
1845
|
<tr>
|
1822
1846
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1823
|
-
<td>
|
1847
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure
|
1824
1848
|
</td>
|
1825
1849
|
</tr>
|
1826
1850
|
<tr>
|
@@ -1834,7 +1858,7 @@ baseline of the top of the strikethrough.</p>
|
|
1834
1858
|
<p class="since">Since 1.6</p>
|
1835
1859
|
</div>
|
1836
1860
|
<hr>
|
1837
|
-
<div class="refsect2"
|
1861
|
+
<div class="refsect2">
|
1838
1862
|
<a name="PangoFont-struct"></a><h3>PangoFont</h3>
|
1839
1863
|
<pre class="programlisting">typedef struct _PangoFont PangoFont;</pre>
|
1840
1864
|
<p>
|
@@ -1854,73 +1878,74 @@ which the implementation fills in.
|
|
1854
1878
|
</p>
|
1855
1879
|
</div>
|
1856
1880
|
<hr>
|
1857
|
-
<div class="refsect2"
|
1881
|
+
<div class="refsect2">
|
1858
1882
|
<a name="PANGO-TYPE-FONT:CAPS"></a><h3>PANGO_TYPE_FONT</h3>
|
1859
1883
|
<pre class="programlisting">#define PANGO_TYPE_FONT (pango_font_get_type ())
|
1860
1884
|
</pre>
|
1861
1885
|
<p>
|
1862
|
-
The <
|
1886
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1863
1887
|
</p>
|
1864
1888
|
</div>
|
1865
1889
|
<hr>
|
1866
|
-
<div class="refsect2"
|
1890
|
+
<div class="refsect2">
|
1867
1891
|
<a name="PANGO-FONT:CAPS"></a><h3>PANGO_FONT()</h3>
|
1868
1892
|
<pre class="programlisting">#define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
|
1869
1893
|
</pre>
|
1870
1894
|
<p>
|
1871
|
-
Casts a <
|
1895
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1872
1896
|
</p>
|
1873
1897
|
<div class="variablelist"><table border="0">
|
1874
1898
|
<col align="left" valign="top">
|
1875
1899
|
<tbody><tr>
|
1876
1900
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1877
|
-
<td>a <
|
1901
|
+
<td>a <span class="type">GObject</span>.
|
1878
1902
|
</td>
|
1879
1903
|
</tr></tbody>
|
1880
1904
|
</table></div>
|
1881
1905
|
</div>
|
1882
1906
|
<hr>
|
1883
|
-
<div class="refsect2"
|
1907
|
+
<div class="refsect2">
|
1884
1908
|
<a name="PANGO-IS-FONT:CAPS"></a><h3>PANGO_IS_FONT()</h3>
|
1885
1909
|
<pre class="programlisting">#define PANGO_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT))
|
1886
1910
|
</pre>
|
1887
1911
|
<p>
|
1888
|
-
Returns <
|
1912
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1889
1913
|
</p>
|
1890
1914
|
<div class="variablelist"><table border="0">
|
1891
1915
|
<col align="left" valign="top">
|
1892
1916
|
<tbody><tr>
|
1893
1917
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1894
|
-
<td>a <
|
1918
|
+
<td>a <span class="type">GObject</span>.
|
1895
1919
|
</td>
|
1896
1920
|
</tr></tbody>
|
1897
1921
|
</table></div>
|
1898
1922
|
</div>
|
1899
1923
|
<hr>
|
1900
|
-
<div class="refsect2"
|
1924
|
+
<div class="refsect2">
|
1901
1925
|
<a name="pango-font-find-shaper"></a><h3>pango_font_find_shaper ()</h3>
|
1902
|
-
<pre class="programlisting"><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> *
|
1903
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
1904
|
-
<
|
1926
|
+
<pre class="programlisting"><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> * pango_font_find_shaper (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1927
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
1928
|
+
<em class="parameter"><code><span class="type">guint32</span> ch</code></em>);</pre>
|
1905
1929
|
<p>
|
1906
1930
|
Finds the best matching shaper for a font for a particular
|
1907
|
-
language tag and character point
|
1931
|
+
language tag and character point.
|
1932
|
+
</p>
|
1908
1933
|
<div class="variablelist"><table border="0">
|
1909
1934
|
<col align="left" valign="top">
|
1910
1935
|
<tbody>
|
1911
1936
|
<tr>
|
1912
1937
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1913
|
-
<td>
|
1938
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
1914
1939
|
</td>
|
1915
1940
|
</tr>
|
1916
1941
|
<tr>
|
1917
1942
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1918
|
-
<td>
|
1943
|
+
<td>the language tag
|
1919
1944
|
</td>
|
1920
1945
|
</tr>
|
1921
1946
|
<tr>
|
1922
1947
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
1923
|
-
<td>
|
1948
|
+
<td>a Unicode character.
|
1924
1949
|
</td>
|
1925
1950
|
</tr>
|
1926
1951
|
<tr>
|
@@ -1932,19 +1957,20 @@ language tag and character point.</p>
|
|
1932
1957
|
</table></div>
|
1933
1958
|
</div>
|
1934
1959
|
<hr>
|
1935
|
-
<div class="refsect2"
|
1960
|
+
<div class="refsect2">
|
1936
1961
|
<a name="pango-font-describe"></a><h3>pango_font_describe ()</h3>
|
1937
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_describe (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
1962
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_describe (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
1938
1963
|
<p>
|
1939
1964
|
Returns a description of the font, with font size set in points.
|
1940
1965
|
Use <a class="link" href="pango-Fonts.html#pango-font-describe-with-absolute-size" title="pango_font_describe_with_absolute_size ()"><code class="function">pango_font_describe_with_absolute_size()</code></a> if you want the font
|
1941
|
-
size in device units
|
1966
|
+
size in device units.
|
1967
|
+
</p>
|
1942
1968
|
<div class="variablelist"><table border="0">
|
1943
1969
|
<col align="left" valign="top">
|
1944
1970
|
<tbody>
|
1945
1971
|
<tr>
|
1946
1972
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1947
|
-
<td>
|
1973
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
1948
1974
|
</td>
|
1949
1975
|
</tr>
|
1950
1976
|
<tr>
|
@@ -1956,20 +1982,21 @@ size in device units.</p>
|
|
1956
1982
|
</table></div>
|
1957
1983
|
</div>
|
1958
1984
|
<hr>
|
1959
|
-
<div class="refsect2"
|
1985
|
+
<div class="refsect2">
|
1960
1986
|
<a name="pango-font-describe-with-absolute-size"></a><h3>pango_font_describe_with_absolute_size ()</h3>
|
1961
1987
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_describe_with_absolute_size
|
1962
|
-
(<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
1988
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
1963
1989
|
<p>
|
1964
1990
|
Returns a description of the font, with absolute font size set
|
1965
1991
|
(in device units). Use <a class="link" href="pango-Fonts.html#pango-font-describe" title="pango_font_describe ()"><code class="function">pango_font_describe()</code></a> if you want the font
|
1966
|
-
size in points
|
1992
|
+
size in points.
|
1993
|
+
</p>
|
1967
1994
|
<div class="variablelist"><table border="0">
|
1968
1995
|
<col align="left" valign="top">
|
1969
1996
|
<tbody>
|
1970
1997
|
<tr>
|
1971
1998
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1972
|
-
<td>
|
1999
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
1973
2000
|
</td>
|
1974
2001
|
</tr>
|
1975
2002
|
<tr>
|
@@ -1983,23 +2010,24 @@ size in points.</p>
|
|
1983
2010
|
<p class="since">Since 1.14</p>
|
1984
2011
|
</div>
|
1985
2012
|
<hr>
|
1986
|
-
<div class="refsect2"
|
2013
|
+
<div class="refsect2">
|
1987
2014
|
<a name="pango-font-get-coverage"></a><h3>pango_font_get_coverage ()</h3>
|
1988
|
-
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> *
|
1989
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
2015
|
+
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_font_get_coverage (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2016
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1990
2017
|
<p>
|
1991
|
-
Computes the coverage map for a given font and language tag
|
2018
|
+
Computes the coverage map for a given font and language tag.
|
2019
|
+
</p>
|
1992
2020
|
<div class="variablelist"><table border="0">
|
1993
2021
|
<col align="left" valign="top">
|
1994
2022
|
<tbody>
|
1995
2023
|
<tr>
|
1996
2024
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1997
|
-
<td>
|
2025
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
1998
2026
|
</td>
|
1999
2027
|
</tr>
|
2000
2028
|
<tr>
|
2001
2029
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2002
|
-
<td>
|
2030
|
+
<td>the language tag
|
2003
2031
|
</td>
|
2004
2032
|
</tr>
|
2005
2033
|
<tr>
|
@@ -2011,12 +2039,12 @@ Computes the coverage map for a given font and language tag.</p>
|
|
2011
2039
|
</table></div>
|
2012
2040
|
</div>
|
2013
2041
|
<hr>
|
2014
|
-
<div class="refsect2"
|
2042
|
+
<div class="refsect2">
|
2015
2043
|
<a name="pango-font-get-glyph-extents"></a><h3>pango_font_get_glyph_extents ()</h3>
|
2016
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_get_glyph_extents (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
2017
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="
|
2018
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
2019
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
2044
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_get_glyph_extents (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2045
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>,
|
2046
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
2047
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
|
2020
2048
|
<p>
|
2021
2049
|
Gets the logical and ink extents of a glyph within a font. The
|
2022
2050
|
coordinate system for each rectangle has its origin at the
|
@@ -2027,41 +2055,42 @@ from the extents rectangle to more traditional font metrics. The units
|
|
2027
2055
|
of the rectangles are in 1/PANGO_SCALE of a device unit.
|
2028
2056
|
</p>
|
2029
2057
|
<p>
|
2030
|
-
If <em class="parameter"><code>font</code></em> is <a href="/usr/share/gtk-doc/html/
|
2031
|
-
output variables and returns
|
2058
|
+
If <em class="parameter"><code>font</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2059
|
+
output variables and returns.
|
2060
|
+
</p>
|
2032
2061
|
<div class="variablelist"><table border="0">
|
2033
2062
|
<col align="left" valign="top">
|
2034
2063
|
<tbody>
|
2035
2064
|
<tr>
|
2036
2065
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
2037
|
-
<td>
|
2066
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
2038
2067
|
</td>
|
2039
2068
|
</tr>
|
2040
2069
|
<tr>
|
2041
2070
|
<td><p><span class="term"><em class="parameter"><code>glyph</code></em> :</span></p></td>
|
2042
|
-
<td>
|
2071
|
+
<td>the glyph index
|
2043
2072
|
</td>
|
2044
2073
|
</tr>
|
2045
2074
|
<tr>
|
2046
2075
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2047
|
-
<td>
|
2048
|
-
or <a href="/usr/share/gtk-doc/html/
|
2076
|
+
<td>rectangle used to store the extents of the glyph as drawn
|
2077
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
|
2049
2078
|
</td>
|
2050
2079
|
</tr>
|
2051
2080
|
<tr>
|
2052
2081
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2053
|
-
<td>
|
2054
|
-
or <a href="/usr/share/gtk-doc/html/
|
2082
|
+
<td>rectangle used to store the logical extents of the glyph
|
2083
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
|
2055
2084
|
</td>
|
2056
2085
|
</tr>
|
2057
2086
|
</tbody>
|
2058
2087
|
</table></div>
|
2059
2088
|
</div>
|
2060
2089
|
<hr>
|
2061
|
-
<div class="refsect2"
|
2090
|
+
<div class="refsect2">
|
2062
2091
|
<a name="pango-font-get-metrics"></a><h3>pango_font_get_metrics ()</h3>
|
2063
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
2064
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
2092
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * pango_font_get_metrics (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2093
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2065
2094
|
<p>
|
2066
2095
|
Gets overall metric information for a font. Since the metrics may be
|
2067
2096
|
substantially different for different scripts, a language tag can
|
@@ -2069,26 +2098,27 @@ be provided to indicate that the metrics should be retrieved that
|
|
2069
2098
|
correspond to the script(s) used by that language.
|
2070
2099
|
</p>
|
2071
2100
|
<p>
|
2072
|
-
If <em class="parameter"><code>font</code></em> is <a href="/usr/share/gtk-doc/html/
|
2073
|
-
output variables and returns
|
2101
|
+
If <em class="parameter"><code>font</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2102
|
+
output variables and returns.
|
2103
|
+
</p>
|
2074
2104
|
<div class="variablelist"><table border="0">
|
2075
2105
|
<col align="left" valign="top">
|
2076
2106
|
<tbody>
|
2077
2107
|
<tr>
|
2078
2108
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
2079
|
-
<td>
|
2109
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
2080
2110
|
</td>
|
2081
2111
|
</tr>
|
2082
2112
|
<tr>
|
2083
2113
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2084
|
-
<td>
|
2085
|
-
for, or <a href="/usr/share/gtk-doc/html/
|
2114
|
+
<td>language tag used to determine which script to get the metrics
|
2115
|
+
for, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate to get the metrics for the entire
|
2086
2116
|
font.
|
2087
2117
|
</td>
|
2088
2118
|
</tr>
|
2089
2119
|
<tr>
|
2090
2120
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2091
|
-
<td> a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
2121
|
+
<td> a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
2092
2122
|
when finished using the object.
|
2093
2123
|
</td>
|
2094
2124
|
</tr>
|
@@ -2096,9 +2126,9 @@ output variables and returns.</p>
|
|
2096
2126
|
</table></div>
|
2097
2127
|
</div>
|
2098
2128
|
<hr>
|
2099
|
-
<div class="refsect2"
|
2129
|
+
<div class="refsect2">
|
2100
2130
|
<a name="pango-font-get-font-map"></a><h3>pango_font_get_font_map ()</h3>
|
2101
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_font_get_font_map (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
2131
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_font_get_font_map (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
2102
2132
|
<p>
|
2103
2133
|
Gets the font map for which the font was created.
|
2104
2134
|
</p>
|
@@ -2106,21 +2136,22 @@ Gets the font map for which the font was created.
|
|
2106
2136
|
Note that the font maintains a <em class="firstterm">weak</em> reference
|
2107
2137
|
to the font map, so if all references to font map are dropped, the font
|
2108
2138
|
map will be finalized even if there are fonts created with the font
|
2109
|
-
map that are still alive. In that case this function will return <a href="/usr/share/gtk-doc/html/
|
2139
|
+
map that are still alive. In that case this function will return <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
2110
2140
|
It is the responsibility of the user to ensure that the font map is kept
|
2111
2141
|
alive. In most uses this is not an issue as a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> holds
|
2112
|
-
a reference to the font map
|
2142
|
+
a reference to the font map.
|
2143
|
+
</p>
|
2113
2144
|
<div class="variablelist"><table border="0">
|
2114
2145
|
<col align="left" valign="top">
|
2115
2146
|
<tbody>
|
2116
2147
|
<tr>
|
2117
2148
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
2118
|
-
<td>
|
2149
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2119
2150
|
</td>
|
2120
2151
|
</tr>
|
2121
2152
|
<tr>
|
2122
2153
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2123
|
-
<td> the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> for the font, or <a href="/usr/share/gtk-doc/html/
|
2154
|
+
<td> the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> for the font, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
2124
2155
|
|
2125
2156
|
</td>
|
2126
2157
|
</tr>
|
@@ -2129,9 +2160,9 @@ a reference to the font map.</p>
|
|
2129
2160
|
<p class="since">Since 1.10</p>
|
2130
2161
|
</div>
|
2131
2162
|
<hr>
|
2132
|
-
<div class="refsect2"
|
2133
|
-
<a name="PangoFontFamily-struct"></a><h3>PangoFontFamily</h3>
|
2134
|
-
<pre class="programlisting">
|
2163
|
+
<div class="refsect2">
|
2164
|
+
<a name="PangoFontFamily-struct"></a><h3>struct PangoFontFamily</h3>
|
2165
|
+
<pre class="programlisting">struct PangoFontFamily;</pre>
|
2135
2166
|
<p>
|
2136
2167
|
The <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> structure is used to represent a family of related
|
2137
2168
|
font faces. The faces in a family share a common design, but differ in
|
@@ -2139,62 +2170,63 @@ slant, weight, width and other aspects.
|
|
2139
2170
|
</p>
|
2140
2171
|
</div>
|
2141
2172
|
<hr>
|
2142
|
-
<div class="refsect2"
|
2173
|
+
<div class="refsect2">
|
2143
2174
|
<a name="PANGO-TYPE-FONT-FAMILY:CAPS"></a><h3>PANGO_TYPE_FONT_FAMILY</h3>
|
2144
2175
|
<pre class="programlisting">#define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
|
2145
2176
|
</pre>
|
2146
2177
|
<p>
|
2147
|
-
The <
|
2178
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2148
2179
|
</p>
|
2149
2180
|
</div>
|
2150
2181
|
<hr>
|
2151
|
-
<div class="refsect2"
|
2182
|
+
<div class="refsect2">
|
2152
2183
|
<a name="PANGO-FONT-FAMILY:CAPS"></a><h3>PANGO_FONT_FAMILY()</h3>
|
2153
2184
|
<pre class="programlisting">#define PANGO_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, PangoFontFamily))
|
2154
2185
|
</pre>
|
2155
2186
|
<p>
|
2156
|
-
Casts a <
|
2187
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2157
2188
|
</p>
|
2158
2189
|
<div class="variablelist"><table border="0">
|
2159
2190
|
<col align="left" valign="top">
|
2160
2191
|
<tbody><tr>
|
2161
2192
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2162
|
-
<td>a <
|
2193
|
+
<td>a <span class="type">GObject</span>.
|
2163
2194
|
</td>
|
2164
2195
|
</tr></tbody>
|
2165
2196
|
</table></div>
|
2166
2197
|
</div>
|
2167
2198
|
<hr>
|
2168
|
-
<div class="refsect2"
|
2199
|
+
<div class="refsect2">
|
2169
2200
|
<a name="PANGO-IS-FONT-FAMILY:CAPS"></a><h3>PANGO_IS_FONT_FAMILY()</h3>
|
2170
2201
|
<pre class="programlisting">#define PANGO_IS_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FAMILY))
|
2171
2202
|
</pre>
|
2172
2203
|
<p>
|
2173
|
-
Returns <
|
2204
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2174
2205
|
</p>
|
2175
2206
|
<div class="variablelist"><table border="0">
|
2176
2207
|
<col align="left" valign="top">
|
2177
2208
|
<tbody><tr>
|
2178
2209
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2179
|
-
<td>a <
|
2210
|
+
<td>a <span class="type">GObject</span>.
|
2180
2211
|
</td>
|
2181
2212
|
</tr></tbody>
|
2182
2213
|
</table></div>
|
2183
2214
|
</div>
|
2184
2215
|
<hr>
|
2185
|
-
<div class="refsect2"
|
2216
|
+
<div class="refsect2">
|
2186
2217
|
<a name="pango-font-family-get-name"></a><h3>pango_font_family_get_name ()</h3>
|
2187
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_family_get_name (<a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="
|
2218
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_family_get_name (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);</pre>
|
2188
2219
|
<p>
|
2189
2220
|
Gets the name of the family. The name is unique among all
|
2190
2221
|
fonts for the font backend and can be used in a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
2191
|
-
to specify that a face from this family is desired
|
2222
|
+
to specify that a face from this family is desired.
|
2223
|
+
</p>
|
2192
2224
|
<div class="variablelist"><table border="0">
|
2193
2225
|
<col align="left" valign="top">
|
2194
2226
|
<tbody>
|
2195
2227
|
<tr>
|
2196
2228
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
2197
|
-
<td>
|
2229
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>
|
2198
2230
|
</td>
|
2199
2231
|
</tr>
|
2200
2232
|
<tr>
|
@@ -2207,34 +2239,35 @@ to specify that a face from this family is desired.</p>
|
|
2207
2239
|
</table></div>
|
2208
2240
|
</div>
|
2209
2241
|
<hr>
|
2210
|
-
<div class="refsect2"
|
2242
|
+
<div class="refsect2">
|
2211
2243
|
<a name="pango-font-family-is-monospace"></a><h3>pango_font_family_is_monospace ()</h3>
|
2212
|
-
<pre class="programlisting"><
|
2244
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_family_is_monospace (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);</pre>
|
2213
2245
|
<p>
|
2214
2246
|
A monospace font is a font designed for text display where the the
|
2215
2247
|
characters form a regular grid. For Western languages this would
|
2216
2248
|
mean that the advance width of all characters are the same, but
|
2217
2249
|
this categorization also includes Asian fonts which include
|
2218
2250
|
double-width characters: characters that occupy two grid cells.
|
2219
|
-
<
|
2251
|
+
<code class="function">g_unichar_iswide()</code> returns a result that indicates whether a
|
2220
2252
|
character is typically double-width in a monospace font.
|
2221
2253
|
</p>
|
2222
2254
|
<p>
|
2223
2255
|
The best way to find out the grid-cell size is to call
|
2224
2256
|
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-digit-width" title="pango_font_metrics_get_approximate_digit_width ()"><code class="function">pango_font_metrics_get_approximate_digit_width()</code></a>, since the results
|
2225
2257
|
of <a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> may be affected
|
2226
|
-
by double-width characters
|
2258
|
+
by double-width characters.
|
2259
|
+
</p>
|
2227
2260
|
<div class="variablelist"><table border="0">
|
2228
2261
|
<col align="left" valign="top">
|
2229
2262
|
<tbody>
|
2230
2263
|
<tr>
|
2231
2264
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
2232
|
-
<td>
|
2265
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>
|
2233
2266
|
</td>
|
2234
2267
|
</tr>
|
2235
2268
|
<tr>
|
2236
2269
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2237
|
-
<td> <
|
2270
|
+
<td> <code class="literal">TRUE</code> if the family is monospace.
|
2238
2271
|
|
2239
2272
|
</td>
|
2240
2273
|
</tr>
|
@@ -2243,105 +2276,107 @@ by double-width characters.</p>
|
|
2243
2276
|
<p class="since">Since 1.4</p>
|
2244
2277
|
</div>
|
2245
2278
|
<hr>
|
2246
|
-
<div class="refsect2"
|
2279
|
+
<div class="refsect2">
|
2247
2280
|
<a name="pango-font-family-list-faces"></a><h3>pango_font_family_list_faces ()</h3>
|
2248
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_family_list_faces (<a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="
|
2249
|
-
<a class="link" href="pango-Fonts.html#PangoFontFace"><span class="
|
2250
|
-
<span class="
|
2281
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_family_list_faces (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>,
|
2282
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> ***faces</code></em>,
|
2283
|
+
<em class="parameter"><code><span class="type">int</span> *n_faces</code></em>);</pre>
|
2251
2284
|
<p>
|
2252
2285
|
Lists the different font faces that make up <em class="parameter"><code>family</code></em>. The faces
|
2253
2286
|
in a family share a common design, but differ in slant, weight,
|
2254
|
-
width and other aspects
|
2287
|
+
width and other aspects.
|
2288
|
+
</p>
|
2255
2289
|
<div class="variablelist"><table border="0">
|
2256
2290
|
<col align="left" valign="top">
|
2257
2291
|
<tbody>
|
2258
2292
|
<tr>
|
2259
2293
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
2260
|
-
<td>
|
2294
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>
|
2261
2295
|
</td>
|
2262
2296
|
</tr>
|
2263
2297
|
<tr>
|
2264
2298
|
<td><p><span class="term"><em class="parameter"><code>faces</code></em> :</span></p></td>
|
2265
|
-
<td>
|
2266
|
-
objects, or <a href="/usr/share/gtk-doc/html/
|
2299
|
+
<td>location to store an array of pointers to <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>
|
2300
|
+
objects, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. This array should be freed with <code class="function">g_free()</code>
|
2267
2301
|
when it is no longer needed.
|
2268
2302
|
</td>
|
2269
2303
|
</tr>
|
2270
2304
|
<tr>
|
2271
2305
|
<td><p><span class="term"><em class="parameter"><code>n_faces</code></em> :</span></p></td>
|
2272
|
-
<td>
|
2306
|
+
<td>location to store number of elements in <em class="parameter"><code>faces</code></em>.
|
2273
2307
|
</td>
|
2274
2308
|
</tr>
|
2275
2309
|
</tbody>
|
2276
2310
|
</table></div>
|
2277
2311
|
</div>
|
2278
2312
|
<hr>
|
2279
|
-
<div class="refsect2"
|
2280
|
-
<a name="PangoFontFace-struct"></a><h3>PangoFontFace</h3>
|
2281
|
-
<pre class="programlisting">
|
2313
|
+
<div class="refsect2">
|
2314
|
+
<a name="PangoFontFace-struct"></a><h3>struct PangoFontFace</h3>
|
2315
|
+
<pre class="programlisting">struct PangoFontFace;</pre>
|
2282
2316
|
<p>
|
2283
2317
|
The <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> structure is used to represent a group of fonts with
|
2284
2318
|
the same family, slant, weight, width, but varying sizes.
|
2285
2319
|
</p>
|
2286
2320
|
</div>
|
2287
2321
|
<hr>
|
2288
|
-
<div class="refsect2"
|
2322
|
+
<div class="refsect2">
|
2289
2323
|
<a name="PANGO-TYPE-FONT-FACE:CAPS"></a><h3>PANGO_TYPE_FONT_FACE</h3>
|
2290
2324
|
<pre class="programlisting">#define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
|
2291
2325
|
</pre>
|
2292
2326
|
<p>
|
2293
|
-
The <
|
2327
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2294
2328
|
</p>
|
2295
2329
|
</div>
|
2296
2330
|
<hr>
|
2297
|
-
<div class="refsect2"
|
2331
|
+
<div class="refsect2">
|
2298
2332
|
<a name="PANGO-FONT-FACE:CAPS"></a><h3>PANGO_FONT_FACE()</h3>
|
2299
2333
|
<pre class="programlisting">#define PANGO_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, PangoFontFace))
|
2300
2334
|
</pre>
|
2301
2335
|
<p>
|
2302
|
-
Casts a <
|
2336
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2303
2337
|
</p>
|
2304
2338
|
<div class="variablelist"><table border="0">
|
2305
2339
|
<col align="left" valign="top">
|
2306
2340
|
<tbody><tr>
|
2307
2341
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2308
|
-
<td>a <
|
2342
|
+
<td>a <span class="type">GObject</span>.
|
2309
2343
|
</td>
|
2310
2344
|
</tr></tbody>
|
2311
2345
|
</table></div>
|
2312
2346
|
</div>
|
2313
2347
|
<hr>
|
2314
|
-
<div class="refsect2"
|
2348
|
+
<div class="refsect2">
|
2315
2349
|
<a name="PANGO-IS-FONT-FACE:CAPS"></a><h3>PANGO_IS_FONT_FACE()</h3>
|
2316
2350
|
<pre class="programlisting">#define PANGO_IS_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FACE))
|
2317
2351
|
</pre>
|
2318
2352
|
<p>
|
2319
|
-
Returns <
|
2353
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2320
2354
|
</p>
|
2321
2355
|
<div class="variablelist"><table border="0">
|
2322
2356
|
<col align="left" valign="top">
|
2323
2357
|
<tbody><tr>
|
2324
2358
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2325
|
-
<td>a <
|
2359
|
+
<td>a <span class="type">GObject</span>.
|
2326
2360
|
</td>
|
2327
2361
|
</tr></tbody>
|
2328
2362
|
</table></div>
|
2329
2363
|
</div>
|
2330
2364
|
<hr>
|
2331
|
-
<div class="refsect2"
|
2365
|
+
<div class="refsect2">
|
2332
2366
|
<a name="pango-font-face-get-face-name"></a><h3>pango_font_face_get_face_name ()</h3>
|
2333
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_face_get_face_name (<a class="link" href="pango-Fonts.html#PangoFontFace"><span class="
|
2367
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_face_get_face_name (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2334
2368
|
<p>
|
2335
2369
|
Gets a name representing the style of this face among the
|
2336
2370
|
different faces in the <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> for the face. This
|
2337
2371
|
name is unique among all faces in the family and is suitable
|
2338
|
-
for displaying to users
|
2372
|
+
for displaying to users.
|
2373
|
+
</p>
|
2339
2374
|
<div class="variablelist"><table border="0">
|
2340
2375
|
<col align="left" valign="top">
|
2341
2376
|
<tbody>
|
2342
2377
|
<tr>
|
2343
2378
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
2344
|
-
<td>
|
2379
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2345
2380
|
</td>
|
2346
2381
|
</tr>
|
2347
2382
|
<tr>
|
@@ -2354,33 +2389,34 @@ for displaying to users.</p>
|
|
2354
2389
|
</table></div>
|
2355
2390
|
</div>
|
2356
2391
|
<hr>
|
2357
|
-
<div class="refsect2"
|
2392
|
+
<div class="refsect2">
|
2358
2393
|
<a name="pango-font-face-list-sizes"></a><h3>pango_font_face_list_sizes ()</h3>
|
2359
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_face_list_sizes (<a class="link" href="pango-Fonts.html#PangoFontFace"><span class="
|
2360
|
-
<span class="
|
2361
|
-
<span class="
|
2394
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_face_list_sizes (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>,
|
2395
|
+
<em class="parameter"><code><span class="type">int</span> **sizes</code></em>,
|
2396
|
+
<em class="parameter"><code><span class="type">int</span> *n_sizes</code></em>);</pre>
|
2362
2397
|
<p>
|
2363
2398
|
List the available sizes for a font. This is only applicable to bitmap
|
2364
|
-
fonts. For scalable fonts, stores <a href="/usr/share/gtk-doc/html/
|
2399
|
+
fonts. For scalable fonts, stores <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> at the location pointed to by
|
2365
2400
|
<em class="parameter"><code>sizes</code></em> and 0 at the location pointed to by <em class="parameter"><code>n_sizes</code></em>. The sizes returned
|
2366
|
-
are in Pango units and are sorted in ascending order
|
2401
|
+
are in Pango units and are sorted in ascending order.
|
2402
|
+
</p>
|
2367
2403
|
<div class="variablelist"><table border="0">
|
2368
2404
|
<col align="left" valign="top">
|
2369
2405
|
<tbody>
|
2370
2406
|
<tr>
|
2371
2407
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
2372
|
-
<td>
|
2408
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2373
2409
|
</td>
|
2374
2410
|
</tr>
|
2375
2411
|
<tr>
|
2376
2412
|
<td><p><span class="term"><em class="parameter"><code>sizes</code></em> :</span></p></td>
|
2377
|
-
<td>
|
2378
|
-
should be freed with <
|
2413
|
+
<td>location to store a pointer to an array of int. This array
|
2414
|
+
should be freed with <code class="function">g_free()</code>.
|
2379
2415
|
</td>
|
2380
2416
|
</tr>
|
2381
2417
|
<tr>
|
2382
2418
|
<td><p><span class="term"><em class="parameter"><code>n_sizes</code></em> :</span></p></td>
|
2383
|
-
<td>
|
2419
|
+
<td>location to store the number of elements in <em class="parameter"><code>sizes</code></em>
|
2384
2420
|
</td>
|
2385
2421
|
</tr>
|
2386
2422
|
</tbody>
|
@@ -2388,19 +2424,20 @@ are in Pango units and are sorted in ascending order.</p>
|
|
2388
2424
|
<p class="since">Since 1.4</p>
|
2389
2425
|
</div>
|
2390
2426
|
<hr>
|
2391
|
-
<div class="refsect2"
|
2427
|
+
<div class="refsect2">
|
2392
2428
|
<a name="pango-font-face-describe"></a><h3>pango_font_face_describe ()</h3>
|
2393
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_face_describe (<a class="link" href="pango-Fonts.html#PangoFontFace"><span class="
|
2429
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_face_describe (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2394
2430
|
<p>
|
2395
2431
|
Returns the family, style, variant, weight and stretch of
|
2396
2432
|
a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>. The size field of the resulting font description
|
2397
|
-
will be unset
|
2433
|
+
will be unset.
|
2434
|
+
</p>
|
2398
2435
|
<div class="variablelist"><table border="0">
|
2399
2436
|
<col align="left" valign="top">
|
2400
2437
|
<tbody>
|
2401
2438
|
<tr>
|
2402
2439
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
2403
|
-
<td>
|
2440
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>
|
2404
2441
|
</td>
|
2405
2442
|
</tr>
|
2406
2443
|
<tr>
|
@@ -2414,19 +2451,20 @@ will be unset.</p>
|
|
2414
2451
|
</table></div>
|
2415
2452
|
</div>
|
2416
2453
|
<hr>
|
2417
|
-
<div class="refsect2"
|
2454
|
+
<div class="refsect2">
|
2418
2455
|
<a name="pango-font-face-is-synthesized"></a><h3>pango_font_face_is_synthesized ()</h3>
|
2419
|
-
<pre class="programlisting"><
|
2456
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_face_is_synthesized (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2420
2457
|
<p>
|
2421
2458
|
Returns whether a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> is synthesized by the underlying
|
2422
2459
|
font rendering engine from another face, perhaps by shearing, emboldening,
|
2423
|
-
or lightening it
|
2460
|
+
or lightening it.
|
2461
|
+
</p>
|
2424
2462
|
<div class="variablelist"><table border="0">
|
2425
2463
|
<col align="left" valign="top">
|
2426
2464
|
<tbody>
|
2427
2465
|
<tr>
|
2428
2466
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
2429
|
-
<td>
|
2467
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>
|
2430
2468
|
</td>
|
2431
2469
|
</tr>
|
2432
2470
|
<tr>
|
@@ -2440,7 +2478,7 @@ or lightening it.</p>
|
|
2440
2478
|
<p class="since">Since 1.18</p>
|
2441
2479
|
</div>
|
2442
2480
|
<hr>
|
2443
|
-
<div class="refsect2"
|
2481
|
+
<div class="refsect2">
|
2444
2482
|
<a name="PangoFontMap-struct"></a><h3>PangoFontMap</h3>
|
2445
2483
|
<pre class="programlisting">typedef struct _PangoFontMap PangoFontMap;</pre>
|
2446
2484
|
<p>
|
@@ -2450,7 +2488,7 @@ implementations being specific to particular rendering systems. To
|
|
2450
2488
|
create an implementation of a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>, the rendering-system
|
2451
2489
|
specific code should allocate a larger structure that contains a nested
|
2452
2490
|
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>, fill in the <em class="structfield"><code>klass</code></em> member of the nested <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> with a
|
2453
|
-
pointer to a appropriate <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>, then call
|
2491
|
+
pointer to a appropriate <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>, then call
|
2454
2492
|
<code class="function">pango_font_map_init()</code> on the structure.
|
2455
2493
|
</p>
|
2456
2494
|
<p>
|
@@ -2459,52 +2497,52 @@ fills in.
|
|
2459
2497
|
</p>
|
2460
2498
|
</div>
|
2461
2499
|
<hr>
|
2462
|
-
<div class="refsect2"
|
2500
|
+
<div class="refsect2">
|
2463
2501
|
<a name="PANGO-TYPE-FONT-MAP:CAPS"></a><h3>PANGO_TYPE_FONT_MAP</h3>
|
2464
2502
|
<pre class="programlisting">#define PANGO_TYPE_FONT_MAP (pango_font_map_get_type ())
|
2465
2503
|
</pre>
|
2466
2504
|
<p>
|
2467
|
-
The <
|
2505
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2468
2506
|
</p>
|
2469
2507
|
</div>
|
2470
2508
|
<hr>
|
2471
|
-
<div class="refsect2"
|
2509
|
+
<div class="refsect2">
|
2472
2510
|
<a name="PANGO-FONT-MAP:CAPS"></a><h3>PANGO_FONT_MAP()</h3>
|
2473
2511
|
<pre class="programlisting">#define PANGO_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_MAP, PangoFontMap))
|
2474
2512
|
</pre>
|
2475
2513
|
<p>
|
2476
|
-
Casts a <
|
2514
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2477
2515
|
</p>
|
2478
2516
|
<div class="variablelist"><table border="0">
|
2479
2517
|
<col align="left" valign="top">
|
2480
2518
|
<tbody><tr>
|
2481
2519
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2482
|
-
<td>a <
|
2520
|
+
<td>a <span class="type">GObject</span>.
|
2483
2521
|
</td>
|
2484
2522
|
</tr></tbody>
|
2485
2523
|
</table></div>
|
2486
2524
|
</div>
|
2487
2525
|
<hr>
|
2488
|
-
<div class="refsect2"
|
2526
|
+
<div class="refsect2">
|
2489
2527
|
<a name="PANGO-IS-FONT-MAP:CAPS"></a><h3>PANGO_IS_FONT_MAP()</h3>
|
2490
2528
|
<pre class="programlisting">#define PANGO_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_MAP))
|
2491
2529
|
</pre>
|
2492
2530
|
<p>
|
2493
|
-
Returns <
|
2531
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2494
2532
|
</p>
|
2495
2533
|
<div class="variablelist"><table border="0">
|
2496
2534
|
<col align="left" valign="top">
|
2497
2535
|
<tbody><tr>
|
2498
2536
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2499
|
-
<td>a <
|
2537
|
+
<td>a <span class="type">GObject</span>.
|
2500
2538
|
</td>
|
2501
2539
|
</tr></tbody>
|
2502
2540
|
</table></div>
|
2503
2541
|
</div>
|
2504
2542
|
<hr>
|
2505
|
-
<div class="refsect2"
|
2506
|
-
<a name="PangoFontMapClass"></a><h3>PangoFontMapClass</h3>
|
2507
|
-
<pre class="programlisting">
|
2543
|
+
<div class="refsect2">
|
2544
|
+
<a name="PangoFontMapClass"></a><h3>struct PangoFontMapClass</h3>
|
2545
|
+
<pre class="programlisting">struct PangoFontMapClass {
|
2508
2546
|
GObjectClass parent_class;
|
2509
2547
|
|
2510
2548
|
|
@@ -2520,18 +2558,18 @@ Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAP
|
|
2520
2558
|
PangoLanguage *language);
|
2521
2559
|
|
2522
2560
|
const char *shape_engine_type;
|
2523
|
-
}
|
2561
|
+
};
|
2524
2562
|
</pre>
|
2525
2563
|
<p>
|
2526
|
-
The <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="PangoFontMapClass"><span class="type">PangoFontMapClass</span></a> structure holds the virtual functions for
|
2564
|
+
The <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a> structure holds the virtual functions for
|
2527
2565
|
a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> implementation.
|
2528
2566
|
</p>
|
2529
2567
|
<div class="variablelist"><table border="0">
|
2530
2568
|
<col align="left" valign="top">
|
2531
2569
|
<tbody>
|
2532
2570
|
<tr>
|
2533
|
-
<td><p><span class="term"><
|
2534
|
-
<td>parent <
|
2571
|
+
<td><p><span class="term"><span class="type">GObjectClass</span> <em class="structfield"><code><a name="PangoFontMapClass.parent-class"></a>parent_class</code></em>;</span></p></td>
|
2572
|
+
<td>parent <span class="type">GObjectClass</span>.
|
2535
2573
|
</td>
|
2536
2574
|
</tr>
|
2537
2575
|
<tr>
|
@@ -2563,41 +2601,41 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="t
|
|
2563
2601
|
</table></div>
|
2564
2602
|
</div>
|
2565
2603
|
<hr>
|
2566
|
-
<div class="refsect2"
|
2604
|
+
<div class="refsect2">
|
2567
2605
|
<a name="PANGO-FONT-MAP-CLASS:CAPS"></a><h3>PANGO_FONT_MAP_CLASS()</h3>
|
2568
2606
|
<pre class="programlisting">#define PANGO_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
2569
2607
|
</pre>
|
2570
2608
|
<p>
|
2571
|
-
Casts a <
|
2609
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.
|
2572
2610
|
</p>
|
2573
2611
|
<div class="variablelist"><table border="0">
|
2574
2612
|
<col align="left" valign="top">
|
2575
2613
|
<tbody><tr>
|
2576
2614
|
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
|
2577
|
-
<td>a <
|
2615
|
+
<td>a <span class="type">GObject</span>.
|
2578
2616
|
</td>
|
2579
2617
|
</tr></tbody>
|
2580
2618
|
</table></div>
|
2581
2619
|
</div>
|
2582
2620
|
<hr>
|
2583
|
-
<div class="refsect2"
|
2621
|
+
<div class="refsect2">
|
2584
2622
|
<a name="PANGO-IS-FONT-MAP-CLASS:CAPS"></a><h3>PANGO_IS_FONT_MAP_CLASS()</h3>
|
2585
2623
|
<pre class="programlisting">#define PANGO_IS_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_MAP))
|
2586
2624
|
</pre>
|
2587
2625
|
<p>
|
2588
|
-
Returns <
|
2626
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>klass</code></em> is a subtype of <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.
|
2589
2627
|
</p>
|
2590
2628
|
<div class="variablelist"><table border="0">
|
2591
2629
|
<col align="left" valign="top">
|
2592
2630
|
<tbody><tr>
|
2593
2631
|
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
|
2594
|
-
<td>a <
|
2632
|
+
<td>a <span class="type">GObject</span>.
|
2595
2633
|
</td>
|
2596
2634
|
</tr></tbody>
|
2597
2635
|
</table></div>
|
2598
2636
|
</div>
|
2599
2637
|
<hr>
|
2600
|
-
<div class="refsect2"
|
2638
|
+
<div class="refsect2">
|
2601
2639
|
<a name="PANGO-FONT-MAP-GET-CLASS:CAPS"></a><h3>PANGO_FONT_MAP_GET_CLASS()</h3>
|
2602
2640
|
<pre class="programlisting">#define PANGO_FONT_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
2603
2641
|
</pre>
|
@@ -2614,9 +2652,9 @@ Returns the type of a <a class="link" href="pango-Fonts.html#PangoFontMap"><span
|
|
2614
2652
|
</table></div>
|
2615
2653
|
</div>
|
2616
2654
|
<hr>
|
2617
|
-
<div class="refsect2"
|
2655
|
+
<div class="refsect2">
|
2618
2656
|
<a name="pango-font-map-create-context"></a><h3>pango_font_map_create_context ()</h3>
|
2619
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_font_map_create_context (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
2657
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_font_map_create_context (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
2620
2658
|
<p>
|
2621
2659
|
Creates a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> connected to <em class="parameter"><code>fontmap</code></em>. This is equivalent
|
2622
2660
|
to <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()"><code class="function">pango_context_new()</code></a> followed by <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()"><code class="function">pango_context_set_font_map()</code></a>.
|
@@ -2625,20 +2663,21 @@ to <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pa
|
|
2625
2663
|
If you are using Pango as part of a higher-level system,
|
2626
2664
|
that system may have it's own way of create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
2627
2665
|
For instance, the GTK+ toolkit has, among others,
|
2628
|
-
<
|
2629
|
-
<
|
2666
|
+
<code class="function">gdk_pango_context_get_for_screen()</code>, and
|
2667
|
+
<code class="function">gtk_widget_get_pango_context()</code>. Use those instead.
|
2668
|
+
</p>
|
2630
2669
|
<div class="variablelist"><table border="0">
|
2631
2670
|
<col align="left" valign="top">
|
2632
2671
|
<tbody>
|
2633
2672
|
<tr>
|
2634
2673
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
2635
|
-
<td>
|
2674
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
2636
2675
|
</td>
|
2637
2676
|
</tr>
|
2638
2677
|
<tr>
|
2639
2678
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2640
2679
|
<td> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, which should
|
2641
|
-
be freed with <
|
2680
|
+
be freed with <code class="function">g_object_unref()</code>.
|
2642
2681
|
|
2643
2682
|
</td>
|
2644
2683
|
</tr>
|
@@ -2647,125 +2686,129 @@ For instance, the GTK+ toolkit has, among others,
|
|
2647
2686
|
<p class="since">Since 1.22</p>
|
2648
2687
|
</div>
|
2649
2688
|
<hr>
|
2650
|
-
<div class="refsect2"
|
2689
|
+
<div class="refsect2">
|
2651
2690
|
<a name="pango-font-map-load-font"></a><h3>pango_font_map_load_font ()</h3>
|
2652
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_font_map_load_font (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
2653
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
2654
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
2691
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_font_map_load_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
2692
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
2693
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
2655
2694
|
<p>
|
2656
|
-
Load the font in the fontmap that is the closest match for <em class="parameter"><code>desc</code></em
|
2695
|
+
Load the font in the fontmap that is the closest match for <em class="parameter"><code>desc</code></em>.
|
2696
|
+
</p>
|
2657
2697
|
<div class="variablelist"><table border="0">
|
2658
2698
|
<col align="left" valign="top">
|
2659
2699
|
<tbody>
|
2660
2700
|
<tr>
|
2661
2701
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
2662
|
-
<td>
|
2702
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
2663
2703
|
</td>
|
2664
2704
|
</tr>
|
2665
2705
|
<tr>
|
2666
2706
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2667
|
-
<td>
|
2707
|
+
<td>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> the font will be used with
|
2668
2708
|
</td>
|
2669
2709
|
</tr>
|
2670
2710
|
<tr>
|
2671
2711
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
2672
|
-
<td>
|
2712
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load
|
2673
2713
|
</td>
|
2674
2714
|
</tr>
|
2675
2715
|
<tr>
|
2676
2716
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2677
|
-
<td> the font loaded, or <a href="/usr/share/gtk-doc/html/
|
2717
|
+
<td> the font loaded, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no font matched.
|
2678
2718
|
</td>
|
2679
2719
|
</tr>
|
2680
2720
|
</tbody>
|
2681
2721
|
</table></div>
|
2682
2722
|
</div>
|
2683
2723
|
<hr>
|
2684
|
-
<div class="refsect2"
|
2724
|
+
<div class="refsect2">
|
2685
2725
|
<a name="pango-font-map-load-fontset"></a><h3>pango_font_map_load_fontset ()</h3>
|
2686
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> * pango_font_map_load_fontset (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
2687
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
2688
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="
|
2689
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
2726
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> * pango_font_map_load_fontset (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
2727
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
2728
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
2729
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2690
2730
|
<p>
|
2691
2731
|
Load a set of fonts in the fontmap that can be used to render
|
2692
|
-
a font matching <em class="parameter"><code>desc</code></em
|
2732
|
+
a font matching <em class="parameter"><code>desc</code></em>.
|
2733
|
+
</p>
|
2693
2734
|
<div class="variablelist"><table border="0">
|
2694
2735
|
<col align="left" valign="top">
|
2695
2736
|
<tbody>
|
2696
2737
|
<tr>
|
2697
2738
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
2698
|
-
<td>
|
2739
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
2699
2740
|
</td>
|
2700
2741
|
</tr>
|
2701
2742
|
<tr>
|
2702
2743
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2703
|
-
<td>
|
2744
|
+
<td>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> the font will be used with
|
2704
2745
|
</td>
|
2705
2746
|
</tr>
|
2706
2747
|
<tr>
|
2707
2748
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
2708
|
-
<td>
|
2749
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load
|
2709
2750
|
</td>
|
2710
2751
|
</tr>
|
2711
2752
|
<tr>
|
2712
2753
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2713
|
-
<td>
|
2754
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> the fonts will be used for
|
2714
2755
|
</td>
|
2715
2756
|
</tr>
|
2716
2757
|
<tr>
|
2717
2758
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2718
|
-
<td> the fontset, or <a href="/usr/share/gtk-doc/html/
|
2759
|
+
<td> the fontset, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no font matched.
|
2719
2760
|
</td>
|
2720
2761
|
</tr>
|
2721
2762
|
</tbody>
|
2722
2763
|
</table></div>
|
2723
2764
|
</div>
|
2724
2765
|
<hr>
|
2725
|
-
<div class="refsect2"
|
2766
|
+
<div class="refsect2">
|
2726
2767
|
<a name="pango-font-map-list-families"></a><h3>pango_font_map_list_families ()</h3>
|
2727
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_map_list_families (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
2728
|
-
<a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="
|
2729
|
-
<span class="
|
2768
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_map_list_families (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
2769
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
|
2770
|
+
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
2730
2771
|
<p>
|
2731
|
-
List all families for a fontmap
|
2772
|
+
List all families for a fontmap.
|
2773
|
+
</p>
|
2732
2774
|
<div class="variablelist"><table border="0">
|
2733
2775
|
<col align="left" valign="top">
|
2734
2776
|
<tbody>
|
2735
2777
|
<tr>
|
2736
2778
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
2737
|
-
<td>
|
2779
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
2738
2780
|
</td>
|
2739
2781
|
</tr>
|
2740
2782
|
<tr>
|
2741
2783
|
<td><p><span class="term"><em class="parameter"><code>families</code></em> :</span></p></td>
|
2742
|
-
<td>
|
2743
|
-
This array should be freed with <
|
2784
|
+
<td>location to store a pointer to an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *.
|
2785
|
+
This array should be freed with <code class="function">g_free()</code>.
|
2744
2786
|
</td>
|
2745
2787
|
</tr>
|
2746
2788
|
<tr>
|
2747
2789
|
<td><p><span class="term"><em class="parameter"><code>n_families</code></em> :</span></p></td>
|
2748
|
-
<td>
|
2790
|
+
<td>location to store the number of elements in <em class="parameter"><code>families</code></em>
|
2749
2791
|
</td>
|
2750
2792
|
</tr>
|
2751
2793
|
</tbody>
|
2752
2794
|
</table></div>
|
2753
2795
|
</div>
|
2754
2796
|
<hr>
|
2755
|
-
<div class="refsect2"
|
2797
|
+
<div class="refsect2">
|
2756
2798
|
<a name="pango-font-map-get-shape-engine-type"></a><h3>pango_font_map_get_shape_engine_type ()</h3>
|
2757
2799
|
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_map_get_shape_engine_type
|
2758
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
2800
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
2759
2801
|
<p>
|
2760
2802
|
Returns the render ID for shape engines for this fontmap.
|
2761
2803
|
See the <em class="structfield"><code>render_type</code></em> field of
|
2762
|
-
<a class="link" href="pango-Engines.html#PangoEngineInfo" title="PangoEngineInfo"><span class="type">PangoEngineInfo</span></a
|
2804
|
+
<a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a>.
|
2805
|
+
</p>
|
2763
2806
|
<div class="variablelist"><table border="0">
|
2764
2807
|
<col align="left" valign="top">
|
2765
2808
|
<tbody>
|
2766
2809
|
<tr>
|
2767
2810
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
2768
|
-
<td>
|
2811
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
2769
2812
|
</td>
|
2770
2813
|
</tr>
|
2771
2814
|
<tr>
|
@@ -2781,9 +2824,9 @@ See the <em class="structfield"><code>render_type</code></em> field of
|
|
2781
2824
|
<p class="since">Since 1.4</p>
|
2782
2825
|
</div>
|
2783
2826
|
<hr>
|
2784
|
-
<div class="refsect2"
|
2785
|
-
<a name="PangoFontset-struct"></a><h3>PangoFontset</h3>
|
2786
|
-
<pre class="programlisting">
|
2827
|
+
<div class="refsect2">
|
2828
|
+
<a name="PangoFontset-struct"></a><h3>struct PangoFontset</h3>
|
2829
|
+
<pre class="programlisting">struct PangoFontset;</pre>
|
2787
2830
|
<p>
|
2788
2831
|
A <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> represents a set of <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> to use
|
2789
2832
|
when rendering text. It is the result of resolving a
|
@@ -2794,18 +2837,18 @@ set of metrics for the entire fontset.
|
|
2794
2837
|
</p>
|
2795
2838
|
</div>
|
2796
2839
|
<hr>
|
2797
|
-
<div class="refsect2"
|
2840
|
+
<div class="refsect2">
|
2798
2841
|
<a name="PANGO-TYPE-FONTSET:CAPS"></a><h3>PANGO_TYPE_FONTSET</h3>
|
2799
2842
|
<pre class="programlisting">#define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
|
2800
2843
|
</pre>
|
2801
2844
|
<p>
|
2802
|
-
The <
|
2845
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>.
|
2803
2846
|
</p>
|
2804
2847
|
</div>
|
2805
2848
|
<hr>
|
2806
|
-
<div class="refsect2"
|
2807
|
-
<a name="PangoFontsetClass"></a><h3>PangoFontsetClass</h3>
|
2808
|
-
<pre class="programlisting">
|
2849
|
+
<div class="refsect2">
|
2850
|
+
<a name="PangoFontsetClass"></a><h3>struct PangoFontsetClass</h3>
|
2851
|
+
<pre class="programlisting">struct PangoFontsetClass {
|
2809
2852
|
GObjectClass parent_class;
|
2810
2853
|
|
2811
2854
|
|
@@ -2817,18 +2860,18 @@ The <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#G
|
|
2817
2860
|
void (*foreach) (PangoFontset *fontset,
|
2818
2861
|
PangoFontsetForeachFunc func,
|
2819
2862
|
gpointer data);
|
2820
|
-
}
|
2863
|
+
};
|
2821
2864
|
</pre>
|
2822
2865
|
<p>
|
2823
|
-
The <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="PangoFontsetClass"><span class="type">PangoFontsetClass</span></a> structure holds the virtual functions for
|
2866
|
+
The <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass"><span class="type">PangoFontsetClass</span></a> structure holds the virtual functions for
|
2824
2867
|
a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> implementation.
|
2825
2868
|
</p>
|
2826
2869
|
<div class="variablelist"><table border="0">
|
2827
2870
|
<col align="left" valign="top">
|
2828
2871
|
<tbody>
|
2829
2872
|
<tr>
|
2830
|
-
<td><p><span class="term"><
|
2831
|
-
<td>parent <
|
2873
|
+
<td><p><span class="term"><span class="type">GObjectClass</span> <em class="structfield"><code><a name="PangoFontsetClass.parent-class"></a>parent_class</code></em>;</span></p></td>
|
2874
|
+
<td>parent <span class="type">GObjectClass</span>.
|
2832
2875
|
</td>
|
2833
2876
|
</tr>
|
2834
2877
|
<tr>
|
@@ -2858,24 +2901,25 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="t
|
|
2858
2901
|
</table></div>
|
2859
2902
|
</div>
|
2860
2903
|
<hr>
|
2861
|
-
<div class="refsect2"
|
2904
|
+
<div class="refsect2">
|
2862
2905
|
<a name="pango-fontset-get-font"></a><h3>pango_fontset_get_font ()</h3>
|
2863
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_fontset_get_font (<a class="link" href="pango-Fonts.html#PangoFontset"><span class="
|
2864
|
-
<
|
2906
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_fontset_get_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
2907
|
+
<em class="parameter"><code><span class="type">guint</span> wc</code></em>);</pre>
|
2865
2908
|
<p>
|
2866
2909
|
Returns the font in the fontset that contains the best glyph for the
|
2867
|
-
Unicode character <em class="parameter"><code>wc</code></em
|
2910
|
+
Unicode character <em class="parameter"><code>wc</code></em>.
|
2911
|
+
</p>
|
2868
2912
|
<div class="variablelist"><table border="0">
|
2869
2913
|
<col align="left" valign="top">
|
2870
2914
|
<tbody>
|
2871
2915
|
<tr>
|
2872
2916
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
2873
|
-
<td>
|
2917
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>
|
2874
2918
|
</td>
|
2875
2919
|
</tr>
|
2876
2920
|
<tr>
|
2877
2921
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
2878
|
-
<td>
|
2922
|
+
<td>a Unicode character
|
2879
2923
|
</td>
|
2880
2924
|
</tr>
|
2881
2925
|
<tr>
|
@@ -2888,22 +2932,23 @@ Unicode character <em class="parameter"><code>wc</code></em>.</p>
|
|
2888
2932
|
</table></div>
|
2889
2933
|
</div>
|
2890
2934
|
<hr>
|
2891
|
-
<div class="refsect2"
|
2935
|
+
<div class="refsect2">
|
2892
2936
|
<a name="pango-fontset-get-metrics"></a><h3>pango_fontset_get_metrics ()</h3>
|
2893
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * pango_fontset_get_metrics (<a class="link" href="pango-Fonts.html#PangoFontset"><span class="
|
2937
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * pango_fontset_get_metrics (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>);</pre>
|
2894
2938
|
<p>
|
2895
|
-
Get overall metric information for the fonts in the fontset
|
2939
|
+
Get overall metric information for the fonts in the fontset.
|
2940
|
+
</p>
|
2896
2941
|
<div class="variablelist"><table border="0">
|
2897
2942
|
<col align="left" valign="top">
|
2898
2943
|
<tbody>
|
2899
2944
|
<tr>
|
2900
2945
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
2901
|
-
<td>
|
2946
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>
|
2902
2947
|
</td>
|
2903
2948
|
</tr>
|
2904
2949
|
<tr>
|
2905
2950
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2906
|
-
<td> a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
2951
|
+
<td> a <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
2907
2952
|
when finished using the object.
|
2908
2953
|
</td>
|
2909
2954
|
</tr>
|
@@ -2911,35 +2956,36 @@ Get overall metric information for the fonts in the fontset.</p>
|
|
2911
2956
|
</table></div>
|
2912
2957
|
</div>
|
2913
2958
|
<hr>
|
2914
|
-
<div class="refsect2"
|
2959
|
+
<div class="refsect2">
|
2915
2960
|
<a name="PangoFontsetForeachFunc"></a><h3>PangoFontsetForeachFunc ()</h3>
|
2916
|
-
<pre class="programlisting"><
|
2917
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
2918
|
-
<
|
2961
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> (*PangoFontsetForeachFunc) (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
2962
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2963
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
2919
2964
|
<p>
|
2920
2965
|
A callback function used by <a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()"><code class="function">pango_fontset_foreach()</code></a> when enumerating
|
2921
|
-
the fonts in a fontset
|
2966
|
+
the fonts in a fontset.
|
2967
|
+
</p>
|
2922
2968
|
<div class="variablelist"><table border="0">
|
2923
2969
|
<col align="left" valign="top">
|
2924
2970
|
<tbody>
|
2925
2971
|
<tr>
|
2926
2972
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
2927
|
-
<td>
|
2973
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>
|
2928
2974
|
</td>
|
2929
2975
|
</tr>
|
2930
2976
|
<tr>
|
2931
2977
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
2932
|
-
<td>
|
2978
|
+
<td>a font from <em class="parameter"><code>fontset</code></em>
|
2933
2979
|
</td>
|
2934
2980
|
</tr>
|
2935
2981
|
<tr>
|
2936
2982
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2937
|
-
<td>
|
2983
|
+
<td>callback data
|
2938
2984
|
</td>
|
2939
2985
|
</tr>
|
2940
2986
|
<tr>
|
2941
2987
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2942
|
-
<td> if <
|
2988
|
+
<td> if <code class="literal">TRUE</code>, stop iteration and return immediately.
|
2943
2989
|
|
2944
2990
|
</td>
|
2945
2991
|
</tr>
|
@@ -2948,30 +2994,31 @@ the fonts in a fontset.</p>
|
|
2948
2994
|
<p class="since">Since 1.4</p>
|
2949
2995
|
</div>
|
2950
2996
|
<hr>
|
2951
|
-
<div class="refsect2"
|
2997
|
+
<div class="refsect2">
|
2952
2998
|
<a name="pango-fontset-foreach"></a><h3>pango_fontset_foreach ()</h3>
|
2953
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_fontset_foreach (<a class="link" href="pango-Fonts.html#PangoFontset"><span class="
|
2954
|
-
<a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="
|
2955
|
-
<
|
2999
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_fontset_foreach (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
3000
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="type">PangoFontsetForeachFunc</span></a> func</code></em>,
|
3001
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
2956
3002
|
<p>
|
2957
3003
|
Iterates through all the fonts in a fontset, calling <em class="parameter"><code>func</code></em> for
|
2958
|
-
each one. If <em class="parameter"><code>func</code></em> returns <
|
3004
|
+
each one. If <em class="parameter"><code>func</code></em> returns <code class="literal">TRUE</code>, that stops the iteration.
|
3005
|
+
</p>
|
2959
3006
|
<div class="variablelist"><table border="0">
|
2960
3007
|
<col align="left" valign="top">
|
2961
3008
|
<tbody>
|
2962
3009
|
<tr>
|
2963
3010
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
2964
|
-
<td>
|
3011
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>
|
2965
3012
|
</td>
|
2966
3013
|
</tr>
|
2967
3014
|
<tr>
|
2968
3015
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2969
|
-
<td>
|
3016
|
+
<td>Callback function
|
2970
3017
|
</td>
|
2971
3018
|
</tr>
|
2972
3019
|
<tr>
|
2973
3020
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2974
|
-
<td>
|
3021
|
+
<td>data to pass to the callback function
|
2975
3022
|
</td>
|
2976
3023
|
</tr>
|
2977
3024
|
</tbody>
|
@@ -2979,7 +3026,7 @@ each one. If <em class="parameter"><code>func</code></em> returns <a href="/usr/
|
|
2979
3026
|
<p class="since">Since 1.4</p>
|
2980
3027
|
</div>
|
2981
3028
|
<hr>
|
2982
|
-
<div class="refsect2"
|
3029
|
+
<div class="refsect2">
|
2983
3030
|
<a name="PangoFontsetSimple-struct"></a><h3>PangoFontsetSimple</h3>
|
2984
3031
|
<pre class="programlisting">typedef struct _PangoFontsetSimple PangoFontsetSimple;</pre>
|
2985
3032
|
<p>
|
@@ -2990,72 +3037,75 @@ which the creator provides when constructing the
|
|
2990
3037
|
</p>
|
2991
3038
|
</div>
|
2992
3039
|
<hr>
|
2993
|
-
<div class="refsect2"
|
3040
|
+
<div class="refsect2">
|
2994
3041
|
<a name="PANGO-TYPE-FONTSET-SIMPLE:CAPS"></a><h3>PANGO_TYPE_FONTSET_SIMPLE</h3>
|
2995
3042
|
<pre class="programlisting">#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
|
2996
3043
|
</pre>
|
2997
3044
|
<p>
|
2998
|
-
The <
|
3045
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.
|
2999
3046
|
</p>
|
3000
3047
|
</div>
|
3001
3048
|
<hr>
|
3002
|
-
<div class="refsect2"
|
3049
|
+
<div class="refsect2">
|
3003
3050
|
<a name="pango-fontset-simple-new"></a><h3>pango_fontset_simple_new ()</h3>
|
3004
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> *
|
3051
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> * pango_fontset_simple_new (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
3005
3052
|
<p>
|
3006
|
-
Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> for the given language
|
3053
|
+
Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> for the given language.
|
3054
|
+
</p>
|
3007
3055
|
<div class="variablelist"><table border="0">
|
3008
3056
|
<col align="left" valign="top">
|
3009
3057
|
<tbody>
|
3010
3058
|
<tr>
|
3011
3059
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
3012
|
-
<td>
|
3060
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> tag
|
3013
3061
|
</td>
|
3014
3062
|
</tr>
|
3015
3063
|
<tr>
|
3016
3064
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3017
3065
|
<td> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>, which should
|
3018
|
-
be freed with <
|
3066
|
+
be freed with <code class="function">g_object_unref()</code>.
|
3019
3067
|
</td>
|
3020
3068
|
</tr>
|
3021
3069
|
</tbody>
|
3022
3070
|
</table></div>
|
3023
3071
|
</div>
|
3024
3072
|
<hr>
|
3025
|
-
<div class="refsect2"
|
3073
|
+
<div class="refsect2">
|
3026
3074
|
<a name="pango-fontset-simple-append"></a><h3>pango_fontset_simple_append ()</h3>
|
3027
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_fontset_simple_append (<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="
|
3028
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
3075
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_fontset_simple_append (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>,
|
3076
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
3029
3077
|
<p>
|
3030
|
-
Adds a font to the fontset
|
3078
|
+
Adds a font to the fontset.
|
3079
|
+
</p>
|
3031
3080
|
<div class="variablelist"><table border="0">
|
3032
3081
|
<col align="left" valign="top">
|
3033
3082
|
<tbody>
|
3034
3083
|
<tr>
|
3035
3084
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
3036
|
-
<td>
|
3085
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.
|
3037
3086
|
</td>
|
3038
3087
|
</tr>
|
3039
3088
|
<tr>
|
3040
3089
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
3041
|
-
<td>
|
3090
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
3042
3091
|
</td>
|
3043
3092
|
</tr>
|
3044
3093
|
</tbody>
|
3045
3094
|
</table></div>
|
3046
3095
|
</div>
|
3047
3096
|
<hr>
|
3048
|
-
<div class="refsect2"
|
3097
|
+
<div class="refsect2">
|
3049
3098
|
<a name="pango-fontset-simple-size"></a><h3>pango_fontset_simple_size ()</h3>
|
3050
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_fontset_simple_size (<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="
|
3099
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_fontset_simple_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>);</pre>
|
3051
3100
|
<p>
|
3052
|
-
Returns the number of fonts in the fontset
|
3101
|
+
Returns the number of fonts in the fontset.
|
3102
|
+
</p>
|
3053
3103
|
<div class="variablelist"><table border="0">
|
3054
3104
|
<col align="left" valign="top">
|
3055
3105
|
<tbody>
|
3056
3106
|
<tr>
|
3057
3107
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
3058
|
-
<td>
|
3108
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.
|
3059
3109
|
</td>
|
3060
3110
|
</tr>
|
3061
3111
|
<tr>
|
@@ -3070,6 +3120,6 @@ Returns the number of fonts in the fontset.</p>
|
|
3070
3120
|
</div>
|
3071
3121
|
<div class="footer">
|
3072
3122
|
<hr>
|
3073
|
-
Generated by GTK-Doc V1.
|
3123
|
+
Generated by GTK-Doc V1.15.1</div>
|
3074
3124
|
</body>
|
3075
3125
|
</html>
|