rsvg2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +13 -2
- data/ext/rsvg2/extconf.rb +8 -0
- data/lib/1.8/rsvg2.so +0 -0
- data/lib/1.9/rsvg2.so +0 -0
- data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgsf-1-114.dll +0 -0
- data/vendor/local/bin/libgsf-gnome-1-114.dll +0 -0
- data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkg-config.exe +0 -0
- data/vendor/local/etc/gconf/schemas/gsf-office-thumbnailer.schemas +4073 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-bonobo.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h +53 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-bonobo.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h +49 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h +47 -0
- data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +66 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +67 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +47 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +44 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +69 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input.h +65 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +194 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +54 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +92 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +106 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +74 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +38 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +51 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output.h +98 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +52 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +64 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +331 -0
- data/vendor/local/include/libgsf-1/gsf/gsf.h +104 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pixman-1/pixman-version.h +50 -0
- data/vendor/local/include/pixman-1/pixman.h +936 -0
- data/vendor/local/lib/cairo.lib +0 -0
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgsf-1.dll.a +0 -0
- data/vendor/local/lib/libgsf-gnome-1.dll.a +0 -0
- data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/libgsf-gnome-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
- data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
- data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
- data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
- data/vendor/local/manifest/libgsf-dev_1.14.17-1_win32.mft +57 -0
- data/vendor/local/manifest/libgsf-gnome-dev_1.14.17-1_win32.mft +9 -0
- data/vendor/local/manifest/libgsf-gnome_1.14.17-1_win32.mft +3 -0
- data/vendor/local/manifest/libgsf_1.14.17-1_win32.mft +18 -0
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/pkg.m4 +155 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING +33 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-LGPL-2.1 +510 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-MPL-1.1 +470 -0
- data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.log +1263 -0
- data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.sh +84 -0
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
- data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.log +1616 -0
- data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.sh +73 -0
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
- metadata +3053 -2947
- data/ext/rsvg2/Makefile +0 -155
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
- data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,29 +8,8 @@
|
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="PangoEngineShape.html" title="PangoEngineShape">
|
10
10
|
<link rel="next" href="pango-Miscellaneous-Utilities.html" title="Miscellaneous Utilities">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="pango.html" title="Basic Pango Interfaces">
|
14
|
-
<link rel="chapter" href="rendering.html" title="Rendering with Pango">
|
15
|
-
<link rel="chapter" href="lowlevel.html" title="Low Level Functionality">
|
16
|
-
<link rel="chapter" href="tools.html" title="Pango Tools">
|
17
|
-
<link rel="chapter" href="pango-hierarchy.html" title="Object Hierarchy">
|
18
|
-
<link rel="index" href="index-all.html" title="Index">
|
19
|
-
<link rel="index" href="index-deprecated.html" title="Index of deprecated symbols">
|
20
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
21
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
22
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
23
|
-
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
24
|
-
<link rel="index" href="index-1.10.html" title="Index of new symbols in 1.10">
|
25
|
-
<link rel="index" href="index-1.12.html" title="Index of new symbols in 1.12">
|
26
|
-
<link rel="index" href="index-1.14.html" title="Index of new symbols in 1.14">
|
27
|
-
<link rel="index" href="index-1.16.html" title="Index of new symbols in 1.16">
|
28
|
-
<link rel="index" href="index-1.18.html" title="Index of new symbols in 1.18">
|
29
|
-
<link rel="index" href="index-1.20.html" title="Index of new symbols in 1.20">
|
30
|
-
<link rel="index" href="index-1.22.html" title="Index of new symbols in 1.22">
|
31
|
-
<link rel="index" href="index-1.24.html" title="Index of new symbols in 1.24">
|
32
|
-
<link rel="index" href="index-1.26.html" title="Index of new symbols in 1.26">
|
33
|
-
<link rel="index" href="index-1.28.html" title="Index of new symbols in 1.26">
|
34
13
|
</head>
|
35
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
36
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-Modules.description" class="shortcut">Description</a>
|
48
27
|
</td></tr>
|
49
28
|
</table>
|
50
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
51
30
|
<a name="pango-Modules"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,44 +35,44 @@
|
|
56
35
|
</td>
|
57
36
|
<td valign="top" align="right"></td>
|
58
37
|
</tr></table></div>
|
59
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
60
39
|
<a name="pango-Modules.synopsis"></a><h2>Synopsis</h2>
|
61
|
-
<pre class="synopsis">
|
40
|
+
<pre class="synopsis">struct <a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule">PangoIncludedModule</a>;
|
62
41
|
<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap">PangoMap</a>;
|
63
42
|
<a class="link" href="pango-Modules.html#PangoMapEntry" title="PangoMapEntry">PangoMapEntry</a>;
|
64
|
-
<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="returnvalue">PangoMap</span></a> * <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()">pango_find_map</a> (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
65
|
-
<
|
66
|
-
<
|
67
|
-
<a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * <a class="link" href="pango-Modules.html#pango-map-get-engine" title="pango_map_get_engine ()">pango_map_get_engine</a> (<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="
|
68
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Modules.html#pango-map-get-engines" title="pango_map_get_engines ()">pango_map_get_engines</a> (<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="
|
70
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
71
|
-
<
|
72
|
-
<
|
73
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Modules.html#pango-module-register" title="pango_module_register ()">pango_module_register</a> (<a class="link" href="pango-Modules.html#PangoIncludedModule" title="PangoIncludedModule"><span class="
|
43
|
+
<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="returnvalue">PangoMap</span></a> * <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()">pango_find_map</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>,
|
44
|
+
<em class="parameter"><code><span class="type">guint</span> engine_type_id</code></em>,
|
45
|
+
<em class="parameter"><code><span class="type">guint</span> render_type_id</code></em>);
|
46
|
+
<a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * <a class="link" href="pango-Modules.html#pango-map-get-engine" title="pango_map_get_engine ()">pango_map_get_engine</a> (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
47
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
48
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Modules.html#pango-map-get-engines" title="pango_map_get_engines ()">pango_map_get_engines</a> (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
49
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">GSList</span> **exact_engines</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">GSList</span> **fallback_engines</code></em>);
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Modules.html#pango-module-register" title="pango_module_register ()">pango_module_register</a> (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> *module</code></em>);
|
74
53
|
</pre>
|
75
54
|
</div>
|
76
|
-
<div class="refsect1"
|
55
|
+
<div class="refsect1">
|
77
56
|
<a name="pango-Modules.description"></a><h2>Description</h2>
|
78
57
|
<p>
|
79
58
|
Functions and macros in this section are used to support loading dynamic
|
80
59
|
modules that add engines to Pango at run time.
|
81
60
|
</p>
|
82
61
|
</div>
|
83
|
-
<div class="refsect1"
|
62
|
+
<div class="refsect1">
|
84
63
|
<a name="pango-Modules.details"></a><h2>Details</h2>
|
85
|
-
<div class="refsect2"
|
86
|
-
<a name="PangoIncludedModule"></a><h3>PangoIncludedModule</h3>
|
87
|
-
<pre class="programlisting">
|
64
|
+
<div class="refsect2">
|
65
|
+
<a name="PangoIncludedModule"></a><h3>struct PangoIncludedModule</h3>
|
66
|
+
<pre class="programlisting">struct PangoIncludedModule {
|
88
67
|
void (*list) (PangoEngineInfo **engines,
|
89
68
|
int *n_engines);
|
90
69
|
void (*init) (GTypeModule *module);
|
91
70
|
void (*exit) (void);
|
92
71
|
PangoEngine *(*create) (const char *id);
|
93
|
-
}
|
72
|
+
};
|
94
73
|
</pre>
|
95
74
|
<p>
|
96
|
-
The <a class="link" href="pango-Modules.html#PangoIncludedModule" title="PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> structure for a statically linked module
|
75
|
+
The <a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> structure for a statically linked module
|
97
76
|
contains the functions that would otherwise be loaded from a dynamically
|
98
77
|
loaded module.
|
99
78
|
</p>
|
@@ -124,7 +103,7 @@ loaded module.
|
|
124
103
|
</table></div>
|
125
104
|
</div>
|
126
105
|
<hr>
|
127
|
-
<div class="refsect2"
|
106
|
+
<div class="refsect2">
|
128
107
|
<a name="PangoMap"></a><h3>PangoMap</h3>
|
129
108
|
<pre class="programlisting">typedef struct _PangoMap PangoMap;</pre>
|
130
109
|
<p>
|
@@ -133,7 +112,7 @@ use for each character.
|
|
133
112
|
</p>
|
134
113
|
</div>
|
135
114
|
<hr>
|
136
|
-
<div class="refsect2"
|
115
|
+
<div class="refsect2">
|
137
116
|
<a name="PangoMapEntry"></a><h3>PangoMapEntry</h3>
|
138
117
|
<pre class="programlisting">typedef struct _PangoMapEntry PangoMapEntry;</pre>
|
139
118
|
<p>
|
@@ -143,31 +122,32 @@ matches the language tag for this entry's map exactly or just approximately.
|
|
143
122
|
</p>
|
144
123
|
</div>
|
145
124
|
<hr>
|
146
|
-
<div class="refsect2"
|
125
|
+
<div class="refsect2">
|
147
126
|
<a name="pango-find-map"></a><h3>pango_find_map ()</h3>
|
148
|
-
<pre class="programlisting"><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="returnvalue">PangoMap</span></a> * pango_find_map (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
149
|
-
<
|
150
|
-
<
|
127
|
+
<pre class="programlisting"><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="returnvalue">PangoMap</span></a> * pango_find_map (<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>,
|
128
|
+
<em class="parameter"><code><span class="type">guint</span> engine_type_id</code></em>,
|
129
|
+
<em class="parameter"><code><span class="type">guint</span> render_type_id</code></em>);</pre>
|
151
130
|
<p>
|
152
131
|
Locate a <a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> for a particular engine type and render
|
153
132
|
type. The resulting map can be used to determine the engine
|
154
|
-
for each character
|
133
|
+
for each character.
|
134
|
+
</p>
|
155
135
|
<div class="variablelist"><table border="0">
|
156
136
|
<col align="left" valign="top">
|
157
137
|
<tbody>
|
158
138
|
<tr>
|
159
139
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
160
|
-
<td>
|
140
|
+
<td>the language tag for which to find the map
|
161
141
|
</td>
|
162
142
|
</tr>
|
163
143
|
<tr>
|
164
144
|
<td><p><span class="term"><em class="parameter"><code>engine_type_id</code></em> :</span></p></td>
|
165
|
-
<td>
|
145
|
+
<td>the engine type for the map to find
|
166
146
|
</td>
|
167
147
|
</tr>
|
168
148
|
<tr>
|
169
149
|
<td><p><span class="term"><em class="parameter"><code>render_type_id</code></em> :</span></p></td>
|
170
|
-
<td>
|
150
|
+
<td>the render type for the map to find
|
171
151
|
</td>
|
172
152
|
</tr>
|
173
153
|
<tr>
|
@@ -179,29 +159,30 @@ for each character.</p>
|
|
179
159
|
</table></div>
|
180
160
|
</div>
|
181
161
|
<hr>
|
182
|
-
<div class="refsect2"
|
162
|
+
<div class="refsect2">
|
183
163
|
<a name="pango-map-get-engine"></a><h3>pango_map_get_engine ()</h3>
|
184
|
-
<pre class="programlisting"><a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * pango_map_get_engine (<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="
|
185
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
164
|
+
<pre class="programlisting"><a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * pango_map_get_engine (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
165
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
186
166
|
<p>
|
187
|
-
Returns the best engine listed in the map for a given script
|
167
|
+
Returns the best engine listed in the map for a given script
|
168
|
+
</p>
|
188
169
|
<div class="variablelist"><table border="0">
|
189
170
|
<col align="left" valign="top">
|
190
171
|
<tbody>
|
191
172
|
<tr>
|
192
173
|
<td><p><span class="term"><em class="parameter"><code>map</code></em> :</span></p></td>
|
193
|
-
<td>
|
174
|
+
<td>a <a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a>
|
194
175
|
</td>
|
195
176
|
</tr>
|
196
177
|
<tr>
|
197
178
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
198
|
-
<td>
|
179
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>
|
199
180
|
</td>
|
200
181
|
</tr>
|
201
182
|
<tr>
|
202
183
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
203
184
|
<td> the best engine, if one is listed for the script,
|
204
|
-
or <a href="/usr/share/gtk-doc/html/
|
185
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The lookup may cause the engine to be loaded;
|
205
186
|
once an engine is loaded, it won't be unloaded. If multiple
|
206
187
|
engines are exact for the script, the choice of which is
|
207
188
|
returned is arbitrary.
|
@@ -211,39 +192,40 @@ Returns the best engine listed in the map for a given script</p>
|
|
211
192
|
</table></div>
|
212
193
|
</div>
|
213
194
|
<hr>
|
214
|
-
<div class="refsect2"
|
195
|
+
<div class="refsect2">
|
215
196
|
<a name="pango-map-get-engines"></a><h3>pango_map_get_engines ()</h3>
|
216
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_map_get_engines (<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="
|
217
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
218
|
-
<
|
219
|
-
<
|
197
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_map_get_engines (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
198
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
199
|
+
<em class="parameter"><code><span class="type">GSList</span> **exact_engines</code></em>,
|
200
|
+
<em class="parameter"><code><span class="type">GSList</span> **fallback_engines</code></em>);</pre>
|
220
201
|
<p>
|
221
202
|
Finds engines in the map that handle the given script. The returned
|
222
203
|
lists should be freed with g_slist_free, but the engines in the
|
223
204
|
lists are owned by GLib and will be kept around permanently, so
|
224
|
-
they should not be unref'ed
|
205
|
+
they should not be unref'ed.
|
206
|
+
</p>
|
225
207
|
<div class="variablelist"><table border="0">
|
226
208
|
<col align="left" valign="top">
|
227
209
|
<tbody>
|
228
210
|
<tr>
|
229
211
|
<td><p><span class="term"><em class="parameter"><code>map</code></em> :</span></p></td>
|
230
|
-
<td>
|
212
|
+
<td>a <a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a>
|
231
213
|
</td>
|
232
214
|
</tr>
|
233
215
|
<tr>
|
234
216
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
235
|
-
<td>
|
217
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>
|
236
218
|
</td>
|
237
219
|
</tr>
|
238
220
|
<tr>
|
239
221
|
<td><p><span class="term"><em class="parameter"><code>exact_engines</code></em> :</span></p></td>
|
240
|
-
<td>
|
222
|
+
<td>location to store list of engines that exactly
|
241
223
|
handle this script.
|
242
224
|
</td>
|
243
225
|
</tr>
|
244
226
|
<tr>
|
245
227
|
<td><p><span class="term"><em class="parameter"><code>fallback_engines</code></em> :</span></p></td>
|
246
|
-
<td>
|
228
|
+
<td>location to store list of engines that approximately
|
247
229
|
handle this script.
|
248
230
|
</td>
|
249
231
|
</tr>
|
@@ -252,19 +234,20 @@ they should not be unref'ed.</p>
|
|
252
234
|
<p class="since">Since 1.4</p>
|
253
235
|
</div>
|
254
236
|
<hr>
|
255
|
-
<div class="refsect2"
|
237
|
+
<div class="refsect2">
|
256
238
|
<a name="pango-module-register"></a><h3>pango_module_register ()</h3>
|
257
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_module_register (<a class="link" href="pango-Modules.html#PangoIncludedModule" title="PangoIncludedModule"><span class="
|
239
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_module_register (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> *module</code></em>);</pre>
|
258
240
|
<p>
|
259
241
|
Registers a statically linked module with Pango. The
|
260
|
-
<a class="link" href="pango-Modules.html#PangoIncludedModule" title="PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> structure that is passed in contains the
|
242
|
+
<a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> structure that is passed in contains the
|
261
243
|
functions that would otherwise be loaded from a dynamically loaded
|
262
|
-
module
|
244
|
+
module.
|
245
|
+
</p>
|
263
246
|
<div class="variablelist"><table border="0">
|
264
247
|
<col align="left" valign="top">
|
265
248
|
<tbody><tr>
|
266
249
|
<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td>
|
267
|
-
<td>
|
250
|
+
<td>a <a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a>
|
268
251
|
</td>
|
269
252
|
</tr></tbody>
|
270
253
|
</table></div>
|
@@ -273,6 +256,6 @@ module.</p>
|
|
273
256
|
</div>
|
274
257
|
<div class="footer">
|
275
258
|
<hr>
|
276
|
-
Generated by GTK-Doc V1.
|
259
|
+
Generated by GTK-Doc V1.15.1</div>
|
277
260
|
</body>
|
278
261
|
</html>
|
@@ -8,29 +8,8 @@
|
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="PangoFcDecoder.html" title="PangoFcDecoder">
|
10
10
|
<link rel="next" href="pango-Coverage-Maps.html" title="Coverage Maps">
|
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">
|
@@ -49,7 +28,7 @@
|
|
49
28
|
<a href="#pango-OpenType-Font-Handling.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
50
29
|
</td></tr>
|
51
30
|
</table>
|
52
|
-
<div class="refentry"
|
31
|
+
<div class="refentry">
|
53
32
|
<a name="pango-OpenType-Font-Handling"></a><div class="titlepage"></div>
|
54
33
|
<div class="refnamediv"><table width="100%"><tr>
|
55
34
|
<td valign="top">
|
@@ -58,21 +37,24 @@
|
|
58
37
|
</td>
|
59
38
|
<td valign="top" align="right"></td>
|
60
39
|
</tr></table></div>
|
61
|
-
<div class="refsect1"
|
40
|
+
<div class="refsect1">
|
62
41
|
<a name="pango-OpenType-Font-Handling.stability-level"></a><h2>Stability Level</h2>
|
63
42
|
Unstable, unless otherwise indicated
|
64
43
|
</div>
|
65
|
-
<div class="refsynopsisdiv"
|
44
|
+
<div class="refsynopsisdiv">
|
66
45
|
<a name="pango-OpenType-Font-Handling.synopsis"></a><h2>Synopsis</h2>
|
67
46
|
<a name="PangoOTInfo"></a><a name="PangoOTRuleset"></a><pre class="synopsis">typedef <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a>;
|
68
47
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo-struct" title="PangoOTInfo">PangoOTInfo</a>;
|
69
48
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a>;
|
70
|
-
|
49
|
+
struct <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph">PangoOTGlyph</a>;
|
71
50
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset-struct" title="PangoOTRuleset">PangoOTRuleset</a>;
|
72
|
-
|
51
|
+
struct <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription">PangoOTRulesetDescription</a>;
|
73
52
|
enum <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a>;
|
74
|
-
|
75
|
-
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()">PANGO_OT_TAG_MAKE</a> (c1,
|
53
|
+
struct <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap">PangoOTFeatureMap</a>;
|
54
|
+
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()">PANGO_OT_TAG_MAKE</a> (c1,
|
55
|
+
c2,
|
56
|
+
c3,
|
57
|
+
c4)
|
76
58
|
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE-FROM-STRING:CAPS" title="PANGO_OT_TAG_MAKE_FROM_STRING()">PANGO_OT_TAG_MAKE_FROM_STRING</a> (s)
|
77
59
|
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-ALL-GLYPHS:CAPS" title="PANGO_OT_ALL_GLYPHS">PANGO_OT_ALL_GLYPHS</a>
|
78
60
|
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-NO-FEATURE:CAPS" title="PANGO_OT_NO_FEATURE">PANGO_OT_NO_FEATURE</a>
|
@@ -80,104 +62,104 @@ enum <a class="link" href="pango-OpenType-Font-Handling.html#Pang
|
|
80
62
|
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_DEFAULT_LANGUAGE">PANGO_OT_DEFAULT_LANGUAGE</a>
|
81
63
|
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_TAG_DEFAULT_LANGUAGE">PANGO_OT_TAG_DEFAULT_LANGUAGE</a>
|
82
64
|
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT">PANGO_OT_TAG_DEFAULT_SCRIPT</a>
|
83
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="returnvalue">PangoOTInfo</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-get" title="pango_ot_info_get ()">pango_ot_info_get</a> (<span class="
|
84
|
-
<
|
85
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
86
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
87
|
-
<
|
88
|
-
<
|
89
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
90
|
-
<
|
91
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
92
|
-
<
|
93
|
-
<
|
94
|
-
<
|
95
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
96
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
97
|
-
<
|
98
|
-
<
|
99
|
-
<
|
100
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-scripts" title="pango_ot_info_list_scripts ()">pango_ot_info_list_scripts</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
101
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
102
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-languages" title="pango_ot_info_list_languages ()">pango_ot_info_list_languages</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
103
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
104
|
-
<
|
105
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
106
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-features" title="pango_ot_info_list_features ()">pango_ot_info_list_features</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
107
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
108
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
109
|
-
<
|
110
|
-
<
|
111
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="returnvalue">PangoOTBuffer</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-new" title="pango_ot_buffer_new ()">pango_ot_buffer_new</a> (<a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="
|
112
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-destroy" title="pango_ot_buffer_destroy ()">pango_ot_buffer_destroy</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
113
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-clear" title="pango_ot_buffer_clear ()">pango_ot_buffer_clear</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
114
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-add-glyph" title="pango_ot_buffer_add_glyph ()">pango_ot_buffer_add_glyph</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
115
|
-
<
|
116
|
-
<
|
117
|
-
<
|
118
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-set-rtl" title="pango_ot_buffer_set_rtl ()">pango_ot_buffer_set_rtl</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
119
|
-
<
|
65
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="returnvalue">PangoOTInfo</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-get" title="pango_ot_info_get ()">pango_ot_info_get</a> (<em class="parameter"><code><span class="type">FT_Face</span> face</code></em>);
|
66
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()">pango_ot_info_find_script</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
67
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
68
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">guint</span> *script_index</code></em>);
|
70
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()">pango_ot_info_find_language</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
71
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
73
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>,
|
74
|
+
<em class="parameter"><code><span class="type">guint</span> *language_index</code></em>,
|
75
|
+
<em class="parameter"><code><span class="type">guint</span> *required_feature_index</code></em>);
|
76
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()">pango_ot_info_find_feature</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
77
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
78
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
|
79
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
80
|
+
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>,
|
81
|
+
<em class="parameter"><code><span class="type">guint</span> *feature_index</code></em>);
|
82
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-scripts" title="pango_ot_info_list_scripts ()">pango_ot_info_list_scripts</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
83
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>);
|
84
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-languages" title="pango_ot_info_list_languages ()">pango_ot_info_list_languages</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
85
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
86
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
87
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);
|
88
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-features" title="pango_ot_info_list_features ()">pango_ot_info_list_features</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
89
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
90
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> tag</code></em>,
|
91
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
92
|
+
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>);
|
93
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="returnvalue">PangoOTBuffer</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-new" title="pango_ot_buffer_new ()">pango_ot_buffer_new</a> (<em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *font</code></em>);
|
94
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-destroy" title="pango_ot_buffer_destroy ()">pango_ot_buffer_destroy</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);
|
95
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-clear" title="pango_ot_buffer_clear ()">pango_ot_buffer_clear</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-add-glyph" title="pango_ot_buffer_add_glyph ()">pango_ot_buffer_add_glyph</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
97
|
+
<em class="parameter"><code><span class="type">guint</span> glyph</code></em>,
|
98
|
+
<em class="parameter"><code><span class="type">guint</span> properties</code></em>,
|
99
|
+
<em class="parameter"><code><span class="type">guint</span> cluster</code></em>);
|
100
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-set-rtl" title="pango_ot_buffer_set_rtl ()">pango_ot_buffer_set_rtl</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
101
|
+
<em class="parameter"><code><span class="type">gboolean</span> rtl</code></em>);
|
120
102
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-set-zero-width-marks" title="pango_ot_buffer_set_zero_width_marks ()">pango_ot_buffer_set_zero_width_marks</a>
|
121
|
-
(<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
122
|
-
<
|
123
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-get-glyphs" title="pango_ot_buffer_get_glyphs ()">pango_ot_buffer_get_glyphs</a> (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
124
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="PangoOTGlyph"><span class="
|
125
|
-
<span class="
|
126
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-output" title="pango_ot_buffer_output ()">pango_ot_buffer_output</a> (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
127
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
103
|
+
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
104
|
+
<em class="parameter"><code><span class="type">gboolean</span> zero_width_marks</code></em>);
|
105
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-get-glyphs" title="pango_ot_buffer_get_glyphs ()">pango_ot_buffer_get_glyphs</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
106
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph"><span class="type">PangoOTGlyph</span></a> **glyphs</code></em>,
|
107
|
+
<em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>);
|
108
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-output" title="pango_ot_buffer_output ()">pango_ot_buffer_output</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
109
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
|
128
110
|
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-for-description" title="pango_ot_ruleset_get_for_description ()">pango_ot_ruleset_get_for_description</a>
|
129
|
-
(<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
130
|
-
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
131
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()">pango_ot_ruleset_new</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
132
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()">pango_ot_ruleset_new_for</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
133
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
134
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
111
|
+
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
112
|
+
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
113
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()">pango_ot_ruleset_new</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>);
|
114
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()">pango_ot_ruleset_new_for</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
115
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
116
|
+
<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>);
|
135
117
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-from-description" title="pango_ot_ruleset_new_from_description ()">pango_ot_ruleset_new_from_description</a>
|
136
|
-
(<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
137
|
-
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
138
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()">pango_ot_ruleset_add_feature</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="
|
139
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
140
|
-
<
|
141
|
-
<
|
142
|
-
<
|
143
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
144
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
145
|
-
<
|
146
|
-
<
|
147
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
148
|
-
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap"><span class="
|
149
|
-
<
|
150
|
-
<
|
151
|
-
<
|
152
|
-
<
|
153
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-substitute" title="pango_ot_ruleset_substitute ()">pango_ot_ruleset_substitute</a> (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="
|
154
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
155
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-position" title="pango_ot_ruleset_position ()">pango_ot_ruleset_position</a> (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="
|
156
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
157
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="returnvalue">PangoOTRulesetDescription</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-copy" title="pango_ot_ruleset_description_copy ()">pango_ot_ruleset_description_copy</a>
|
158
|
-
(const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
159
|
-
<
|
160
|
-
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
161
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()">pango_ot_ruleset_description_free</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
162
|
-
<
|
163
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()">pango_ot_tag_from_language</a> (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
164
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-script" title="pango_ot_tag_from_script ()">pango_ot_tag_from_script</a> (<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
165
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-to-language" title="pango_ot_tag_to_language ()">pango_ot_tag_to_language</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
166
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-to-script" title="pango_ot_tag_to_script ()">pango_ot_tag_to_script</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
118
|
+
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
119
|
+
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
120
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()">pango_ot_ruleset_add_feature</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
121
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
122
|
+
<em class="parameter"><code><span class="type">guint</span> feature_index</code></em>,
|
123
|
+
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);
|
124
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()">pango_ot_ruleset_maybe_add_feature</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
125
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
126
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
|
127
|
+
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);
|
128
|
+
<span class="returnvalue">guint</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-features" title="pango_ot_ruleset_maybe_add_features ()">pango_ot_ruleset_maybe_add_features</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
129
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
130
|
+
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *features</code></em>,
|
131
|
+
<em class="parameter"><code><span class="type">guint</span> n_features</code></em>);
|
132
|
+
<span class="returnvalue">guint</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-feature-count" title="pango_ot_ruleset_get_feature_count ()">pango_ot_ruleset_get_feature_count</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
133
|
+
<em class="parameter"><code><span class="type">guint</span> *n_gsub_features</code></em>,
|
134
|
+
<em class="parameter"><code><span class="type">guint</span> *n_gpos_features</code></em>);
|
135
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-substitute" title="pango_ot_ruleset_substitute ()">pango_ot_ruleset_substitute</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
136
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);
|
137
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-position" title="pango_ot_ruleset_position ()">pango_ot_ruleset_position</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
138
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);
|
139
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="returnvalue">PangoOTRulesetDescription</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-copy" title="pango_ot_ruleset_description_copy ()">pango_ot_ruleset_description_copy</a>
|
140
|
+
(<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
141
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-equal" title="pango_ot_ruleset_description_equal ()">pango_ot_ruleset_description_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc1</code></em>,
|
142
|
+
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc2</code></em>);
|
143
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()">pango_ot_ruleset_description_free</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
144
|
+
<span class="returnvalue">guint</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-hash" title="pango_ot_ruleset_description_hash ()">pango_ot_ruleset_description_hash</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
145
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()">pango_ot_tag_from_language</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>);
|
146
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-script" title="pango_ot_tag_from_script ()">pango_ot_tag_from_script</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
147
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-to-language" title="pango_ot_tag_to_language ()">pango_ot_tag_to_language</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);
|
148
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-to-script" title="pango_ot_tag_to_script ()">pango_ot_tag_to_script</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>);
|
167
149
|
</pre>
|
168
150
|
</div>
|
169
|
-
<div class="refsect1"
|
151
|
+
<div class="refsect1">
|
170
152
|
<a name="pango-OpenType-Font-Handling.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
171
153
|
<pre class="synopsis">
|
172
|
-
|
154
|
+
GObject
|
173
155
|
+----PangoOTInfo
|
174
156
|
</pre>
|
175
157
|
<pre class="synopsis">
|
176
|
-
|
158
|
+
GObject
|
177
159
|
+----PangoOTRuleset
|
178
160
|
</pre>
|
179
161
|
</div>
|
180
|
-
<div class="refsect1"
|
162
|
+
<div class="refsect1">
|
181
163
|
<a name="pango-OpenType-Font-Handling.description"></a><h2>Description</h2>
|
182
164
|
<p>
|
183
165
|
Functions and macros in this section are used to implement the OpenType Layout
|
@@ -185,9 +167,9 @@ features and algorithms. These are mostly useful when writing Fontconfig-based
|
|
185
167
|
shaping engines
|
186
168
|
</p>
|
187
169
|
</div>
|
188
|
-
<div class="refsect1"
|
170
|
+
<div class="refsect1">
|
189
171
|
<a name="pango-OpenType-Font-Handling.details"></a><h2>Details</h2>
|
190
|
-
<div class="refsect2"
|
172
|
+
<div class="refsect2">
|
191
173
|
<a name="PangoOTTag"></a><h3>PangoOTTag</h3>
|
192
174
|
<pre class="programlisting">typedef guint32 PangoOTTag;
|
193
175
|
</pre>
|
@@ -198,7 +180,7 @@ or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE-FRO
|
|
198
180
|
</p>
|
199
181
|
</div>
|
200
182
|
<hr>
|
201
|
-
<div class="refsect2"
|
183
|
+
<div class="refsect2">
|
202
184
|
<a name="PangoOTInfo-struct"></a><h3>PangoOTInfo</h3>
|
203
185
|
<pre class="programlisting">typedef struct _PangoOTInfo PangoOTInfo;</pre>
|
204
186
|
<p>
|
@@ -210,7 +192,7 @@ use <code class="function">pango_ot_info_new()</code>.
|
|
210
192
|
</p>
|
211
193
|
</div>
|
212
194
|
<hr>
|
213
|
-
<div class="refsect2"
|
195
|
+
<div class="refsect2">
|
214
196
|
<a name="PangoOTBuffer"></a><h3>PangoOTBuffer</h3>
|
215
197
|
<pre class="programlisting">typedef struct _PangoOTBuffer PangoOTBuffer;</pre>
|
216
198
|
<p>
|
@@ -222,9 +204,9 @@ To obtain a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffe
|
|
222
204
|
</p>
|
223
205
|
</div>
|
224
206
|
<hr>
|
225
|
-
<div class="refsect2"
|
226
|
-
<a name="PangoOTGlyph"></a><h3>PangoOTGlyph</h3>
|
227
|
-
<pre class="programlisting">
|
207
|
+
<div class="refsect2">
|
208
|
+
<a name="PangoOTGlyph"></a><h3>struct PangoOTGlyph</h3>
|
209
|
+
<pre class="programlisting">struct PangoOTGlyph {
|
228
210
|
guint32 glyph;
|
229
211
|
guint properties;
|
230
212
|
guint cluster;
|
@@ -232,10 +214,10 @@ To obtain a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffe
|
|
232
214
|
gushort ligID;
|
233
215
|
|
234
216
|
guint internal;
|
235
|
-
}
|
217
|
+
};
|
236
218
|
</pre>
|
237
219
|
<p>
|
238
|
-
The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="PangoOTGlyph"><span class="type">PangoOTGlyph</span></a> structure represents a single glyph together with
|
220
|
+
The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph"><span class="type">PangoOTGlyph</span></a> structure represents a single glyph together with
|
239
221
|
information used for OpenType layout processing of the glyph.
|
240
222
|
It contains the following fields.
|
241
223
|
</p>
|
@@ -243,33 +225,33 @@ It contains the following fields.
|
|
243
225
|
<col align="left" valign="top">
|
244
226
|
<tbody>
|
245
227
|
<tr>
|
246
|
-
<td><p><span class="term"><
|
228
|
+
<td><p><span class="term"><span class="type">guint32</span> <em class="structfield"><code><a name="PangoOTGlyph.glyph"></a>glyph</code></em>;</span></p></td>
|
247
229
|
<td>the glyph itself.
|
248
230
|
</td>
|
249
231
|
</tr>
|
250
232
|
<tr>
|
251
|
-
<td><p><span class="term"><
|
233
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTGlyph.properties"></a>properties</code></em>;</span></p></td>
|
252
234
|
<td>the properties value, identifying which features should be
|
253
235
|
applied on this glyph. See <code class="function">pango_ruleset_add_feature()</code>.
|
254
236
|
</td>
|
255
237
|
</tr>
|
256
238
|
<tr>
|
257
|
-
<td><p><span class="term"><
|
239
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTGlyph.cluster"></a>cluster</code></em>;</span></p></td>
|
258
240
|
<td>the cluster that this glyph belongs to.
|
259
241
|
</td>
|
260
242
|
</tr>
|
261
243
|
<tr>
|
262
|
-
<td><p><span class="term"><
|
244
|
+
<td><p><span class="term"><span class="type">gushort</span> <em class="structfield"><code><a name="PangoOTGlyph.component"></a>component</code></em>;</span></p></td>
|
263
245
|
<td>a component value, set by the OpenType layout engine.
|
264
246
|
</td>
|
265
247
|
</tr>
|
266
248
|
<tr>
|
267
|
-
<td><p><span class="term"><
|
249
|
+
<td><p><span class="term"><span class="type">gushort</span> <em class="structfield"><code><a name="PangoOTGlyph.ligID"></a>ligID</code></em>;</span></p></td>
|
268
250
|
<td>a ligature index value, set by the OpenType layout engine.
|
269
251
|
</td>
|
270
252
|
</tr>
|
271
253
|
<tr>
|
272
|
-
<td><p><span class="term"><
|
254
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTGlyph.internal"></a>internal</code></em>;</span></p></td>
|
273
255
|
<td>for Pango internal use
|
274
256
|
</td>
|
275
257
|
</tr>
|
@@ -277,7 +259,7 @@ It contains the following fields.
|
|
277
259
|
</table></div>
|
278
260
|
</div>
|
279
261
|
<hr>
|
280
|
-
<div class="refsect2"
|
262
|
+
<div class="refsect2">
|
281
263
|
<a name="PangoOTRuleset-struct"></a><h3>PangoOTRuleset</h3>
|
282
264
|
<pre class="programlisting">typedef struct _PangoOTRuleset PangoOTRuleset;</pre>
|
283
265
|
<p>
|
@@ -288,13 +270,13 @@ that should be applied to a text feature such as a certain
|
|
288
270
|
type of accent.) A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>
|
289
271
|
is created with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()"><code class="function">pango_ot_ruleset_new()</code></a>, features are added
|
290
272
|
to it with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a>, then it is
|
291
|
-
applied to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> with <code class="function">pango_ot_ruleset_shape()</code>.
|
273
|
+
applied to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> with <code class="function">pango_ot_ruleset_shape()</code>.
|
292
274
|
</p>
|
293
275
|
</div>
|
294
276
|
<hr>
|
295
|
-
<div class="refsect2"
|
296
|
-
<a name="PangoOTRulesetDescription"></a><h3>PangoOTRulesetDescription</h3>
|
297
|
-
<pre class="programlisting">
|
277
|
+
<div class="refsect2">
|
278
|
+
<a name="PangoOTRulesetDescription"></a><h3>struct PangoOTRulesetDescription</h3>
|
279
|
+
<pre class="programlisting">struct PangoOTRulesetDescription {
|
298
280
|
PangoScript script;
|
299
281
|
PangoLanguage *language;
|
300
282
|
const PangoOTFeatureMap *static_gsub_features;
|
@@ -303,7 +285,7 @@ applied to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" ti
|
|
303
285
|
guint n_static_gpos_features;
|
304
286
|
const PangoOTFeatureMap *other_features;
|
305
287
|
guint n_other_features;
|
306
|
-
}
|
288
|
+
};
|
307
289
|
</pre>
|
308
290
|
<p>
|
309
291
|
The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> structure holds all the information needed
|
@@ -327,34 +309,34 @@ or create a new one using <a class="link" href="pango-OpenType-Font-Handling.htm
|
|
327
309
|
</td>
|
328
310
|
</tr>
|
329
311
|
<tr>
|
330
|
-
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.static-gsub-features"></a>static_gsub_features</code></em>;</span></p></td>
|
331
|
-
<td>static map of GSUB features, or <a href="/usr/share/gtk-doc/html/
|
312
|
+
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.static-gsub-features"></a>static_gsub_features</code></em>;</span></p></td>
|
313
|
+
<td>static map of GSUB features, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
332
314
|
</td>
|
333
315
|
</tr>
|
334
316
|
<tr>
|
335
|
-
<td><p><span class="term"><
|
317
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-static-gsub-features"></a>n_static_gsub_features</code></em>;</span></p></td>
|
336
318
|
<td>length of <em class="parameter"><code>static_gsub_features</code></em>, or 0.
|
337
319
|
</td>
|
338
320
|
</tr>
|
339
321
|
<tr>
|
340
|
-
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.static-gpos-features"></a>static_gpos_features</code></em>;</span></p></td>
|
341
|
-
<td>static map of GPOS features, or <a href="/usr/share/gtk-doc/html/
|
322
|
+
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.static-gpos-features"></a>static_gpos_features</code></em>;</span></p></td>
|
323
|
+
<td>static map of GPOS features, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
342
324
|
</td>
|
343
325
|
</tr>
|
344
326
|
<tr>
|
345
|
-
<td><p><span class="term"><
|
327
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-static-gpos-features"></a>n_static_gpos_features</code></em>;</span></p></td>
|
346
328
|
<td>length of <em class="parameter"><code>static_gpos_features</code></em>, or 0.
|
347
329
|
</td>
|
348
330
|
</tr>
|
349
331
|
<tr>
|
350
|
-
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.other-features"></a>other_features</code></em>;</span></p></td>
|
351
|
-
<td>map of extra features to add to both GSUB and GPOS, or <a href="/usr/share/gtk-doc/html/
|
332
|
+
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.other-features"></a>other_features</code></em>;</span></p></td>
|
333
|
+
<td>map of extra features to add to both GSUB and GPOS, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
352
334
|
Unlike the static maps, this pointer need not live beyond
|
353
335
|
the life of function calls taking this struct.
|
354
336
|
</td>
|
355
337
|
</tr>
|
356
338
|
<tr>
|
357
|
-
<td><p><span class="term"><
|
339
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-other-features"></a>n_other_features</code></em>;</span></p></td>
|
358
340
|
<td>length of <em class="parameter"><code>other_features</code></em>, or 0.
|
359
341
|
</td>
|
360
342
|
</tr>
|
@@ -363,7 +345,7 @@ or create a new one using <a class="link" href="pango-OpenType-Font-Handling.htm
|
|
363
345
|
<p class="since">Since 1.18</p>
|
364
346
|
</div>
|
365
347
|
<hr>
|
366
|
-
<div class="refsect2"
|
348
|
+
<div class="refsect2">
|
367
349
|
<a name="PangoOTTableType"></a><h3>enum PangoOTTableType</h3>
|
368
350
|
<pre class="programlisting">typedef enum
|
369
351
|
{
|
@@ -393,12 +375,12 @@ identify the various OpenType tables in the
|
|
393
375
|
</table></div>
|
394
376
|
</div>
|
395
377
|
<hr>
|
396
|
-
<div class="refsect2"
|
397
|
-
<a name="PangoOTFeatureMap"></a><h3>PangoOTFeatureMap</h3>
|
398
|
-
<pre class="programlisting">
|
378
|
+
<div class="refsect2">
|
379
|
+
<a name="PangoOTFeatureMap"></a><h3>struct PangoOTFeatureMap</h3>
|
380
|
+
<pre class="programlisting">struct PangoOTFeatureMap {
|
399
381
|
char feature_name[5];
|
400
382
|
gulong property_bit;
|
401
|
-
}
|
383
|
+
};
|
402
384
|
</pre>
|
403
385
|
<p>
|
404
386
|
The <span class="type">PangoOTFeatureMap</span> typedef is used to represent an OpenType
|
@@ -414,7 +396,7 @@ represented as a char array instead of a <a class="link" href="pango-OpenType-Fo
|
|
414
396
|
</td>
|
415
397
|
</tr>
|
416
398
|
<tr>
|
417
|
-
<td><p><span class="term"><
|
399
|
+
<td><p><span class="term"><span class="type">gulong</span> <em class="structfield"><code><a name="PangoOTFeatureMap.property-bit"></a>property_bit</code></em>;</span></p></td>
|
418
400
|
<td>the property bit to use for this feature. See
|
419
401
|
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> for details.
|
420
402
|
</td>
|
@@ -424,7 +406,7 @@ represented as a char array instead of a <a class="link" href="pango-OpenType-Fo
|
|
424
406
|
<p class="since">Since 1.18</p>
|
425
407
|
</div>
|
426
408
|
<hr>
|
427
|
-
<div class="refsect2"
|
409
|
+
<div class="refsect2">
|
428
410
|
<a name="PANGO-OT-TAG-MAKE:CAPS"></a><h3>PANGO_OT_TAG_MAKE()</h3>
|
429
411
|
<pre class="programlisting">#define PANGO_OT_TAG_MAKE(c1,c2,c3,c4) ((PangoOTTag) FT_MAKE_TAG (c1, c2, c3, c4))
|
430
412
|
</pre>
|
@@ -460,7 +442,7 @@ FreeType.
|
|
460
442
|
</table></div>
|
461
443
|
</div>
|
462
444
|
<hr>
|
463
|
-
<div class="refsect2"
|
445
|
+
<div class="refsect2">
|
464
446
|
<a name="PANGO-OT-TAG-MAKE-FROM-STRING:CAPS"></a><h3>PANGO_OT_TAG_MAKE_FROM_STRING()</h3>
|
465
447
|
<pre class="programlisting">#define PANGO_OT_TAG_MAKE_FROM_STRING(s)</pre>
|
466
448
|
<p>
|
@@ -480,7 +462,7 @@ example, as a switch expression, as it dereferences pointers.
|
|
480
462
|
</table></div>
|
481
463
|
</div>
|
482
464
|
<hr>
|
483
|
-
<div class="refsect2"
|
465
|
+
<div class="refsect2">
|
484
466
|
<a name="PANGO-OT-ALL-GLYPHS:CAPS"></a><h3>PANGO_OT_ALL_GLYPHS</h3>
|
485
467
|
<pre class="programlisting">#define PANGO_OT_ALL_GLYPHS ((guint) 0xFFFF)
|
486
468
|
</pre>
|
@@ -491,7 +473,7 @@ feature should be applied to all glyphs.
|
|
491
473
|
<p class="since">Since 1.16</p>
|
492
474
|
</div>
|
493
475
|
<hr>
|
494
|
-
<div class="refsect2"
|
476
|
+
<div class="refsect2">
|
495
477
|
<a name="PANGO-OT-NO-FEATURE:CAPS"></a><h3>PANGO_OT_NO_FEATURE</h3>
|
496
478
|
<pre class="programlisting">#define PANGO_OT_NO_FEATURE ((guint) 0xFFFF)
|
497
479
|
</pre>
|
@@ -505,7 +487,7 @@ user.
|
|
505
487
|
<p class="since">Since 1.18</p>
|
506
488
|
</div>
|
507
489
|
<hr>
|
508
|
-
<div class="refsect2"
|
490
|
+
<div class="refsect2">
|
509
491
|
<a name="PANGO-OT-NO-SCRIPT:CAPS"></a><h3>PANGO_OT_NO_SCRIPT</h3>
|
510
492
|
<pre class="programlisting">#define PANGO_OT_NO_SCRIPT ((guint) 0xFFFF)
|
511
493
|
</pre>
|
@@ -520,7 +502,7 @@ this value, so no special handling is required by the user.
|
|
520
502
|
<p class="since">Since 1.18</p>
|
521
503
|
</div>
|
522
504
|
<hr>
|
523
|
-
<div class="refsect2"
|
505
|
+
<div class="refsect2">
|
524
506
|
<a name="PANGO-OT-DEFAULT-LANGUAGE:CAPS"></a><h3>PANGO_OT_DEFAULT_LANGUAGE</h3>
|
525
507
|
<pre class="programlisting">#define PANGO_OT_DEFAULT_LANGUAGE ((guint) 0xFFFF)
|
526
508
|
</pre>
|
@@ -537,7 +519,7 @@ default language system explicitly.
|
|
537
519
|
<p class="since">Since 1.16</p>
|
538
520
|
</div>
|
539
521
|
<hr>
|
540
|
-
<div class="refsect2"
|
522
|
+
<div class="refsect2">
|
541
523
|
<a name="PANGO-OT-TAG-DEFAULT-LANGUAGE:CAPS"></a><h3>PANGO_OT_TAG_DEFAULT_LANGUAGE</h3>
|
542
524
|
<pre class="programlisting">#define PANGO_OT_TAG_DEFAULT_LANGUAGE PANGO_OT_TAG_MAKE ('d', 'f', 'l', 't')
|
543
525
|
</pre>
|
@@ -551,7 +533,7 @@ language-system if the requested language tag is not found.
|
|
551
533
|
<p class="since">Since 1.18</p>
|
552
534
|
</div>
|
553
535
|
<hr>
|
554
|
-
<div class="refsect2"
|
536
|
+
<div class="refsect2">
|
555
537
|
<a name="PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS"></a><h3>PANGO_OT_TAG_DEFAULT_SCRIPT</h3>
|
556
538
|
<pre class="programlisting">#define PANGO_OT_TAG_DEFAULT_SCRIPT PANGO_OT_TAG_MAKE ('D', 'F', 'L', 'T')
|
557
539
|
</pre>
|
@@ -563,17 +545,18 @@ is not found.
|
|
563
545
|
<p class="since">Since 1.18</p>
|
564
546
|
</div>
|
565
547
|
<hr>
|
566
|
-
<div class="refsect2"
|
548
|
+
<div class="refsect2">
|
567
549
|
<a name="pango-ot-info-get"></a><h3>pango_ot_info_get ()</h3>
|
568
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="returnvalue">PangoOTInfo</span></a> * pango_ot_info_get (<span class="
|
550
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="returnvalue">PangoOTInfo</span></a> * pango_ot_info_get (<em class="parameter"><code><span class="type">FT_Face</span> face</code></em>);</pre>
|
569
551
|
<p>
|
570
|
-
Returns the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> structure for the given FreeType font face
|
552
|
+
Returns the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> structure for the given FreeType font face.
|
553
|
+
</p>
|
571
554
|
<div class="variablelist"><table border="0">
|
572
555
|
<col align="left" valign="top">
|
573
556
|
<tbody>
|
574
557
|
<tr>
|
575
558
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
576
|
-
<td>
|
559
|
+
<td>a <span class="type">FT_Face</span>.
|
577
560
|
</td>
|
578
561
|
</tr>
|
579
562
|
<tr>
|
@@ -588,12 +571,12 @@ the same lifetime as <em class="parameter"><code>face</code></em>.
|
|
588
571
|
<p class="since">Since 1.2</p>
|
589
572
|
</div>
|
590
573
|
<hr>
|
591
|
-
<div class="refsect2"
|
574
|
+
<div class="refsect2">
|
592
575
|
<a name="pango-ot-info-find-script"></a><h3>pango_ot_info_find_script ()</h3>
|
593
|
-
<pre class="programlisting"><
|
594
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
595
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
596
|
-
<
|
576
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_info_find_script (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
577
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
578
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>,
|
579
|
+
<em class="parameter"><code><span class="type">guint</span> *script_index</code></em>);</pre>
|
597
580
|
<p>
|
598
581
|
Finds the index of a script. If not found, tries to find the 'DFLT'
|
599
582
|
and then 'dflt' scripts and return the index of that in <em class="parameter"><code>script_index</code></em>.
|
@@ -604,47 +587,48 @@ If none of those is found either, <a class="link" href="pango-OpenType-Font-Hand
|
|
604
587
|
All other functions taking an input script_index parameter know
|
605
588
|
how to handle <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-NO-SCRIPT:CAPS" title="PANGO_OT_NO_SCRIPT"><code class="literal">PANGO_OT_NO_SCRIPT</code></a>, so one can ignore the return
|
606
589
|
value of this function completely and proceed, to enjoy the automatic
|
607
|
-
fallback to the 'DFLT'/'dflt' script
|
590
|
+
fallback to the 'DFLT'/'dflt' script.
|
591
|
+
</p>
|
608
592
|
<div class="variablelist"><table border="0">
|
609
593
|
<col align="left" valign="top">
|
610
594
|
<tbody>
|
611
595
|
<tr>
|
612
596
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
613
|
-
<td>
|
597
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
614
598
|
</td>
|
615
599
|
</tr>
|
616
600
|
<tr>
|
617
601
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
618
|
-
<td>
|
602
|
+
<td>the table type to obtain information about.
|
619
603
|
</td>
|
620
604
|
</tr>
|
621
605
|
<tr>
|
622
606
|
<td><p><span class="term"><em class="parameter"><code>script_tag</code></em> :</span></p></td>
|
623
|
-
<td>
|
607
|
+
<td>the tag of the script to find.
|
624
608
|
</td>
|
625
609
|
</tr>
|
626
610
|
<tr>
|
627
611
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
628
|
-
<td>
|
612
|
+
<td>location to store the index of the script, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
629
613
|
</td>
|
630
614
|
</tr>
|
631
615
|
<tr>
|
632
616
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
633
|
-
<td> <
|
617
|
+
<td> <code class="literal">TRUE</code> if the script was found.
|
634
618
|
</td>
|
635
619
|
</tr>
|
636
620
|
</tbody>
|
637
621
|
</table></div>
|
638
622
|
</div>
|
639
623
|
<hr>
|
640
|
-
<div class="refsect2"
|
624
|
+
<div class="refsect2">
|
641
625
|
<a name="pango-ot-info-find-language"></a><h3>pango_ot_info_find_language ()</h3>
|
642
|
-
<pre class="programlisting"><
|
643
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
644
|
-
<
|
645
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
646
|
-
<
|
647
|
-
<
|
626
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_info_find_language (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
627
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
628
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
629
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>,
|
630
|
+
<em class="parameter"><code><span class="type">guint</span> *language_index</code></em>,
|
631
|
+
<em class="parameter"><code><span class="type">guint</span> *required_feature_index</code></em>);</pre>
|
648
632
|
<p>
|
649
633
|
Finds the index of a language and its required feature index.
|
650
634
|
If the language is not found, sets <em class="parameter"><code>language_index</code></em> to
|
@@ -653,58 +637,59 @@ system is returned in required_feature_index. For best compatibility with
|
|
653
637
|
some fonts, also searches the language system tag 'dflt' before falling
|
654
638
|
back to the default language system, but that is transparent to the user.
|
655
639
|
The user can simply ignore the return value of this function to
|
656
|
-
automatically fall back to the default language system
|
640
|
+
automatically fall back to the default language system.
|
641
|
+
</p>
|
657
642
|
<div class="variablelist"><table border="0">
|
658
643
|
<col align="left" valign="top">
|
659
644
|
<tbody>
|
660
645
|
<tr>
|
661
646
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
662
|
-
<td>
|
647
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
663
648
|
</td>
|
664
649
|
</tr>
|
665
650
|
<tr>
|
666
651
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
667
|
-
<td>
|
652
|
+
<td>the table type to obtain information about.
|
668
653
|
</td>
|
669
654
|
</tr>
|
670
655
|
<tr>
|
671
656
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
672
|
-
<td>
|
657
|
+
<td>the index of the script whose languages are searched.
|
673
658
|
</td>
|
674
659
|
</tr>
|
675
660
|
<tr>
|
676
661
|
<td><p><span class="term"><em class="parameter"><code>language_tag</code></em> :</span></p></td>
|
677
|
-
<td>
|
662
|
+
<td>the tag of the language to find.
|
678
663
|
</td>
|
679
664
|
</tr>
|
680
665
|
<tr>
|
681
666
|
<td><p><span class="term"><em class="parameter"><code>language_index</code></em> :</span></p></td>
|
682
|
-
<td>
|
667
|
+
<td>location to store the index of the language, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
683
668
|
</td>
|
684
669
|
</tr>
|
685
670
|
<tr>
|
686
671
|
<td><p><span class="term"><em class="parameter"><code>required_feature_index</code></em> :</span></p></td>
|
687
|
-
<td>
|
688
|
-
the language, or <a href="/usr/share/gtk-doc/html/
|
672
|
+
<td>location to store the required feature index of
|
673
|
+
the language, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
689
674
|
</td>
|
690
675
|
</tr>
|
691
676
|
<tr>
|
692
677
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
693
|
-
<td> <
|
678
|
+
<td> <code class="literal">TRUE</code> if the language was found.
|
694
679
|
</td>
|
695
680
|
</tr>
|
696
681
|
</tbody>
|
697
682
|
</table></div>
|
698
683
|
</div>
|
699
684
|
<hr>
|
700
|
-
<div class="refsect2"
|
685
|
+
<div class="refsect2">
|
701
686
|
<a name="pango-ot-info-find-feature"></a><h3>pango_ot_info_find_feature ()</h3>
|
702
|
-
<pre class="programlisting"><
|
703
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
704
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
705
|
-
<
|
706
|
-
<
|
707
|
-
<
|
687
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_info_find_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
688
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
689
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
|
690
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
691
|
+
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>,
|
692
|
+
<em class="parameter"><code><span class="type">guint</span> *feature_index</code></em>);</pre>
|
708
693
|
<p>
|
709
694
|
Finds the index of a feature. If the feature is not found, sets
|
710
695
|
<em class="parameter"><code>feature_index</code></em> to PANGO_OT_NO_FEATURE, which is safe to pass to
|
@@ -714,156 +699,160 @@ Finds the index of a feature. If the feature is not found, sets
|
|
714
699
|
In the future, this may set <em class="parameter"><code>feature_index</code></em> to an special value that if used
|
715
700
|
in <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> will ask Pango to synthesize the
|
716
701
|
requested feature based on Unicode properties and data. However, this
|
717
|
-
function will still return <
|
718
|
-
ignore the return value of this function in certain cases
|
702
|
+
function will still return <code class="literal">FALSE</code> in those cases. So, users may want to
|
703
|
+
ignore the return value of this function in certain cases.
|
704
|
+
</p>
|
719
705
|
<div class="variablelist"><table border="0">
|
720
706
|
<col align="left" valign="top">
|
721
707
|
<tbody>
|
722
708
|
<tr>
|
723
709
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
724
|
-
<td>
|
710
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
725
711
|
</td>
|
726
712
|
</tr>
|
727
713
|
<tr>
|
728
714
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
729
|
-
<td>
|
715
|
+
<td>the table type to obtain information about.
|
730
716
|
</td>
|
731
717
|
</tr>
|
732
718
|
<tr>
|
733
719
|
<td><p><span class="term"><em class="parameter"><code>feature_tag</code></em> :</span></p></td>
|
734
|
-
<td>
|
720
|
+
<td>the tag of the feature to find.
|
735
721
|
</td>
|
736
722
|
</tr>
|
737
723
|
<tr>
|
738
724
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
739
|
-
<td>
|
725
|
+
<td>the index of the script.
|
740
726
|
</td>
|
741
727
|
</tr>
|
742
728
|
<tr>
|
743
729
|
<td><p><span class="term"><em class="parameter"><code>language_index</code></em> :</span></p></td>
|
744
|
-
<td>
|
730
|
+
<td>the index of the language whose features are searched,
|
745
731
|
or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_DEFAULT_LANGUAGE</code></a> to use the default language of the script.
|
746
732
|
</td>
|
747
733
|
</tr>
|
748
734
|
<tr>
|
749
735
|
<td><p><span class="term"><em class="parameter"><code>feature_index</code></em> :</span></p></td>
|
750
|
-
<td>
|
736
|
+
<td>location to store the index of the feature, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
751
737
|
</td>
|
752
738
|
</tr>
|
753
739
|
<tr>
|
754
740
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
755
|
-
<td> <
|
741
|
+
<td> <code class="literal">TRUE</code> if the feature was found.
|
756
742
|
</td>
|
757
743
|
</tr>
|
758
744
|
</tbody>
|
759
745
|
</table></div>
|
760
746
|
</div>
|
761
747
|
<hr>
|
762
|
-
<div class="refsect2"
|
748
|
+
<div class="refsect2">
|
763
749
|
<a name="pango-ot-info-list-scripts"></a><h3>pango_ot_info_list_scripts ()</h3>
|
764
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * pango_ot_info_list_scripts (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
765
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
750
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * pango_ot_info_list_scripts (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
751
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>);</pre>
|
766
752
|
<p>
|
767
|
-
Obtains the list of available scripts
|
753
|
+
Obtains the list of available scripts.
|
754
|
+
</p>
|
768
755
|
<div class="variablelist"><table border="0">
|
769
756
|
<col align="left" valign="top">
|
770
757
|
<tbody>
|
771
758
|
<tr>
|
772
759
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
773
|
-
<td>
|
760
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
774
761
|
</td>
|
775
762
|
</tr>
|
776
763
|
<tr>
|
777
764
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
778
|
-
<td>
|
765
|
+
<td>the table type to obtain information about.
|
779
766
|
</td>
|
780
767
|
</tr>
|
781
768
|
<tr>
|
782
769
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
783
770
|
<td> a newly-allocated zero-terminated array containing the tags of the
|
784
|
-
available scripts. Should be freed using <
|
771
|
+
available scripts. Should be freed using <code class="function">g_free()</code>.
|
785
772
|
</td>
|
786
773
|
</tr>
|
787
774
|
</tbody>
|
788
775
|
</table></div>
|
789
776
|
</div>
|
790
777
|
<hr>
|
791
|
-
<div class="refsect2"
|
778
|
+
<div class="refsect2">
|
792
779
|
<a name="pango-ot-info-list-languages"></a><h3>pango_ot_info_list_languages ()</h3>
|
793
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * pango_ot_info_list_languages (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
794
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
795
|
-
<
|
796
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
780
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * pango_ot_info_list_languages (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
781
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
782
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
783
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);</pre>
|
797
784
|
<p>
|
798
|
-
Obtains the list of available languages for a given script
|
785
|
+
Obtains the list of available languages for a given script.
|
786
|
+
</p>
|
799
787
|
<div class="variablelist"><table border="0">
|
800
788
|
<col align="left" valign="top">
|
801
789
|
<tbody>
|
802
790
|
<tr>
|
803
791
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
804
|
-
<td>
|
792
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
805
793
|
</td>
|
806
794
|
</tr>
|
807
795
|
<tr>
|
808
796
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
809
|
-
<td>
|
797
|
+
<td>the table type to obtain information about.
|
810
798
|
</td>
|
811
799
|
</tr>
|
812
800
|
<tr>
|
813
801
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
814
|
-
<td>
|
802
|
+
<td>the index of the script to list languages for.
|
815
803
|
</td>
|
816
804
|
</tr>
|
817
805
|
<tr>
|
818
806
|
<td><p><span class="term"><em class="parameter"><code>language_tag</code></em> :</span></p></td>
|
819
|
-
<td>
|
807
|
+
<td>unused parameter.
|
820
808
|
</td>
|
821
809
|
</tr>
|
822
810
|
<tr>
|
823
811
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
824
812
|
<td> a newly-allocated zero-terminated array containing the tags of the
|
825
|
-
available languages. Should be freed using <
|
813
|
+
available languages. Should be freed using <code class="function">g_free()</code>.
|
826
814
|
</td>
|
827
815
|
</tr>
|
828
816
|
</tbody>
|
829
817
|
</table></div>
|
830
818
|
</div>
|
831
819
|
<hr>
|
832
|
-
<div class="refsect2"
|
820
|
+
<div class="refsect2">
|
833
821
|
<a name="pango-ot-info-list-features"></a><h3>pango_ot_info_list_features ()</h3>
|
834
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * pango_ot_info_list_features (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
835
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
836
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
837
|
-
<
|
838
|
-
<
|
822
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * pango_ot_info_list_features (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
823
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
824
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> tag</code></em>,
|
825
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
826
|
+
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>);</pre>
|
839
827
|
<p>
|
840
|
-
Obtains the list of features for the given language of the given script
|
828
|
+
Obtains the list of features for the given language of the given script.
|
829
|
+
</p>
|
841
830
|
<div class="variablelist"><table border="0">
|
842
831
|
<col align="left" valign="top">
|
843
832
|
<tbody>
|
844
833
|
<tr>
|
845
834
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
846
|
-
<td>
|
835
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
847
836
|
</td>
|
848
837
|
</tr>
|
849
838
|
<tr>
|
850
839
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
851
|
-
<td>
|
840
|
+
<td>the table type to obtain information about.
|
852
841
|
</td>
|
853
842
|
</tr>
|
854
843
|
<tr>
|
855
844
|
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
|
856
|
-
<td>
|
845
|
+
<td>unused parameter.
|
857
846
|
</td>
|
858
847
|
</tr>
|
859
848
|
<tr>
|
860
849
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
861
|
-
<td>
|
850
|
+
<td>the index of the script to obtain information about.
|
862
851
|
</td>
|
863
852
|
</tr>
|
864
853
|
<tr>
|
865
854
|
<td><p><span class="term"><em class="parameter"><code>language_index</code></em> :</span></p></td>
|
866
|
-
<td>
|
855
|
+
<td>the index of the language to list features for, or
|
867
856
|
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_DEFAULT_LANGUAGE</code></a>, to list features for the default
|
868
857
|
language of the script.
|
869
858
|
</td>
|
@@ -871,24 +860,25 @@ Obtains the list of features for the given language of the given script.</p>
|
|
871
860
|
<tr>
|
872
861
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
873
862
|
<td> a newly-allocated zero-terminated array containing the tags of the
|
874
|
-
available features. Should be freed using <
|
863
|
+
available features. Should be freed using <code class="function">g_free()</code>.
|
875
864
|
</td>
|
876
865
|
</tr>
|
877
866
|
</tbody>
|
878
867
|
</table></div>
|
879
868
|
</div>
|
880
869
|
<hr>
|
881
|
-
<div class="refsect2"
|
870
|
+
<div class="refsect2">
|
882
871
|
<a name="pango-ot-buffer-new"></a><h3>pango_ot_buffer_new ()</h3>
|
883
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="returnvalue">PangoOTBuffer</span></a> * pango_ot_buffer_new (<a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="
|
872
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="returnvalue">PangoOTBuffer</span></a> * pango_ot_buffer_new (<em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *font</code></em>);</pre>
|
884
873
|
<p>
|
885
|
-
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> for the given OpenType font
|
874
|
+
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> for the given OpenType font.
|
875
|
+
</p>
|
886
876
|
<div class="variablelist"><table border="0">
|
887
877
|
<col align="left" valign="top">
|
888
878
|
<tbody>
|
889
879
|
<tr>
|
890
880
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
891
|
-
<td>
|
881
|
+
<td>a <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a>
|
892
882
|
</td>
|
893
883
|
</tr>
|
894
884
|
<tr>
|
@@ -903,68 +893,71 @@ Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuf
|
|
903
893
|
<p class="since">Since 1.4</p>
|
904
894
|
</div>
|
905
895
|
<hr>
|
906
|
-
<div class="refsect2"
|
896
|
+
<div class="refsect2">
|
907
897
|
<a name="pango-ot-buffer-destroy"></a><h3>pango_ot_buffer_destroy ()</h3>
|
908
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_destroy (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
898
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_destroy (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);</pre>
|
909
899
|
<p>
|
910
|
-
Destroys a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> and free all associated memory
|
900
|
+
Destroys a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> and free all associated memory.
|
901
|
+
</p>
|
911
902
|
<div class="variablelist"><table border="0">
|
912
903
|
<col align="left" valign="top">
|
913
904
|
<tbody><tr>
|
914
905
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
915
|
-
<td>
|
906
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
916
907
|
</td>
|
917
908
|
</tr></tbody>
|
918
909
|
</table></div>
|
919
910
|
<p class="since">Since 1.4</p>
|
920
911
|
</div>
|
921
912
|
<hr>
|
922
|
-
<div class="refsect2"
|
913
|
+
<div class="refsect2">
|
923
914
|
<a name="pango-ot-buffer-clear"></a><h3>pango_ot_buffer_clear ()</h3>
|
924
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_clear (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
915
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_clear (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);</pre>
|
925
916
|
<p>
|
926
|
-
Empties a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, make it ready to add glyphs to
|
917
|
+
Empties a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, make it ready to add glyphs to.
|
918
|
+
</p>
|
927
919
|
<div class="variablelist"><table border="0">
|
928
920
|
<col align="left" valign="top">
|
929
921
|
<tbody><tr>
|
930
922
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
931
|
-
<td>
|
923
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
932
924
|
</td>
|
933
925
|
</tr></tbody>
|
934
926
|
</table></div>
|
935
927
|
<p class="since">Since 1.4</p>
|
936
928
|
</div>
|
937
929
|
<hr>
|
938
|
-
<div class="refsect2"
|
930
|
+
<div class="refsect2">
|
939
931
|
<a name="pango-ot-buffer-add-glyph"></a><h3>pango_ot_buffer_add_glyph ()</h3>
|
940
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_add_glyph (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
941
|
-
<
|
942
|
-
<
|
943
|
-
<
|
932
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_add_glyph (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
933
|
+
<em class="parameter"><code><span class="type">guint</span> glyph</code></em>,
|
934
|
+
<em class="parameter"><code><span class="type">guint</span> properties</code></em>,
|
935
|
+
<em class="parameter"><code><span class="type">guint</span> cluster</code></em>);</pre>
|
944
936
|
<p>
|
945
937
|
Appends a glyph to a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, with <em class="parameter"><code>properties</code></em> identifying which
|
946
|
-
features should be applied on this glyph. See <code class="function">pango_ruleset_add_feature()</code
|
938
|
+
features should be applied on this glyph. See <code class="function">pango_ruleset_add_feature()</code>.
|
939
|
+
</p>
|
947
940
|
<div class="variablelist"><table border="0">
|
948
941
|
<col align="left" valign="top">
|
949
942
|
<tbody>
|
950
943
|
<tr>
|
951
944
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
952
|
-
<td>
|
945
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
953
946
|
</td>
|
954
947
|
</tr>
|
955
948
|
<tr>
|
956
949
|
<td><p><span class="term"><em class="parameter"><code>glyph</code></em> :</span></p></td>
|
957
|
-
<td>
|
950
|
+
<td>the glyph index to add, like a <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a>
|
958
951
|
</td>
|
959
952
|
</tr>
|
960
953
|
<tr>
|
961
954
|
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
|
962
|
-
<td>
|
955
|
+
<td>the glyph properties
|
963
956
|
</td>
|
964
957
|
</tr>
|
965
958
|
<tr>
|
966
959
|
<td><p><span class="term"><em class="parameter"><code>cluster</code></em> :</span></p></td>
|
967
|
-
<td>
|
960
|
+
<td>the cluster that this glyph belongs to
|
968
961
|
</td>
|
969
962
|
</tr>
|
970
963
|
</tbody>
|
@@ -972,24 +965,26 @@ features should be applied on this glyph. See <code class="function">pango_rule
|
|
972
965
|
<p class="since">Since 1.4</p>
|
973
966
|
</div>
|
974
967
|
<hr>
|
975
|
-
<div class="refsect2"
|
968
|
+
<div class="refsect2">
|
976
969
|
<a name="pango-ot-buffer-set-rtl"></a><h3>pango_ot_buffer_set_rtl ()</h3>
|
977
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_set_rtl (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
978
|
-
<
|
970
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_set_rtl (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
971
|
+
<em class="parameter"><code><span class="type">gboolean</span> rtl</code></em>);</pre>
|
979
972
|
<p>
|
980
973
|
Sets whether glyphs will be rendered right-to-left. This setting
|
981
|
-
is needed for proper horizontal positioning of right-to-left scripts
|
974
|
+
is needed for proper horizontal positioning of right-to-left scripts.
|
975
|
+
</p>
|
982
976
|
<div class="variablelist"><table border="0">
|
983
977
|
<col align="left" valign="top">
|
984
978
|
<tbody>
|
985
979
|
<tr>
|
986
980
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
987
|
-
<td>
|
981
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
988
982
|
</td>
|
989
983
|
</tr>
|
990
984
|
<tr>
|
991
985
|
<td><p><span class="term"><em class="parameter"><code>rtl</code></em> :</span></p></td>
|
992
|
-
<td>
|
986
|
+
<td>
|
987
|
+
<code class="literal">TRUE</code> for right-to-left text
|
993
988
|
</td>
|
994
989
|
</tr>
|
995
990
|
</tbody>
|
@@ -997,27 +992,29 @@ is needed for proper horizontal positioning of right-to-left scripts.</p>
|
|
997
992
|
<p class="since">Since 1.4</p>
|
998
993
|
</div>
|
999
994
|
<hr>
|
1000
|
-
<div class="refsect2"
|
995
|
+
<div class="refsect2">
|
1001
996
|
<a name="pango-ot-buffer-set-zero-width-marks"></a><h3>pango_ot_buffer_set_zero_width_marks ()</h3>
|
1002
997
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_set_zero_width_marks
|
1003
|
-
(<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
1004
|
-
<
|
998
|
+
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
999
|
+
<em class="parameter"><code><span class="type">gboolean</span> zero_width_marks</code></em>);</pre>
|
1005
1000
|
<p>
|
1006
1001
|
Sets whether characters with a mark class should be forced to zero width.
|
1007
1002
|
This setting is needed for proper positioning of Arabic accents,
|
1008
1003
|
but will produce incorrect results with standard OpenType Indic
|
1009
|
-
fonts
|
1004
|
+
fonts.
|
1005
|
+
</p>
|
1010
1006
|
<div class="variablelist"><table border="0">
|
1011
1007
|
<col align="left" valign="top">
|
1012
1008
|
<tbody>
|
1013
1009
|
<tr>
|
1014
1010
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1015
|
-
<td>
|
1011
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
1016
1012
|
</td>
|
1017
1013
|
</tr>
|
1018
1014
|
<tr>
|
1019
1015
|
<td><p><span class="term"><em class="parameter"><code>zero_width_marks</code></em> :</span></p></td>
|
1020
|
-
<td>
|
1016
|
+
<td>
|
1017
|
+
<code class="literal">TRUE</code> if characters with a mark class should
|
1021
1018
|
be forced to zero width.
|
1022
1019
|
</td>
|
1023
1020
|
</tr>
|
@@ -1026,31 +1023,32 @@ fonts.</p>
|
|
1026
1023
|
<p class="since">Since 1.6</p>
|
1027
1024
|
</div>
|
1028
1025
|
<hr>
|
1029
|
-
<div class="refsect2"
|
1026
|
+
<div class="refsect2">
|
1030
1027
|
<a name="pango-ot-buffer-get-glyphs"></a><h3>pango_ot_buffer_get_glyphs ()</h3>
|
1031
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_get_glyphs (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
1032
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="PangoOTGlyph"><span class="
|
1033
|
-
<span class="
|
1028
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_get_glyphs (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
1029
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph"><span class="type">PangoOTGlyph</span></a> **glyphs</code></em>,
|
1030
|
+
<em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>);</pre>
|
1034
1031
|
<p>
|
1035
1032
|
Gets the glyph array contained in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>. The glyphs are
|
1036
1033
|
owned by the buffer and should not be freed, and are only valid as long
|
1037
|
-
as buffer is not modified
|
1034
|
+
as buffer is not modified.
|
1035
|
+
</p>
|
1038
1036
|
<div class="variablelist"><table border="0">
|
1039
1037
|
<col align="left" valign="top">
|
1040
1038
|
<tbody>
|
1041
1039
|
<tr>
|
1042
1040
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1043
|
-
<td>
|
1041
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
1044
1042
|
</td>
|
1045
1043
|
</tr>
|
1046
1044
|
<tr>
|
1047
1045
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1048
|
-
<td>
|
1046
|
+
<td>location to store the array of glyphs, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1049
1047
|
</td>
|
1050
1048
|
</tr>
|
1051
1049
|
<tr>
|
1052
1050
|
<td><p><span class="term"><em class="parameter"><code>n_glyphs</code></em> :</span></p></td>
|
1053
|
-
<td>
|
1051
|
+
<td>location to store the number of glyphs, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1054
1052
|
</td>
|
1055
1053
|
</tr>
|
1056
1054
|
</tbody>
|
@@ -1058,25 +1056,26 @@ as buffer is not modified.</p>
|
|
1058
1056
|
<p class="since">Since 1.4</p>
|
1059
1057
|
</div>
|
1060
1058
|
<hr>
|
1061
|
-
<div class="refsect2"
|
1059
|
+
<div class="refsect2">
|
1062
1060
|
<a name="pango-ot-buffer-output"></a><h3>pango_ot_buffer_output ()</h3>
|
1063
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_output (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
1064
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1061
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_output (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
1062
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1065
1063
|
<p>
|
1066
|
-
Exports the glyphs in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> into a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>. This is
|
1064
|
+
Exports the glyphs in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> into a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>. This is
|
1067
1065
|
typically used after the OpenType layout processing is over, to convert the
|
1068
|
-
resulting glyphs into a generic Pango glyph string
|
1066
|
+
resulting glyphs into a generic Pango glyph string.
|
1067
|
+
</p>
|
1069
1068
|
<div class="variablelist"><table border="0">
|
1070
1069
|
<col align="left" valign="top">
|
1071
1070
|
<tbody>
|
1072
1071
|
<tr>
|
1073
1072
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1074
|
-
<td>
|
1073
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
1075
1074
|
</td>
|
1076
1075
|
</tr>
|
1077
1076
|
<tr>
|
1078
1077
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1079
|
-
<td>
|
1078
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1080
1079
|
</td>
|
1081
1080
|
</tr>
|
1082
1081
|
</tbody>
|
@@ -1084,11 +1083,11 @@ resulting glyphs into a generic Pango glyph string.</p>
|
|
1084
1083
|
<p class="since">Since 1.4</p>
|
1085
1084
|
</div>
|
1086
1085
|
<hr>
|
1087
|
-
<div class="refsect2"
|
1086
|
+
<div class="refsect2">
|
1088
1087
|
<a name="pango-ot-ruleset-get-for-description"></a><h3>pango_ot_ruleset_get_for_description ()</h3>
|
1089
1088
|
<pre class="programlisting">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_get_for_description
|
1090
|
-
(<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
1091
|
-
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
1089
|
+
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
1090
|
+
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
|
1092
1091
|
<p>
|
1093
1092
|
Returns a ruleset for the given OpenType info and ruleset
|
1094
1093
|
description. Rulesets are created on demand using
|
@@ -1097,18 +1096,19 @@ The returned ruleset should not be modified or destroyed.
|
|
1097
1096
|
</p>
|
1098
1097
|
<p>
|
1099
1098
|
The static feature map members of <em class="parameter"><code>desc</code></em> should be alive as
|
1100
|
-
long as <em class="parameter"><code>info</code></em> is
|
1099
|
+
long as <em class="parameter"><code>info</code></em> is.
|
1100
|
+
</p>
|
1101
1101
|
<div class="variablelist"><table border="0">
|
1102
1102
|
<col align="left" valign="top">
|
1103
1103
|
<tbody>
|
1104
1104
|
<tr>
|
1105
1105
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1106
|
-
<td>
|
1106
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
1107
1107
|
</td>
|
1108
1108
|
</tr>
|
1109
1109
|
<tr>
|
1110
1110
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1111
|
-
<td>
|
1111
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>.
|
1112
1112
|
</td>
|
1113
1113
|
</tr>
|
1114
1114
|
<tr>
|
@@ -1123,34 +1123,35 @@ the same lifetime as <em class="parameter"><code>info</code></em>.
|
|
1123
1123
|
<p class="since">Since 1.18</p>
|
1124
1124
|
</div>
|
1125
1125
|
<hr>
|
1126
|
-
<div class="refsect2"
|
1126
|
+
<div class="refsect2">
|
1127
1127
|
<a name="pango-ot-ruleset-new"></a><h3>pango_ot_ruleset_new ()</h3>
|
1128
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
1128
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>);</pre>
|
1129
1129
|
<p>
|
1130
|
-
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info
|
1130
|
+
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info.
|
1131
|
+
</p>
|
1131
1132
|
<div class="variablelist"><table border="0">
|
1132
1133
|
<col align="left" valign="top">
|
1133
1134
|
<tbody>
|
1134
1135
|
<tr>
|
1135
1136
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1136
|
-
<td>
|
1137
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
1137
1138
|
</td>
|
1138
1139
|
</tr>
|
1139
1140
|
<tr>
|
1140
1141
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1141
1142
|
<td> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
|
1142
|
-
should be freed with <
|
1143
|
+
should be freed with <code class="function">g_object_unref()</code>.
|
1143
1144
|
</td>
|
1144
1145
|
</tr>
|
1145
1146
|
</tbody>
|
1146
1147
|
</table></div>
|
1147
1148
|
</div>
|
1148
1149
|
<hr>
|
1149
|
-
<div class="refsect2"
|
1150
|
+
<div class="refsect2">
|
1150
1151
|
<a name="pango-ot-ruleset-new-for"></a><h3>pango_ot_ruleset_new_for ()</h3>
|
1151
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new_for (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
1152
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
1153
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
1152
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new_for (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
1153
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
1154
|
+
<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>
|
1154
1155
|
<p>
|
1155
1156
|
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info, script, and
|
1156
1157
|
language.
|
@@ -1194,29 +1195,30 @@ In excess to what <a class="link" href="pango-OpenType-Font-Handling.html#pango-
|
|
1194
1195
|
<p>
|
1195
1196
|
Because of the way return values of <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()"><code class="function">pango_ot_info_find_script()</code></a> and
|
1196
1197
|
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()"><code class="function">pango_ot_info_find_language()</code></a> are ignored, this function automatically
|
1197
|
-
finds and uses the 'DFLT' script and the default language-system
|
1198
|
+
finds and uses the 'DFLT' script and the default language-system.
|
1199
|
+
</p>
|
1198
1200
|
<div class="variablelist"><table border="0">
|
1199
1201
|
<col align="left" valign="top">
|
1200
1202
|
<tbody>
|
1201
1203
|
<tr>
|
1202
1204
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1203
|
-
<td>
|
1205
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
1204
1206
|
</td>
|
1205
1207
|
</tr>
|
1206
1208
|
<tr>
|
1207
1209
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
1208
|
-
<td>
|
1210
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>.
|
1209
1211
|
</td>
|
1210
1212
|
</tr>
|
1211
1213
|
<tr>
|
1212
1214
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1213
|
-
<td>
|
1215
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a>.
|
1214
1216
|
</td>
|
1215
1217
|
</tr>
|
1216
1218
|
<tr>
|
1217
1219
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1218
1220
|
<td> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
|
1219
|
-
should be freed with <
|
1221
|
+
should be freed with <code class="function">g_object_unref()</code>.
|
1220
1222
|
|
1221
1223
|
</td>
|
1222
1224
|
</tr>
|
@@ -1225,11 +1227,11 @@ finds and uses the 'DFLT' script and the default language-system.</p>
|
|
1225
1227
|
<p class="since">Since 1.18</p>
|
1226
1228
|
</div>
|
1227
1229
|
<hr>
|
1228
|
-
<div class="refsect2"
|
1230
|
+
<div class="refsect2">
|
1229
1231
|
<a name="pango-ot-ruleset-new-from-description"></a><h3>pango_ot_ruleset_new_from_description ()</h3>
|
1230
1232
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new_from_description
|
1231
|
-
(<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="
|
1232
|
-
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
1233
|
+
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
1234
|
+
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
|
1233
1235
|
<p>
|
1234
1236
|
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType infor and
|
1235
1237
|
matching the given ruleset description.
|
@@ -1241,24 +1243,25 @@ adding other features to both GSUB and GPOS.
|
|
1241
1243
|
</p>
|
1242
1244
|
<p>
|
1243
1245
|
The static feature map members of <em class="parameter"><code>desc</code></em> should be alive as
|
1244
|
-
long as <em class="parameter"><code>info</code></em> is
|
1246
|
+
long as <em class="parameter"><code>info</code></em> is.
|
1247
|
+
</p>
|
1245
1248
|
<div class="variablelist"><table border="0">
|
1246
1249
|
<col align="left" valign="top">
|
1247
1250
|
<tbody>
|
1248
1251
|
<tr>
|
1249
1252
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1250
|
-
<td>
|
1253
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.
|
1251
1254
|
</td>
|
1252
1255
|
</tr>
|
1253
1256
|
<tr>
|
1254
1257
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1255
|
-
<td>
|
1258
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>.
|
1256
1259
|
</td>
|
1257
1260
|
</tr>
|
1258
1261
|
<tr>
|
1259
1262
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1260
1263
|
<td> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
|
1261
|
-
should be freed with <
|
1264
|
+
should be freed with <code class="function">g_object_unref()</code>.
|
1262
1265
|
|
1263
1266
|
</td>
|
1264
1267
|
</tr>
|
@@ -1267,35 +1270,36 @@ long as <em class="parameter"><code>info</code></em> is.</p>
|
|
1267
1270
|
<p class="since">Since 1.18</p>
|
1268
1271
|
</div>
|
1269
1272
|
<hr>
|
1270
|
-
<div class="refsect2"
|
1273
|
+
<div class="refsect2">
|
1271
1274
|
<a name="pango-ot-ruleset-add-feature"></a><h3>pango_ot_ruleset_add_feature ()</h3>
|
1272
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_add_feature (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="
|
1273
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
1274
|
-
<
|
1275
|
-
<
|
1275
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_add_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1276
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
1277
|
+
<em class="parameter"><code><span class="type">guint</span> feature_index</code></em>,
|
1278
|
+
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);</pre>
|
1276
1279
|
<p>
|
1277
|
-
Adds a feature to the ruleset
|
1280
|
+
Adds a feature to the ruleset.
|
1281
|
+
</p>
|
1278
1282
|
<div class="variablelist"><table border="0">
|
1279
1283
|
<col align="left" valign="top">
|
1280
1284
|
<tbody>
|
1281
1285
|
<tr>
|
1282
1286
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1283
|
-
<td>
|
1287
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.
|
1284
1288
|
</td>
|
1285
1289
|
</tr>
|
1286
1290
|
<tr>
|
1287
1291
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
1288
|
-
<td>
|
1292
|
+
<td>the table type to add a feature to.
|
1289
1293
|
</td>
|
1290
1294
|
</tr>
|
1291
1295
|
<tr>
|
1292
1296
|
<td><p><span class="term"><em class="parameter"><code>feature_index</code></em> :</span></p></td>
|
1293
|
-
<td>
|
1297
|
+
<td>the index of the feature to add.
|
1294
1298
|
</td>
|
1295
1299
|
</tr>
|
1296
1300
|
<tr>
|
1297
1301
|
<td><p><span class="term"><em class="parameter"><code>property_bit</code></em> :</span></p></td>
|
1298
|
-
<td>
|
1302
|
+
<td>the property bit to use for this feature. Used to identify
|
1299
1303
|
the glyphs that this feature should be applied to, or
|
1300
1304
|
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-ALL-GLYPHS:CAPS" title="PANGO_OT_ALL_GLYPHS"><code class="literal">PANGO_OT_ALL_GLYPHS</code></a> if it should be applied to all glyphs.
|
1301
1305
|
</td>
|
@@ -1304,12 +1308,12 @@ Adds a feature to the ruleset.</p>
|
|
1304
1308
|
</table></div>
|
1305
1309
|
</div>
|
1306
1310
|
<hr>
|
1307
|
-
<div class="refsect2"
|
1311
|
+
<div class="refsect2">
|
1308
1312
|
<a name="pango-ot-ruleset-maybe-add-feature"></a><h3>pango_ot_ruleset_maybe_add_feature ()</h3>
|
1309
|
-
<pre class="programlisting"><
|
1310
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
1311
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
1312
|
-
<
|
1313
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_ruleset_maybe_add_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1314
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
1315
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
|
1316
|
+
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);</pre>
|
1313
1317
|
<p>
|
1314
1318
|
This is a convenience function that first tries to find the feature
|
1315
1319
|
using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()"><code class="function">pango_ot_info_find_feature()</code></a> and the ruleset script and language
|
@@ -1318,36 +1322,37 @@ and if the feature is found, adds it to the ruleset.
|
|
1318
1322
|
</p>
|
1319
1323
|
<p>
|
1320
1324
|
If <em class="parameter"><code>ruleset</code></em> was not created using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()"><code class="function">pango_ot_ruleset_new_for()</code></a>, this function
|
1321
|
-
does nothing
|
1325
|
+
does nothing.
|
1326
|
+
</p>
|
1322
1327
|
<div class="variablelist"><table border="0">
|
1323
1328
|
<col align="left" valign="top">
|
1324
1329
|
<tbody>
|
1325
1330
|
<tr>
|
1326
1331
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1327
|
-
<td>
|
1332
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.
|
1328
1333
|
</td>
|
1329
1334
|
</tr>
|
1330
1335
|
<tr>
|
1331
1336
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
1332
|
-
<td>
|
1337
|
+
<td>the table type to add a feature to.
|
1333
1338
|
</td>
|
1334
1339
|
</tr>
|
1335
1340
|
<tr>
|
1336
1341
|
<td><p><span class="term"><em class="parameter"><code>feature_tag</code></em> :</span></p></td>
|
1337
|
-
<td>
|
1342
|
+
<td>the tag of the feature to add.
|
1338
1343
|
</td>
|
1339
1344
|
</tr>
|
1340
1345
|
<tr>
|
1341
1346
|
<td><p><span class="term"><em class="parameter"><code>property_bit</code></em> :</span></p></td>
|
1342
|
-
<td>
|
1347
|
+
<td>the property bit to use for this feature. Used to identify
|
1343
1348
|
the glyphs that this feature should be applied to, or
|
1344
1349
|
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-ALL-GLYPHS:CAPS" title="PANGO_OT_ALL_GLYPHS"><code class="literal">PANGO_OT_ALL_GLYPHS</code></a> if it should be applied to all glyphs.
|
1345
1350
|
</td>
|
1346
1351
|
</tr>
|
1347
1352
|
<tr>
|
1348
1353
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1349
|
-
<td> <
|
1350
|
-
<
|
1354
|
+
<td> <code class="literal">TRUE</code> if the feature was found and added to ruleset,
|
1355
|
+
<code class="literal">FALSE</code> otherwise.
|
1351
1356
|
|
1352
1357
|
</td>
|
1353
1358
|
</tr>
|
@@ -1356,38 +1361,39 @@ does nothing.</p>
|
|
1356
1361
|
<p class="since">Since 1.18</p>
|
1357
1362
|
</div>
|
1358
1363
|
<hr>
|
1359
|
-
<div class="refsect2"
|
1364
|
+
<div class="refsect2">
|
1360
1365
|
<a name="pango-ot-ruleset-maybe-add-features"></a><h3>pango_ot_ruleset_maybe_add_features ()</h3>
|
1361
|
-
<pre class="programlisting"><
|
1362
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="
|
1363
|
-
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap"><span class="
|
1364
|
-
<
|
1366
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> pango_ot_ruleset_maybe_add_features (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1367
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
1368
|
+
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *features</code></em>,
|
1369
|
+
<em class="parameter"><code><span class="type">guint</span> n_features</code></em>);</pre>
|
1365
1370
|
<p>
|
1366
1371
|
This is a convenience function that
|
1367
1372
|
for each feature in the feature map array <em class="parameter"><code>features</code></em>
|
1368
1373
|
converts the feature name to a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature tag using <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()"><code class="function">PANGO_OT_TAG_MAKE()</code></a>
|
1369
|
-
and calls <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()"><code class="function">pango_ot_ruleset_maybe_add_feature()</code></a> on it
|
1374
|
+
and calls <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()"><code class="function">pango_ot_ruleset_maybe_add_feature()</code></a> on it.
|
1375
|
+
</p>
|
1370
1376
|
<div class="variablelist"><table border="0">
|
1371
1377
|
<col align="left" valign="top">
|
1372
1378
|
<tbody>
|
1373
1379
|
<tr>
|
1374
1380
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1375
|
-
<td>
|
1381
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.
|
1376
1382
|
</td>
|
1377
1383
|
</tr>
|
1378
1384
|
<tr>
|
1379
1385
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
1380
|
-
<td>
|
1386
|
+
<td>the table type to add features to.
|
1381
1387
|
</td>
|
1382
1388
|
</tr>
|
1383
1389
|
<tr>
|
1384
1390
|
<td><p><span class="term"><em class="parameter"><code>features</code></em> :</span></p></td>
|
1385
|
-
<td>
|
1391
|
+
<td>array of feature name and property bits to add.
|
1386
1392
|
</td>
|
1387
1393
|
</tr>
|
1388
1394
|
<tr>
|
1389
1395
|
<td><p><span class="term"><em class="parameter"><code>n_features</code></em> :</span></p></td>
|
1390
|
-
<td>
|
1396
|
+
<td>number of feature records in <em class="parameter"><code>features</code></em> array.
|
1391
1397
|
</td>
|
1392
1398
|
</tr>
|
1393
1399
|
<tr>
|
@@ -1402,29 +1408,30 @@ and calls <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-rules
|
|
1402
1408
|
<p class="since">Since 1.18</p>
|
1403
1409
|
</div>
|
1404
1410
|
<hr>
|
1405
|
-
<div class="refsect2"
|
1411
|
+
<div class="refsect2">
|
1406
1412
|
<a name="pango-ot-ruleset-get-feature-count"></a><h3>pango_ot_ruleset_get_feature_count ()</h3>
|
1407
|
-
<pre class="programlisting"><
|
1408
|
-
<
|
1409
|
-
<
|
1413
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> pango_ot_ruleset_get_feature_count (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1414
|
+
<em class="parameter"><code><span class="type">guint</span> *n_gsub_features</code></em>,
|
1415
|
+
<em class="parameter"><code><span class="type">guint</span> *n_gpos_features</code></em>);</pre>
|
1410
1416
|
<p>
|
1411
|
-
Gets the number of GSUB and GPOS features in the ruleset
|
1417
|
+
Gets the number of GSUB and GPOS features in the ruleset.
|
1418
|
+
</p>
|
1412
1419
|
<div class="variablelist"><table border="0">
|
1413
1420
|
<col align="left" valign="top">
|
1414
1421
|
<tbody>
|
1415
1422
|
<tr>
|
1416
1423
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1417
|
-
<td>
|
1424
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.
|
1418
1425
|
</td>
|
1419
1426
|
</tr>
|
1420
1427
|
<tr>
|
1421
1428
|
<td><p><span class="term"><em class="parameter"><code>n_gsub_features</code></em> :</span></p></td>
|
1422
|
-
<td>
|
1429
|
+
<td>location to store number of GSUB features, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
1423
1430
|
</td>
|
1424
1431
|
</tr>
|
1425
1432
|
<tr>
|
1426
1433
|
<td><p><span class="term"><em class="parameter"><code>n_gpos_features</code></em> :</span></p></td>
|
1427
|
-
<td>
|
1434
|
+
<td>location to store number of GPOS features, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
1428
1435
|
</td>
|
1429
1436
|
</tr>
|
1430
1437
|
<tr>
|
@@ -1438,24 +1445,25 @@ Gets the number of GSUB and GPOS features in the ruleset.</p>
|
|
1438
1445
|
<p class="since">Since 1.18</p>
|
1439
1446
|
</div>
|
1440
1447
|
<hr>
|
1441
|
-
<div class="refsect2"
|
1448
|
+
<div class="refsect2">
|
1442
1449
|
<a name="pango-ot-ruleset-substitute"></a><h3>pango_ot_ruleset_substitute ()</h3>
|
1443
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_substitute (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="
|
1444
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
1450
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_substitute (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1451
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);</pre>
|
1445
1452
|
<p>
|
1446
1453
|
Performs the OpenType GSUB substitution on <em class="parameter"><code>buffer</code></em> using the features
|
1447
|
-
in <em class="parameter"><code>ruleset</code></em
|
1454
|
+
in <em class="parameter"><code>ruleset</code></em>
|
1455
|
+
</p>
|
1448
1456
|
<div class="variablelist"><table border="0">
|
1449
1457
|
<col align="left" valign="top">
|
1450
1458
|
<tbody>
|
1451
1459
|
<tr>
|
1452
1460
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1453
|
-
<td>
|
1461
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.
|
1454
1462
|
</td>
|
1455
1463
|
</tr>
|
1456
1464
|
<tr>
|
1457
1465
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1458
|
-
<td>
|
1466
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>.
|
1459
1467
|
</td>
|
1460
1468
|
</tr>
|
1461
1469
|
</tbody>
|
@@ -1463,24 +1471,25 @@ in <em class="parameter"><code>ruleset</code></em></p>
|
|
1463
1471
|
<p class="since">Since 1.4</p>
|
1464
1472
|
</div>
|
1465
1473
|
<hr>
|
1466
|
-
<div class="refsect2"
|
1474
|
+
<div class="refsect2">
|
1467
1475
|
<a name="pango-ot-ruleset-position"></a><h3>pango_ot_ruleset_position ()</h3>
|
1468
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_position (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="
|
1469
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="
|
1476
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_position (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1477
|
+
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);</pre>
|
1470
1478
|
<p>
|
1471
1479
|
Performs the OpenType GPOS positioning on <em class="parameter"><code>buffer</code></em> using the features
|
1472
|
-
in <em class="parameter"><code>ruleset</code></em
|
1480
|
+
in <em class="parameter"><code>ruleset</code></em>
|
1481
|
+
</p>
|
1473
1482
|
<div class="variablelist"><table border="0">
|
1474
1483
|
<col align="left" valign="top">
|
1475
1484
|
<tbody>
|
1476
1485
|
<tr>
|
1477
1486
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1478
|
-
<td>
|
1487
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.
|
1479
1488
|
</td>
|
1480
1489
|
</tr>
|
1481
1490
|
<tr>
|
1482
1491
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1483
|
-
<td>
|
1492
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>.
|
1484
1493
|
</td>
|
1485
1494
|
</tr>
|
1486
1495
|
</tbody>
|
@@ -1488,26 +1497,27 @@ in <em class="parameter"><code>ruleset</code></em></p>
|
|
1488
1497
|
<p class="since">Since 1.4</p>
|
1489
1498
|
</div>
|
1490
1499
|
<hr>
|
1491
|
-
<div class="refsect2"
|
1500
|
+
<div class="refsect2">
|
1492
1501
|
<a name="pango-ot-ruleset-description-copy"></a><h3>pango_ot_ruleset_description_copy ()</h3>
|
1493
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="returnvalue">PangoOTRulesetDescription</span></a> * pango_ot_ruleset_description_copy
|
1494
|
-
(const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
1502
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="returnvalue">PangoOTRulesetDescription</span></a> * pango_ot_ruleset_description_copy
|
1503
|
+
(<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
|
1495
1504
|
<p>
|
1496
1505
|
Creates a copy of <em class="parameter"><code>desc</code></em>, which should be freed with
|
1497
1506
|
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()"><code class="function">pango_ot_ruleset_description_free()</code></a>. Primarily used internally
|
1498
1507
|
by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-for-description" title="pango_ot_ruleset_get_for_description ()"><code class="function">pango_ot_ruleset_get_for_description()</code></a> to cache rulesets for
|
1499
|
-
ruleset descriptions
|
1508
|
+
ruleset descriptions.
|
1509
|
+
</p>
|
1500
1510
|
<div class="variablelist"><table border="0">
|
1501
1511
|
<col align="left" valign="top">
|
1502
1512
|
<tbody>
|
1503
1513
|
<tr>
|
1504
1514
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1505
|
-
<td>
|
1515
|
+
<td>ruleset description to copy
|
1506
1516
|
</td>
|
1507
1517
|
</tr>
|
1508
1518
|
<tr>
|
1509
1519
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1510
|
-
<td> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>, which
|
1520
|
+
<td> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>, which
|
1511
1521
|
should be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()"><code class="function">pango_ot_ruleset_description_free()</code></a>.
|
1512
1522
|
|
1513
1523
|
</td>
|
@@ -1517,10 +1527,10 @@ ruleset descriptions.</p>
|
|
1517
1527
|
<p class="since">Since 1.18</p>
|
1518
1528
|
</div>
|
1519
1529
|
<hr>
|
1520
|
-
<div class="refsect2"
|
1530
|
+
<div class="refsect2">
|
1521
1531
|
<a name="pango-ot-ruleset-description-equal"></a><h3>pango_ot_ruleset_description_equal ()</h3>
|
1522
|
-
<pre class="programlisting"><
|
1523
|
-
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
1532
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_ruleset_description_equal (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc1</code></em>,
|
1533
|
+
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc2</code></em>);</pre>
|
1524
1534
|
<p>
|
1525
1535
|
Compares two ruleset descriptions for equality.
|
1526
1536
|
Two ruleset descriptions are considered equal if the rulesets
|
@@ -1529,24 +1539,25 @@ script, language, and all feature sets should be equal. For static feature
|
|
1529
1539
|
sets, the array addresses are compared directly, while for other
|
1530
1540
|
features, the list of features is compared one by one.
|
1531
1541
|
(Two ruleset descriptions may result in identical rulesets
|
1532
|
-
being created, but still compare <
|
1542
|
+
being created, but still compare <code class="literal">FALSE</code>.)
|
1543
|
+
</p>
|
1533
1544
|
<div class="variablelist"><table border="0">
|
1534
1545
|
<col align="left" valign="top">
|
1535
1546
|
<tbody>
|
1536
1547
|
<tr>
|
1537
1548
|
<td><p><span class="term"><em class="parameter"><code>desc1</code></em> :</span></p></td>
|
1538
|
-
<td>
|
1549
|
+
<td>a ruleset description
|
1539
1550
|
</td>
|
1540
1551
|
</tr>
|
1541
1552
|
<tr>
|
1542
1553
|
<td><p><span class="term"><em class="parameter"><code>desc2</code></em> :</span></p></td>
|
1543
|
-
<td>
|
1554
|
+
<td>a ruleset description
|
1544
1555
|
</td>
|
1545
1556
|
</tr>
|
1546
1557
|
<tr>
|
1547
1558
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1548
|
-
<td> <
|
1549
|
-
<
|
1559
|
+
<td> <code class="literal">TRUE</code> if two ruleset descriptions are identical,
|
1560
|
+
<code class="literal">FALSE</code> otherwise.
|
1550
1561
|
|
1551
1562
|
</td>
|
1552
1563
|
</tr>
|
@@ -1555,35 +1566,37 @@ being created, but still compare <a href="/usr/share/gtk-doc/html/glib/glib-Stan
|
|
1555
1566
|
<p class="since">Since 1.18</p>
|
1556
1567
|
</div>
|
1557
1568
|
<hr>
|
1558
|
-
<div class="refsect2"
|
1569
|
+
<div class="refsect2">
|
1559
1570
|
<a name="pango-ot-ruleset-description-free"></a><h3>pango_ot_ruleset_description_free ()</h3>
|
1560
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_description_free (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="
|
1571
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_description_free (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
|
1561
1572
|
<p>
|
1562
1573
|
Frees a ruleset description allocated by
|
1563
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-copy" title="pango_ot_ruleset_description_copy ()"><code class="function">pango_ot_ruleset_description_copy()</code></a
|
1574
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-copy" title="pango_ot_ruleset_description_copy ()"><code class="function">pango_ot_ruleset_description_copy()</code></a>.
|
1575
|
+
</p>
|
1564
1576
|
<div class="variablelist"><table border="0">
|
1565
1577
|
<col align="left" valign="top">
|
1566
1578
|
<tbody><tr>
|
1567
1579
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1568
|
-
<td>
|
1580
|
+
<td>an allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>
|
1569
1581
|
</td>
|
1570
1582
|
</tr></tbody>
|
1571
1583
|
</table></div>
|
1572
1584
|
<p class="since">Since 1.18</p>
|
1573
1585
|
</div>
|
1574
1586
|
<hr>
|
1575
|
-
<div class="refsect2"
|
1587
|
+
<div class="refsect2">
|
1576
1588
|
<a name="pango-ot-ruleset-description-hash"></a><h3>pango_ot_ruleset_description_hash ()</h3>
|
1577
|
-
<pre class="programlisting"><
|
1589
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> pango_ot_ruleset_description_hash (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
|
1578
1590
|
<p>
|
1579
|
-
Computes a hash of a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> structure suitable
|
1580
|
-
to be used, for example, as an argument to <
|
1591
|
+
Computes a hash of a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> structure suitable
|
1592
|
+
to be used, for example, as an argument to <code class="function">g_hash_table_new()</code>.
|
1593
|
+
</p>
|
1581
1594
|
<div class="variablelist"><table border="0">
|
1582
1595
|
<col align="left" valign="top">
|
1583
1596
|
<tbody>
|
1584
1597
|
<tr>
|
1585
1598
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1586
|
-
<td>
|
1599
|
+
<td>a ruleset description
|
1587
1600
|
</td>
|
1588
1601
|
</tr>
|
1589
1602
|
<tr>
|
@@ -1597,24 +1610,25 @@ to be used, for example, as an argument to <a href="/usr/share/gtk-doc/html/glib
|
|
1597
1610
|
<p class="since">Since 1.18</p>
|
1598
1611
|
</div>
|
1599
1612
|
<hr>
|
1600
|
-
<div class="refsect2"
|
1613
|
+
<div class="refsect2">
|
1601
1614
|
<a name="pango-ot-tag-from-language"></a><h3>pango_ot_tag_from_language ()</h3>
|
1602
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_language (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
1615
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_language (<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>
|
1603
1616
|
<p>
|
1604
|
-
Finds the OpenType language-system tag best describing <em class="parameter"><code>language</code></em
|
1617
|
+
Finds the OpenType language-system tag best describing <em class="parameter"><code>language</code></em>.
|
1618
|
+
</p>
|
1605
1619
|
<div class="variablelist"><table border="0">
|
1606
1620
|
<col align="left" valign="top">
|
1607
1621
|
<tbody>
|
1608
1622
|
<tr>
|
1609
1623
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1610
|
-
<td>
|
1624
|
+
<td>A <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1611
1625
|
</td>
|
1612
1626
|
</tr>
|
1613
1627
|
<tr>
|
1614
1628
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1615
1629
|
<td> <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> best matching <em class="parameter"><code>language</code></em> or
|
1616
1630
|
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_TAG_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_TAG_DEFAULT_LANGUAGE</code></a> if none found or if <em class="parameter"><code>language</code></em>
|
1617
|
-
is <a href="/usr/share/gtk-doc/html/
|
1631
|
+
is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
1618
1632
|
|
1619
1633
|
</td>
|
1620
1634
|
</tr>
|
@@ -1623,9 +1637,9 @@ is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><c
|
|
1623
1637
|
<p class="since">Since 1.18</p>
|
1624
1638
|
</div>
|
1625
1639
|
<hr>
|
1626
|
-
<div class="refsect2"
|
1640
|
+
<div class="refsect2">
|
1627
1641
|
<a name="pango-ot-tag-from-script"></a><h3>pango_ot_tag_from_script ()</h3>
|
1628
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_script (<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
1642
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
1629
1643
|
<p>
|
1630
1644
|
Finds the OpenType script tag corresponding to <em class="parameter"><code>script</code></em>.
|
1631
1645
|
</p>
|
@@ -1638,13 +1652,14 @@ The <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:C
|
|
1638
1652
|
<p>
|
1639
1653
|
Note that multiple <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> values may map to the same
|
1640
1654
|
OpenType script tag. In particular, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a>
|
1641
|
-
and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA:CAPS"><code class="literal">PANGO_SCRIPT_KATAKANA</code></a> both map to the OT tag 'kana'
|
1655
|
+
and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA:CAPS"><code class="literal">PANGO_SCRIPT_KATAKANA</code></a> both map to the OT tag 'kana'.
|
1656
|
+
</p>
|
1642
1657
|
<div class="variablelist"><table border="0">
|
1643
1658
|
<col align="left" valign="top">
|
1644
1659
|
<tbody>
|
1645
1660
|
<tr>
|
1646
1661
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
1647
|
-
<td>
|
1662
|
+
<td>A <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>
|
1648
1663
|
</td>
|
1649
1664
|
</tr>
|
1650
1665
|
<tr>
|
@@ -1659,17 +1674,18 @@ and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA
|
|
1659
1674
|
<p class="since">Since 1.18</p>
|
1660
1675
|
</div>
|
1661
1676
|
<hr>
|
1662
|
-
<div class="refsect2"
|
1677
|
+
<div class="refsect2">
|
1663
1678
|
<a name="pango-ot-tag-to-language"></a><h3>pango_ot_tag_to_language ()</h3>
|
1664
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_ot_tag_to_language (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
1679
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_ot_tag_to_language (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);</pre>
|
1665
1680
|
<p>
|
1666
|
-
Finds a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> corresponding to <em class="parameter"><code>language_tag</code></em
|
1681
|
+
Finds a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> corresponding to <em class="parameter"><code>language_tag</code></em>.
|
1682
|
+
</p>
|
1667
1683
|
<div class="variablelist"><table border="0">
|
1668
1684
|
<col align="left" valign="top">
|
1669
1685
|
<tbody>
|
1670
1686
|
<tr>
|
1671
1687
|
<td><p><span class="term"><em class="parameter"><code>language_tag</code></em> :</span></p></td>
|
1672
|
-
<td>
|
1688
|
+
<td>A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> OpenType language-system tag
|
1673
1689
|
</td>
|
1674
1690
|
</tr>
|
1675
1691
|
<tr>
|
@@ -1684,9 +1700,9 @@ Finds a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" ti
|
|
1684
1700
|
<p class="since">Since 1.18</p>
|
1685
1701
|
</div>
|
1686
1702
|
<hr>
|
1687
|
-
<div class="refsect2"
|
1703
|
+
<div class="refsect2">
|
1688
1704
|
<a name="pango-ot-tag-to-script"></a><h3>pango_ot_tag_to_script ()</h3>
|
1689
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> pango_ot_tag_to_script (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="
|
1705
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> pango_ot_tag_to_script (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>);</pre>
|
1690
1706
|
<p>
|
1691
1707
|
Finds the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> corresponding to <em class="parameter"><code>script_tag</code></em>.
|
1692
1708
|
</p>
|
@@ -1700,13 +1716,14 @@ with the smallest value is returned.
|
|
1700
1716
|
In particular, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a>
|
1701
1717
|
and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA:CAPS"><code class="literal">PANGO_SCRIPT_KATAKANA</code></a> both map to the OT tag 'kana'.
|
1702
1718
|
This function will return <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a> for
|
1703
|
-
'kana'
|
1719
|
+
'kana'.
|
1720
|
+
</p>
|
1704
1721
|
<div class="variablelist"><table border="0">
|
1705
1722
|
<col align="left" valign="top">
|
1706
1723
|
<tbody>
|
1707
1724
|
<tr>
|
1708
1725
|
<td><p><span class="term"><em class="parameter"><code>script_tag</code></em> :</span></p></td>
|
1709
|
-
<td>
|
1726
|
+
<td>A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> OpenType script tag
|
1710
1727
|
</td>
|
1711
1728
|
</tr>
|
1712
1729
|
<tr>
|
@@ -1724,6 +1741,6 @@ This function will return <a class="link" href="pango-Scripts-and-Languages.html
|
|
1724
1741
|
</div>
|
1725
1742
|
<div class="footer">
|
1726
1743
|
<hr>
|
1727
|
-
Generated by GTK-Doc V1.
|
1744
|
+
Generated by GTK-Doc V1.15.1</div>
|
1728
1745
|
</body>
|
1729
1746
|
</html>
|