pango 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +2 -2
- data/Rakefile +7 -5
- data/ext/pango/extconf.rb +4 -4
- data/ext/pango/rbpango.c +0 -9
- data/ext/pango/rbpango.h +2 -10
- data/ext/pango/rbpangoanalysis.c +0 -4
- data/ext/pango/rbpangoattribute.c +1 -26
- data/ext/pango/rbpangoattrlist.c +0 -4
- data/ext/pango/rbpangocairo.c +13 -12
- data/ext/pango/rbpangocairocontext.c +6 -26
- data/ext/pango/rbpangocontext.c +2 -14
- data/ext/pango/rbpangofont.c +0 -12
- data/ext/pango/rbpangofontdescription.c +0 -5
- data/ext/pango/rbpangofontface.c +0 -6
- data/ext/pango/rbpangofontfamily.c +0 -3
- data/ext/pango/rbpangofontmap.c +0 -4
- data/ext/pango/rbpangofontmetrics.c +1 -4
- data/ext/pango/rbpangofontset.c +0 -4
- data/ext/pango/rbpangoglyphitem.c +0 -8
- data/ext/pango/rbpangoglyphstring.c +0 -4
- data/ext/pango/rbpangoitem.c +0 -16
- data/ext/pango/rbpangolanguage.c +0 -5
- data/ext/pango/rbpangolayout.c +36 -19
- data/ext/pango/rbpangolayoutline.c +0 -33
- data/ext/pango/rbpangologattr.c +0 -5
- data/ext/pango/rbpangomatrix.c +0 -10
- data/ext/pango/rbpangoprivate.h +0 -4
- data/ext/pango/rbpangorenderer.c +0 -6
- data/ext/pango/rbpangoscript.c +0 -4
- data/ext/pango/rbpangoscriptiter.c +0 -5
- data/lib/1.9/pango.so +0 -0
- data/lib/2.0/pango.so +0 -0
- data/test/{test_layout.rb → test-layout.rb} +14 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-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/libstdc++-6.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-buffer.h +10 -10
- data/vendor/local/include/harfbuzz/hb-common.h +147 -131
- data/vendor/local/include/harfbuzz/{hb-uniscribe.h → hb-deprecated.h} +15 -13
- data/vendor/local/include/harfbuzz/hb-face.h +117 -0
- data/vendor/local/include/harfbuzz/hb-font.h +130 -77
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +6 -0
- data/vendor/local/include/harfbuzz/hb-set.h +2 -0
- data/vendor/local/include/harfbuzz/hb-unicode.h +97 -9
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/harfbuzz/hb.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +213 -4
- data/vendor/local/include/pango-1.0/pango/pango-break.h +53 -0
- data/vendor/local/include/pango-1.0/pango/pango-coverage.h +21 -0
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +46 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-font.h +234 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +68 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +42 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +64 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +55 -0
- data/vendor/local/include/pango-1.0/pango/pango-item.h +28 -0
- data/vendor/local/include/pango-1.0/pango/pango-language.h +5 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +43 -0
- data/vendor/local/include/pango-1.0/pango/pango-modules.h +11 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +149 -0
- data/vendor/local/include/pango-1.0/pango/pango-script.h +102 -0
- data/vendor/local/include/pango-1.0/pango/pango-tabs.h +11 -0
- data/vendor/local/include/pango-1.0/pango/pango-types.h +102 -2
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +44 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +13 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +6 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +5 -5
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +4 -4
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +3 -3
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +5 -5
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +1824 -1434
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +109 -103
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +18 -15
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +71 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1419 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +48 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +415 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1045 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1073 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +67 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +90 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +344 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1617 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +130 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +75 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +52 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +76 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +75 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +544 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +105 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +67 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +540 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +264 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +194 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1180 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +67 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +156 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +52 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +591 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +650 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +32 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +321 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +4 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +8 -13
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/{pango-pango-renderer.html → PangoRenderer.html} +99 -102
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +20 -29
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +6 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +4 -11
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +15 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +58 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +6 -5
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +41 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +19 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +31 -27
- data/vendor/local/share/gtk-doc/html/pango/index.html +7 -5
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +38 -38
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +6 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +113 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +8 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +90 -53
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +21 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +44 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +87 -90
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +2 -5
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +38 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +10 -18
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +10 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +4 -6
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +34 -31
- data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/tools.html +2 -2
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- metadata +57 -24
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/include/harfbuzz/hb-gobject.h +0 -69
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-28.html +0 -31
@@ -0,0 +1,1045 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>hb-buffer</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="HarfBuzz Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="[Insert title here]">
|
9
|
+
<link rel="prev" href="harfbuzz-hb-unicode.html" title="hb-unicode">
|
10
|
+
<link rel="next" href="harfbuzz-hb-blob.html" title="hb-blob">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
18
|
+
|
|
19
|
+
<a href="#harfbuzz-hb-buffer.description" class="shortcut">Description</a>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="harfbuzz-hb-unicode.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="harfbuzz-hb-blob.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
26
|
+
<div class="refentry">
|
27
|
+
<a name="harfbuzz-hb-buffer"></a><div class="titlepage"></div>
|
28
|
+
<div class="refnamediv"><table width="100%"><tr>
|
29
|
+
<td valign="top">
|
30
|
+
<h2><span class="refentrytitle"><a name="harfbuzz-hb-buffer.top_of_page"></a>hb-buffer</span></h2>
|
31
|
+
<p>hb-buffer</p>
|
32
|
+
</td>
|
33
|
+
<td valign="top" align="right"></td>
|
34
|
+
</tr></table></div>
|
35
|
+
<div class="refsynopsisdiv">
|
36
|
+
<a name="harfbuzz-hb-buffer.synopsis"></a><h2>Synopsis</h2>
|
37
|
+
<pre class="synopsis">#define <a class="link" href="harfbuzz-hb-buffer.html#HB-SEGMENT-PROPERTIES-DEFAULT:CAPS" title="HB_SEGMENT_PROPERTIES_DEFAULT">HB_SEGMENT_PROPERTIES_DEFAULT</a>
|
38
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-add" title="hb_buffer_add ()">hb_buffer_add</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
39
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>,
|
40
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> cluster</code></em>);
|
41
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-add-utf16" title="hb_buffer_add_utf16 ()">hb_buffer_add_utf16</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
42
|
+
<em class="parameter"><code>const <span class="type">uint16_t</span> *text</code></em>,
|
43
|
+
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
44
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
45
|
+
<em class="parameter"><code><span class="type">int</span> item_length</code></em>);
|
46
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-add-utf32" title="hb_buffer_add_utf32 ()">hb_buffer_add_utf32</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
47
|
+
<em class="parameter"><code>const <span class="type">uint32_t</span> *text</code></em>,
|
48
|
+
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
49
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">int</span> item_length</code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-add-utf8" title="hb_buffer_add_utf8 ()">hb_buffer_add_utf8</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
52
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
54
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">int</span> item_length</code></em>);
|
56
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-allocation-successful" title="hb_buffer_allocation_successful ()">hb_buffer_allocation_successful</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-clear-contents" title="hb_buffer_clear_contents ()">hb_buffer_clear_contents</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
58
|
+
enum <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-content-type-t" title="enum hb_buffer_content_type_t">hb_buffer_content_type_t</a>;
|
59
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="returnvalue">hb_buffer_t</span></a> * <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-create" title="hb_buffer_create ()">hb_buffer_create</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
60
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-deserialize-glyphs" title="hb_buffer_deserialize_glyphs ()">hb_buffer_deserialize_glyphs</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
61
|
+
<em class="parameter"><code>const <span class="type">char</span> *buf</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">int</span> buf_len</code></em>,
|
63
|
+
<em class="parameter"><code>const <span class="type">char</span> **end_ptr</code></em>,
|
64
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> *font</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>);
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-destroy" title="hb_buffer_destroy ()">hb_buffer_destroy</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
67
|
+
enum <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-flags-t" title="enum hb_buffer_flags_t">hb_buffer_flags_t</a>;
|
68
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-content-type-t" title="enum hb_buffer_content_type_t"><span class="returnvalue">hb_buffer_content_type_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-content-type" title="hb_buffer_get_content_type ()">hb_buffer_get_content_type</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
69
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="returnvalue">hb_direction_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-direction" title="hb_buffer_get_direction ()">hb_buffer_get_direction</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
70
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="returnvalue">hb_buffer_t</span></a> * <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-empty" title="hb_buffer_get_empty ()">hb_buffer_get_empty</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
71
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-flags-t" title="enum hb_buffer_flags_t"><span class="returnvalue">hb_buffer_flags_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-flags" title="hb_buffer_get_flags ()">hb_buffer_get_flags</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
72
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-glyph-info-t" title="hb_glyph_info_t"><span class="returnvalue">hb_glyph_info_t</span></a> * <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-glyph-infos" title="hb_buffer_get_glyph_infos ()">hb_buffer_get_glyph_infos</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
73
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> *length</code></em>);
|
74
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-glyph-position-t" title="hb_glyph_position_t"><span class="returnvalue">hb_glyph_position_t</span></a> * <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-glyph-positions" title="hb_buffer_get_glyph_positions ()">hb_buffer_get_glyph_positions</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
75
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> *length</code></em>);
|
76
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="returnvalue">hb_language_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-language" title="hb_buffer_get_language ()">hb_buffer_get_language</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
77
|
+
unsigned <span class="returnvalue">int</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-length" title="hb_buffer_get_length ()">hb_buffer_get_length</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
78
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="returnvalue">hb_script_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-script" title="hb_buffer_get_script ()">hb_buffer_get_script</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
79
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-segment-properties" title="hb_buffer_get_segment_properties ()">hb_buffer_get_segment_properties</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
80
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *props</code></em>);
|
81
|
+
<a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="returnvalue">hb_unicode_funcs_t</span></a> * <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-unicode-funcs" title="hb_buffer_get_unicode_funcs ()">hb_buffer_get_unicode_funcs</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
82
|
+
<span class="returnvalue">void</span> * <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-get-user-data" title="hb_buffer_get_user_data ()">hb_buffer_get_user_data</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
83
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t" title="hb_user_data_key_t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);
|
84
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-guess-segment-properties" title="hb_buffer_guess_segment_properties ()">hb_buffer_guess_segment_properties</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
85
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-normalize-glyphs" title="hb_buffer_normalize_glyphs ()">hb_buffer_normalize_glyphs</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
86
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-pre-allocate" title="hb_buffer_pre_allocate ()">hb_buffer_pre_allocate</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
87
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);
|
88
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="returnvalue">hb_buffer_t</span></a> * <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-reference" title="hb_buffer_reference ()">hb_buffer_reference</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
89
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-reset" title="hb_buffer_reset ()">hb_buffer_reset</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
90
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-reverse" title="hb_buffer_reverse ()">hb_buffer_reverse</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
91
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-reverse-clusters" title="hb_buffer_reverse_clusters ()">hb_buffer_reverse_clusters</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);
|
92
|
+
enum <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-flags-t" title="enum hb_buffer_serialize_flags_t">hb_buffer_serialize_flags_t</a>;
|
93
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="returnvalue">hb_buffer_serialize_format_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-from-string" title="hb_buffer_serialize_format_from_string ()">hb_buffer_serialize_format_from_string</a>
|
94
|
+
(<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
95
|
+
<em class="parameter"><code><span class="type">int</span> len</code></em>);
|
96
|
+
enum <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t">hb_buffer_serialize_format_t</a>;
|
97
|
+
const <span class="returnvalue">char</span> * <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-to-string" title="hb_buffer_serialize_format_to_string ()">hb_buffer_serialize_format_to_string</a>
|
98
|
+
(<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>);
|
99
|
+
unsigned <span class="returnvalue">int</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-glyphs" title="hb_buffer_serialize_glyphs ()">hb_buffer_serialize_glyphs</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
100
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> start</code></em>,
|
101
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> end</code></em>,
|
102
|
+
<em class="parameter"><code><span class="type">char</span> *buf</code></em>,
|
103
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> buf_size</code></em>,
|
104
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> *buf_consumed</code></em>,
|
105
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> *font</code></em>,
|
106
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>,
|
107
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-flags-t" title="enum hb_buffer_serialize_flags_t"><span class="type">hb_buffer_serialize_flags_t</span></a> flags</code></em>);
|
108
|
+
const <span class="returnvalue">char</span> ** <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-list-formats" title="hb_buffer_serialize_list_formats ()">hb_buffer_serialize_list_formats</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
109
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-content-type" title="hb_buffer_set_content_type ()">hb_buffer_set_content_type</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
110
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-content-type-t" title="enum hb_buffer_content_type_t"><span class="type">hb_buffer_content_type_t</span></a> content_type</code></em>);
|
111
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-direction" title="hb_buffer_set_direction ()">hb_buffer_set_direction</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
112
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>);
|
113
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-flags" title="hb_buffer_set_flags ()">hb_buffer_set_flags</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
114
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-flags-t" title="enum hb_buffer_flags_t"><span class="type">hb_buffer_flags_t</span></a> flags</code></em>);
|
115
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-language" title="hb_buffer_set_language ()">hb_buffer_set_language</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
116
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> language</code></em>);
|
117
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-length" title="hb_buffer_set_length ()">hb_buffer_set_length</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
118
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> length</code></em>);
|
119
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-script" title="hb_buffer_set_script ()">hb_buffer_set_script</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
120
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> script</code></em>);
|
121
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-segment-properties" title="hb_buffer_set_segment_properties ()">hb_buffer_set_segment_properties</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
122
|
+
<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *props</code></em>);
|
123
|
+
<span class="returnvalue">void</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-unicode-funcs" title="hb_buffer_set_unicode_funcs ()">hb_buffer_set_unicode_funcs</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
124
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> *unicode_funcs</code></em>);
|
125
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-user-data" title="hb_buffer_set_user_data ()">hb_buffer_set_user_data</a> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
126
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t" title="hb_user_data_key_t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
|
127
|
+
<em class="parameter"><code><span class="type">void</span> *data</code></em>,
|
128
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
|
129
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> replace</code></em>);
|
130
|
+
typedef <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t">hb_buffer_t</a>;
|
131
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-glyph-info-t" title="hb_glyph_info_t">hb_glyph_info_t</a>;
|
132
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-glyph-position-t" title="hb_glyph_position_t">hb_glyph_position_t</a>;
|
133
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-equal" title="hb_segment_properties_equal ()">hb_segment_properties_equal</a> (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *a</code></em>,
|
134
|
+
<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *b</code></em>);
|
135
|
+
unsigned <span class="returnvalue">int</span> <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-hash" title="hb_segment_properties_hash ()">hb_segment_properties_hash</a> (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *p</code></em>);
|
136
|
+
<a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t">hb_segment_properties_t</a>;
|
137
|
+
</pre>
|
138
|
+
</div>
|
139
|
+
<div class="refsect1">
|
140
|
+
<a name="harfbuzz-hb-buffer.description"></a><h2>Description</h2>
|
141
|
+
<p>
|
142
|
+
</p>
|
143
|
+
</div>
|
144
|
+
<div class="refsect1">
|
145
|
+
<a name="harfbuzz-hb-buffer.details"></a><h2>Details</h2>
|
146
|
+
<div class="refsect2">
|
147
|
+
<a name="HB-SEGMENT-PROPERTIES-DEFAULT:CAPS"></a><h3>HB_SEGMENT_PROPERTIES_DEFAULT</h3>
|
148
|
+
<pre class="programlisting">#define HB_SEGMENT_PROPERTIES_DEFAULT</pre>
|
149
|
+
<p>
|
150
|
+
</p>
|
151
|
+
</div>
|
152
|
+
<hr>
|
153
|
+
<div class="refsect2">
|
154
|
+
<a name="hb-buffer-add"></a><h3>hb_buffer_add ()</h3>
|
155
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_add (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
156
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>,
|
157
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> cluster</code></em>);</pre>
|
158
|
+
<div class="variablelist"><table border="0">
|
159
|
+
<col align="left" valign="top">
|
160
|
+
<tbody><tr>
|
161
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
162
|
+
<td>a buffer.</td>
|
163
|
+
</tr></tbody>
|
164
|
+
</table></div>
|
165
|
+
<p class="since">Since 1.0</p>
|
166
|
+
</div>
|
167
|
+
<hr>
|
168
|
+
<div class="refsect2">
|
169
|
+
<a name="hb-buffer-add-utf16"></a><h3>hb_buffer_add_utf16 ()</h3>
|
170
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_add_utf16 (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
171
|
+
<em class="parameter"><code>const <span class="type">uint16_t</span> *text</code></em>,
|
172
|
+
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
173
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
174
|
+
<em class="parameter"><code><span class="type">int</span> item_length</code></em>);</pre>
|
175
|
+
<div class="variablelist"><table border="0">
|
176
|
+
<col align="left" valign="top">
|
177
|
+
<tbody>
|
178
|
+
<tr>
|
179
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
180
|
+
<td>a buffer.</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
184
|
+
<td>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_length]</span>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
</tbody>
|
188
|
+
</table></div>
|
189
|
+
<p class="since">Since 1.0</p>
|
190
|
+
</div>
|
191
|
+
<hr>
|
192
|
+
<div class="refsect2">
|
193
|
+
<a name="hb-buffer-add-utf32"></a><h3>hb_buffer_add_utf32 ()</h3>
|
194
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_add_utf32 (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
195
|
+
<em class="parameter"><code>const <span class="type">uint32_t</span> *text</code></em>,
|
196
|
+
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
197
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
198
|
+
<em class="parameter"><code><span class="type">int</span> item_length</code></em>);</pre>
|
199
|
+
<div class="variablelist"><table border="0">
|
200
|
+
<col align="left" valign="top">
|
201
|
+
<tbody>
|
202
|
+
<tr>
|
203
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
204
|
+
<td>a buffer.</td>
|
205
|
+
</tr>
|
206
|
+
<tr>
|
207
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
208
|
+
<td>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_length]</span>
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
</tbody>
|
212
|
+
</table></div>
|
213
|
+
<p class="since">Since 1.0</p>
|
214
|
+
</div>
|
215
|
+
<hr>
|
216
|
+
<div class="refsect2">
|
217
|
+
<a name="hb-buffer-add-utf8"></a><h3>hb_buffer_add_utf8 ()</h3>
|
218
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_add_utf8 (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
219
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
220
|
+
<em class="parameter"><code><span class="type">int</span> text_length</code></em>,
|
221
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> item_offset</code></em>,
|
222
|
+
<em class="parameter"><code><span class="type">int</span> item_length</code></em>);</pre>
|
223
|
+
<div class="variablelist"><table border="0">
|
224
|
+
<col align="left" valign="top">
|
225
|
+
<tbody>
|
226
|
+
<tr>
|
227
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
228
|
+
<td>a buffer.</td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
232
|
+
<td>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_length]</span>
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
</tbody>
|
236
|
+
</table></div>
|
237
|
+
<p class="since">Since 1.0</p>
|
238
|
+
</div>
|
239
|
+
<hr>
|
240
|
+
<div class="refsect2">
|
241
|
+
<a name="hb-buffer-allocation-successful"></a><h3>hb_buffer_allocation_successful ()</h3>
|
242
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> hb_buffer_allocation_successful (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
243
|
+
<div class="variablelist"><table border="0">
|
244
|
+
<col align="left" valign="top">
|
245
|
+
<tbody><tr>
|
246
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
247
|
+
<td>a buffer.</td>
|
248
|
+
</tr></tbody>
|
249
|
+
</table></div>
|
250
|
+
<p class="since">Since 1.0</p>
|
251
|
+
</div>
|
252
|
+
<hr>
|
253
|
+
<div class="refsect2">
|
254
|
+
<a name="hb-buffer-clear-contents"></a><h3>hb_buffer_clear_contents ()</h3>
|
255
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_clear_contents (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
256
|
+
<div class="variablelist"><table border="0">
|
257
|
+
<col align="left" valign="top">
|
258
|
+
<tbody><tr>
|
259
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
260
|
+
<td>a buffer.</td>
|
261
|
+
</tr></tbody>
|
262
|
+
</table></div>
|
263
|
+
<p class="since">Since 1.0</p>
|
264
|
+
</div>
|
265
|
+
<hr>
|
266
|
+
<div class="refsect2">
|
267
|
+
<a name="hb-buffer-content-type-t"></a><h3>enum hb_buffer_content_type_t</h3>
|
268
|
+
<pre class="programlisting">typedef enum {
|
269
|
+
HB_BUFFER_CONTENT_TYPE_INVALID = 0,
|
270
|
+
HB_BUFFER_CONTENT_TYPE_UNICODE,
|
271
|
+
HB_BUFFER_CONTENT_TYPE_GLYPHS
|
272
|
+
} hb_buffer_content_type_t;
|
273
|
+
</pre>
|
274
|
+
<p>
|
275
|
+
</p>
|
276
|
+
<div class="variablelist"><table border="0">
|
277
|
+
<col align="left" valign="top">
|
278
|
+
<tbody>
|
279
|
+
<tr>
|
280
|
+
<td><p><a name="HB-BUFFER-CONTENT-TYPE-INVALID:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_CONTENT_TYPE_INVALID</code></span></p></td>
|
281
|
+
<td>
|
282
|
+
</td>
|
283
|
+
</tr>
|
284
|
+
<tr>
|
285
|
+
<td><p><a name="HB-BUFFER-CONTENT-TYPE-UNICODE:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_CONTENT_TYPE_UNICODE</code></span></p></td>
|
286
|
+
<td>
|
287
|
+
</td>
|
288
|
+
</tr>
|
289
|
+
<tr>
|
290
|
+
<td><p><a name="HB-BUFFER-CONTENT-TYPE-GLYPHS:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_CONTENT_TYPE_GLYPHS</code></span></p></td>
|
291
|
+
<td>
|
292
|
+
</td>
|
293
|
+
</tr>
|
294
|
+
</tbody>
|
295
|
+
</table></div>
|
296
|
+
</div>
|
297
|
+
<hr>
|
298
|
+
<div class="refsect2">
|
299
|
+
<a name="hb-buffer-create"></a><h3>hb_buffer_create ()</h3>
|
300
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="returnvalue">hb_buffer_t</span></a> * hb_buffer_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
301
|
+
<p>
|
302
|
+
</p>
|
303
|
+
</div>
|
304
|
+
<hr>
|
305
|
+
<div class="refsect2">
|
306
|
+
<a name="hb-buffer-deserialize-glyphs"></a><h3>hb_buffer_deserialize_glyphs ()</h3>
|
307
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> hb_buffer_deserialize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
308
|
+
<em class="parameter"><code>const <span class="type">char</span> *buf</code></em>,
|
309
|
+
<em class="parameter"><code><span class="type">int</span> buf_len</code></em>,
|
310
|
+
<em class="parameter"><code>const <span class="type">char</span> **end_ptr</code></em>,
|
311
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> *font</code></em>,
|
312
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>);</pre>
|
313
|
+
<div class="variablelist"><table border="0">
|
314
|
+
<col align="left" valign="top">
|
315
|
+
<tbody>
|
316
|
+
<tr>
|
317
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
318
|
+
<td>a buffer.</td>
|
319
|
+
</tr>
|
320
|
+
<tr>
|
321
|
+
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
|
322
|
+
<td>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=buf_len]</span>
|
323
|
+
</td>
|
324
|
+
</tr>
|
325
|
+
<tr>
|
326
|
+
<td><p><span class="term"><em class="parameter"><code>end_ptr</code></em> :</span></p></td>
|
327
|
+
<td>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
328
|
+
</td>
|
329
|
+
</tr>
|
330
|
+
</tbody>
|
331
|
+
</table></div>
|
332
|
+
<p class="since">Since 1.0</p>
|
333
|
+
</div>
|
334
|
+
<hr>
|
335
|
+
<div class="refsect2">
|
336
|
+
<a name="hb-buffer-destroy"></a><h3>hb_buffer_destroy ()</h3>
|
337
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
338
|
+
<div class="variablelist"><table border="0">
|
339
|
+
<col align="left" valign="top">
|
340
|
+
<tbody><tr>
|
341
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
342
|
+
<td>a buffer.</td>
|
343
|
+
</tr></tbody>
|
344
|
+
</table></div>
|
345
|
+
<p class="since">Since 1.0</p>
|
346
|
+
</div>
|
347
|
+
<hr>
|
348
|
+
<div class="refsect2">
|
349
|
+
<a name="hb-buffer-flags-t"></a><h3>enum hb_buffer_flags_t</h3>
|
350
|
+
<pre class="programlisting">typedef enum {
|
351
|
+
/*< flags >*/
|
352
|
+
HB_BUFFER_FLAG_DEFAULT = 0x00000000u,
|
353
|
+
HB_BUFFER_FLAG_BOT = 0x00000001u, /* Beginning-of-text */
|
354
|
+
HB_BUFFER_FLAG_EOT = 0x00000002u, /* End-of-text */
|
355
|
+
HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES = 0x00000004u
|
356
|
+
} hb_buffer_flags_t;
|
357
|
+
</pre>
|
358
|
+
<p>
|
359
|
+
</p>
|
360
|
+
<div class="variablelist"><table border="0">
|
361
|
+
<col align="left" valign="top">
|
362
|
+
<tbody>
|
363
|
+
<tr>
|
364
|
+
<td><p><a name="HB-BUFFER-FLAG-DEFAULT:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_FLAG_DEFAULT</code></span></p></td>
|
365
|
+
<td>
|
366
|
+
</td>
|
367
|
+
</tr>
|
368
|
+
<tr>
|
369
|
+
<td><p><a name="HB-BUFFER-FLAG-BOT:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_FLAG_BOT</code></span></p></td>
|
370
|
+
<td>
|
371
|
+
</td>
|
372
|
+
</tr>
|
373
|
+
<tr>
|
374
|
+
<td><p><a name="HB-BUFFER-FLAG-EOT:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_FLAG_EOT</code></span></p></td>
|
375
|
+
<td>
|
376
|
+
</td>
|
377
|
+
</tr>
|
378
|
+
<tr>
|
379
|
+
<td><p><a name="HB-BUFFER-FLAG-PRESERVE-DEFAULT-IGNORABLES:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES</code></span></p></td>
|
380
|
+
<td>
|
381
|
+
</td>
|
382
|
+
</tr>
|
383
|
+
</tbody>
|
384
|
+
</table></div>
|
385
|
+
</div>
|
386
|
+
<hr>
|
387
|
+
<div class="refsect2">
|
388
|
+
<a name="hb-buffer-get-content-type"></a><h3>hb_buffer_get_content_type ()</h3>
|
389
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-content-type-t" title="enum hb_buffer_content_type_t"><span class="returnvalue">hb_buffer_content_type_t</span></a> hb_buffer_get_content_type (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
390
|
+
<div class="variablelist"><table border="0">
|
391
|
+
<col align="left" valign="top">
|
392
|
+
<tbody><tr>
|
393
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
394
|
+
<td>a buffer.</td>
|
395
|
+
</tr></tbody>
|
396
|
+
</table></div>
|
397
|
+
<p class="since">Since 1.0</p>
|
398
|
+
</div>
|
399
|
+
<hr>
|
400
|
+
<div class="refsect2">
|
401
|
+
<a name="hb-buffer-get-direction"></a><h3>hb_buffer_get_direction ()</h3>
|
402
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="returnvalue">hb_direction_t</span></a> hb_buffer_get_direction (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
403
|
+
<div class="variablelist"><table border="0">
|
404
|
+
<col align="left" valign="top">
|
405
|
+
<tbody><tr>
|
406
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
407
|
+
<td>a buffer.</td>
|
408
|
+
</tr></tbody>
|
409
|
+
</table></div>
|
410
|
+
<p class="since">Since 1.0</p>
|
411
|
+
</div>
|
412
|
+
<hr>
|
413
|
+
<div class="refsect2">
|
414
|
+
<a name="hb-buffer-get-empty"></a><h3>hb_buffer_get_empty ()</h3>
|
415
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="returnvalue">hb_buffer_t</span></a> * hb_buffer_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
416
|
+
<div class="variablelist"><table border="0">
|
417
|
+
<col align="left" valign="top">
|
418
|
+
<tbody><tr>
|
419
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
420
|
+
<td>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
421
|
+
</td>
|
422
|
+
</tr></tbody>
|
423
|
+
</table></div>
|
424
|
+
<p class="since">Since 1.0</p>
|
425
|
+
</div>
|
426
|
+
<hr>
|
427
|
+
<div class="refsect2">
|
428
|
+
<a name="hb-buffer-get-flags"></a><h3>hb_buffer_get_flags ()</h3>
|
429
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-flags-t" title="enum hb_buffer_flags_t"><span class="returnvalue">hb_buffer_flags_t</span></a> hb_buffer_get_flags (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
430
|
+
<div class="variablelist"><table border="0">
|
431
|
+
<col align="left" valign="top">
|
432
|
+
<tbody><tr>
|
433
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
434
|
+
<td>a buffer.</td>
|
435
|
+
</tr></tbody>
|
436
|
+
</table></div>
|
437
|
+
<p class="since">Since 1.0</p>
|
438
|
+
</div>
|
439
|
+
<hr>
|
440
|
+
<div class="refsect2">
|
441
|
+
<a name="hb-buffer-get-glyph-infos"></a><h3>hb_buffer_get_glyph_infos ()</h3>
|
442
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-buffer.html#hb-glyph-info-t" title="hb_glyph_info_t"><span class="returnvalue">hb_glyph_info_t</span></a> * hb_buffer_get_glyph_infos (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
443
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> *length</code></em>);</pre>
|
444
|
+
<p>
|
445
|
+
Returns buffer glyph information array. Returned pointer
|
446
|
+
is valid as long as buffer contents are not modified.
|
447
|
+
</p>
|
448
|
+
<div class="variablelist"><table border="0">
|
449
|
+
<col align="left" valign="top">
|
450
|
+
<tbody>
|
451
|
+
<tr>
|
452
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
453
|
+
<td>a buffer.</td>
|
454
|
+
</tr>
|
455
|
+
<tr>
|
456
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
457
|
+
<td>output array length. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
458
|
+
</td>
|
459
|
+
</tr>
|
460
|
+
<tr>
|
461
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
462
|
+
<td>buffer glyph information array. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
463
|
+
</td>
|
464
|
+
</tr>
|
465
|
+
</tbody>
|
466
|
+
</table></div>
|
467
|
+
<p class="since">Since 1.0</p>
|
468
|
+
</div>
|
469
|
+
<hr>
|
470
|
+
<div class="refsect2">
|
471
|
+
<a name="hb-buffer-get-glyph-positions"></a><h3>hb_buffer_get_glyph_positions ()</h3>
|
472
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-buffer.html#hb-glyph-position-t" title="hb_glyph_position_t"><span class="returnvalue">hb_glyph_position_t</span></a> * hb_buffer_get_glyph_positions (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
473
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> *length</code></em>);</pre>
|
474
|
+
<p>
|
475
|
+
Returns buffer glyph position array. Returned pointer
|
476
|
+
is valid as long as buffer contents are not modified.
|
477
|
+
</p>
|
478
|
+
<div class="variablelist"><table border="0">
|
479
|
+
<col align="left" valign="top">
|
480
|
+
<tbody>
|
481
|
+
<tr>
|
482
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
483
|
+
<td>a buffer.</td>
|
484
|
+
</tr>
|
485
|
+
<tr>
|
486
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
487
|
+
<td>output length. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
488
|
+
</td>
|
489
|
+
</tr>
|
490
|
+
<tr>
|
491
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
492
|
+
<td>buffer glyph position array. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
493
|
+
</td>
|
494
|
+
</tr>
|
495
|
+
</tbody>
|
496
|
+
</table></div>
|
497
|
+
<p class="since">Since 1.0</p>
|
498
|
+
</div>
|
499
|
+
<hr>
|
500
|
+
<div class="refsect2">
|
501
|
+
<a name="hb-buffer-get-language"></a><h3>hb_buffer_get_language ()</h3>
|
502
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="returnvalue">hb_language_t</span></a> hb_buffer_get_language (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
503
|
+
<div class="variablelist"><table border="0">
|
504
|
+
<col align="left" valign="top">
|
505
|
+
<tbody><tr>
|
506
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
507
|
+
<td>a buffer.</td>
|
508
|
+
</tr></tbody>
|
509
|
+
</table></div>
|
510
|
+
<p class="since">Since 1.0</p>
|
511
|
+
</div>
|
512
|
+
<hr>
|
513
|
+
<div class="refsect2">
|
514
|
+
<a name="hb-buffer-get-length"></a><h3>hb_buffer_get_length ()</h3>
|
515
|
+
<pre class="programlisting">unsigned <span class="returnvalue">int</span> hb_buffer_get_length (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
516
|
+
<p>
|
517
|
+
Returns the number of items in the buffer.
|
518
|
+
</p>
|
519
|
+
<div class="variablelist"><table border="0">
|
520
|
+
<col align="left" valign="top">
|
521
|
+
<tbody>
|
522
|
+
<tr>
|
523
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
524
|
+
<td>a buffer.</td>
|
525
|
+
</tr>
|
526
|
+
<tr>
|
527
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
528
|
+
<td>buffer length.</td>
|
529
|
+
</tr>
|
530
|
+
</tbody>
|
531
|
+
</table></div>
|
532
|
+
<p class="since">Since 1.0</p>
|
533
|
+
</div>
|
534
|
+
<hr>
|
535
|
+
<div class="refsect2">
|
536
|
+
<a name="hb-buffer-get-script"></a><h3>hb_buffer_get_script ()</h3>
|
537
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="returnvalue">hb_script_t</span></a> hb_buffer_get_script (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
538
|
+
<div class="variablelist"><table border="0">
|
539
|
+
<col align="left" valign="top">
|
540
|
+
<tbody><tr>
|
541
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
542
|
+
<td>a buffer.</td>
|
543
|
+
</tr></tbody>
|
544
|
+
</table></div>
|
545
|
+
<p class="since">Since 1.0</p>
|
546
|
+
</div>
|
547
|
+
<hr>
|
548
|
+
<div class="refsect2">
|
549
|
+
<a name="hb-buffer-get-segment-properties"></a><h3>hb_buffer_get_segment_properties ()</h3>
|
550
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_get_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
551
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *props</code></em>);</pre>
|
552
|
+
<div class="variablelist"><table border="0">
|
553
|
+
<col align="left" valign="top">
|
554
|
+
<tbody><tr>
|
555
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
556
|
+
<td>a buffer.</td>
|
557
|
+
</tr></tbody>
|
558
|
+
</table></div>
|
559
|
+
<p class="since">Since 1.0</p>
|
560
|
+
</div>
|
561
|
+
<hr>
|
562
|
+
<div class="refsect2">
|
563
|
+
<a name="hb-buffer-get-unicode-funcs"></a><h3>hb_buffer_get_unicode_funcs ()</h3>
|
564
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="returnvalue">hb_unicode_funcs_t</span></a> * hb_buffer_get_unicode_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
565
|
+
<div class="variablelist"><table border="0">
|
566
|
+
<col align="left" valign="top">
|
567
|
+
<tbody><tr>
|
568
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
569
|
+
<td>a buffer.</td>
|
570
|
+
</tr></tbody>
|
571
|
+
</table></div>
|
572
|
+
<p class="since">Since 1.0</p>
|
573
|
+
</div>
|
574
|
+
<hr>
|
575
|
+
<div class="refsect2">
|
576
|
+
<a name="hb-buffer-get-user-data"></a><h3>hb_buffer_get_user_data ()</h3>
|
577
|
+
<pre class="programlisting"><span class="returnvalue">void</span> * hb_buffer_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
578
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t" title="hb_user_data_key_t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
|
579
|
+
<div class="variablelist"><table border="0">
|
580
|
+
<col align="left" valign="top">
|
581
|
+
<tbody><tr>
|
582
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
583
|
+
<td>a buffer.</td>
|
584
|
+
</tr></tbody>
|
585
|
+
</table></div>
|
586
|
+
<p class="since">Since 1.0</p>
|
587
|
+
</div>
|
588
|
+
<hr>
|
589
|
+
<div class="refsect2">
|
590
|
+
<a name="hb-buffer-guess-segment-properties"></a><h3>hb_buffer_guess_segment_properties ()</h3>
|
591
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_guess_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
592
|
+
<p>
|
593
|
+
Sets unset buffer segment properties based on buffer Unicode
|
594
|
+
contents. If buffer is not empty, it must have content type
|
595
|
+
<a class="link" href="harfbuzz-hb-buffer.html#HB-BUFFER-CONTENT-TYPE-UNICODE:CAPS"><code class="literal">HB_BUFFER_CONTENT_TYPE_UNICODE</code></a>.
|
596
|
+
</p>
|
597
|
+
<p>
|
598
|
+
If buffer script is not set (ie. is <a class="link" href="harfbuzz-hb-common.html#HB-SCRIPT-INVALID:CAPS"><code class="literal">HB_SCRIPT_INVALID</code></a>), it
|
599
|
+
will be set to the Unicode script of the first character in
|
600
|
+
the buffer that has a script other than <a class="link" href="harfbuzz-hb-common.html#HB-SCRIPT-COMMON:CAPS"><code class="literal">HB_SCRIPT_COMMON</code></a>,
|
601
|
+
<a class="link" href="harfbuzz-hb-common.html#HB-SCRIPT-INHERITED:CAPS"><code class="literal">HB_SCRIPT_INHERITED</code></a>, and <a class="link" href="harfbuzz-hb-common.html#HB-SCRIPT-UNKNOWN:CAPS"><code class="literal">HB_SCRIPT_UNKNOWN</code></a>.
|
602
|
+
</p>
|
603
|
+
<p>
|
604
|
+
Next, if buffer direction is not set (ie. is <a class="link" href="harfbuzz-hb-common.html#HB-DIRECTION-INVALID:CAPS"><code class="literal">HB_DIRECTION_INVALID</code></a>),
|
605
|
+
it will be set to the natural horizontal direction of the
|
606
|
+
buffer script as returned by <a class="link" href="harfbuzz-hb-common.html#hb-script-get-horizontal-direction" title="hb_script_get_horizontal_direction ()"><code class="function">hb_script_get_horizontal_direction()</code></a>.
|
607
|
+
</p>
|
608
|
+
<p>
|
609
|
+
Finally, if buffer language is not set (ie. is <a class="link" href="harfbuzz-hb-common.html#HB-LANGUAGE-INVALID:CAPS" title="HB_LANGUAGE_INVALID"><code class="literal">HB_LANGUAGE_INVALID</code></a>),
|
610
|
+
it will be set to the process's default language as returned by
|
611
|
+
<a class="link" href="harfbuzz-hb-common.html#hb-language-get-default" title="hb_language_get_default ()"><code class="function">hb_language_get_default()</code></a>. This may change in the future by
|
612
|
+
taking buffer script into consideration when choosing a language.
|
613
|
+
</p>
|
614
|
+
<div class="variablelist"><table border="0">
|
615
|
+
<col align="left" valign="top">
|
616
|
+
<tbody><tr>
|
617
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
618
|
+
<td>a buffer.</td>
|
619
|
+
</tr></tbody>
|
620
|
+
</table></div>
|
621
|
+
<p class="since">Since 1.0</p>
|
622
|
+
</div>
|
623
|
+
<hr>
|
624
|
+
<div class="refsect2">
|
625
|
+
<a name="hb-buffer-normalize-glyphs"></a><h3>hb_buffer_normalize_glyphs ()</h3>
|
626
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_normalize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
627
|
+
<div class="variablelist"><table border="0">
|
628
|
+
<col align="left" valign="top">
|
629
|
+
<tbody><tr>
|
630
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
631
|
+
<td>a buffer.</td>
|
632
|
+
</tr></tbody>
|
633
|
+
</table></div>
|
634
|
+
<p class="since">Since 1.0</p>
|
635
|
+
</div>
|
636
|
+
<hr>
|
637
|
+
<div class="refsect2">
|
638
|
+
<a name="hb-buffer-pre-allocate"></a><h3>hb_buffer_pre_allocate ()</h3>
|
639
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> hb_buffer_pre_allocate (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
640
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
|
641
|
+
<div class="variablelist"><table border="0">
|
642
|
+
<col align="left" valign="top">
|
643
|
+
<tbody><tr>
|
644
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
645
|
+
<td>a buffer.</td>
|
646
|
+
</tr></tbody>
|
647
|
+
</table></div>
|
648
|
+
<p class="since">Since 1.0</p>
|
649
|
+
</div>
|
650
|
+
<hr>
|
651
|
+
<div class="refsect2">
|
652
|
+
<a name="hb-buffer-reference"></a><h3>hb_buffer_reference ()</h3>
|
653
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="returnvalue">hb_buffer_t</span></a> * hb_buffer_reference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
654
|
+
<div class="variablelist"><table border="0">
|
655
|
+
<col align="left" valign="top">
|
656
|
+
<tbody>
|
657
|
+
<tr>
|
658
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
659
|
+
<td>a buffer.</td>
|
660
|
+
</tr>
|
661
|
+
<tr>
|
662
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
663
|
+
<td>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
664
|
+
</td>
|
665
|
+
</tr>
|
666
|
+
</tbody>
|
667
|
+
</table></div>
|
668
|
+
<p class="since">Since 1.0</p>
|
669
|
+
</div>
|
670
|
+
<hr>
|
671
|
+
<div class="refsect2">
|
672
|
+
<a name="hb-buffer-reset"></a><h3>hb_buffer_reset ()</h3>
|
673
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_reset (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
674
|
+
<div class="variablelist"><table border="0">
|
675
|
+
<col align="left" valign="top">
|
676
|
+
<tbody><tr>
|
677
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
678
|
+
<td>a buffer.</td>
|
679
|
+
</tr></tbody>
|
680
|
+
</table></div>
|
681
|
+
<p class="since">Since 1.0</p>
|
682
|
+
</div>
|
683
|
+
<hr>
|
684
|
+
<div class="refsect2">
|
685
|
+
<a name="hb-buffer-reverse"></a><h3>hb_buffer_reverse ()</h3>
|
686
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_reverse (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
687
|
+
<p>
|
688
|
+
Reverses buffer contents.
|
689
|
+
</p>
|
690
|
+
<div class="variablelist"><table border="0">
|
691
|
+
<col align="left" valign="top">
|
692
|
+
<tbody><tr>
|
693
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
694
|
+
<td>a buffer.</td>
|
695
|
+
</tr></tbody>
|
696
|
+
</table></div>
|
697
|
+
<p class="since">Since 1.0</p>
|
698
|
+
</div>
|
699
|
+
<hr>
|
700
|
+
<div class="refsect2">
|
701
|
+
<a name="hb-buffer-reverse-clusters"></a><h3>hb_buffer_reverse_clusters ()</h3>
|
702
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_reverse_clusters (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>);</pre>
|
703
|
+
<p>
|
704
|
+
Reverses buffer clusters. That is, the buffer contents are
|
705
|
+
reversed, then each cluster (consecutive items having the
|
706
|
+
same cluster number) are reversed again.
|
707
|
+
</p>
|
708
|
+
<div class="variablelist"><table border="0">
|
709
|
+
<col align="left" valign="top">
|
710
|
+
<tbody><tr>
|
711
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
712
|
+
<td>a buffer.</td>
|
713
|
+
</tr></tbody>
|
714
|
+
</table></div>
|
715
|
+
<p class="since">Since 1.0</p>
|
716
|
+
</div>
|
717
|
+
<hr>
|
718
|
+
<div class="refsect2">
|
719
|
+
<a name="hb-buffer-serialize-flags-t"></a><h3>enum hb_buffer_serialize_flags_t</h3>
|
720
|
+
<pre class="programlisting">typedef enum {
|
721
|
+
/*< flags >*/
|
722
|
+
HB_BUFFER_SERIALIZE_FLAG_DEFAULT = 0x00000000u,
|
723
|
+
HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS = 0x00000001u,
|
724
|
+
HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS = 0x00000002u,
|
725
|
+
HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES = 0x00000004u
|
726
|
+
} hb_buffer_serialize_flags_t;
|
727
|
+
</pre>
|
728
|
+
<p>
|
729
|
+
</p>
|
730
|
+
<div class="variablelist"><table border="0">
|
731
|
+
<col align="left" valign="top">
|
732
|
+
<tbody>
|
733
|
+
<tr>
|
734
|
+
<td><p><a name="HB-BUFFER-SERIALIZE-FLAG-DEFAULT:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_SERIALIZE_FLAG_DEFAULT</code></span></p></td>
|
735
|
+
<td>
|
736
|
+
</td>
|
737
|
+
</tr>
|
738
|
+
<tr>
|
739
|
+
<td><p><a name="HB-BUFFER-SERIALIZE-FLAG-NO-CLUSTERS:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS</code></span></p></td>
|
740
|
+
<td>
|
741
|
+
</td>
|
742
|
+
</tr>
|
743
|
+
<tr>
|
744
|
+
<td><p><a name="HB-BUFFER-SERIALIZE-FLAG-NO-POSITIONS:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS</code></span></p></td>
|
745
|
+
<td>
|
746
|
+
</td>
|
747
|
+
</tr>
|
748
|
+
<tr>
|
749
|
+
<td><p><a name="HB-BUFFER-SERIALIZE-FLAG-NO-GLYPH-NAMES:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES</code></span></p></td>
|
750
|
+
<td>
|
751
|
+
</td>
|
752
|
+
</tr>
|
753
|
+
</tbody>
|
754
|
+
</table></div>
|
755
|
+
</div>
|
756
|
+
<hr>
|
757
|
+
<div class="refsect2">
|
758
|
+
<a name="hb-buffer-serialize-format-from-string"></a><h3>hb_buffer_serialize_format_from_string ()</h3>
|
759
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="returnvalue">hb_buffer_serialize_format_t</span></a> hb_buffer_serialize_format_from_string
|
760
|
+
(<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
761
|
+
<em class="parameter"><code><span class="type">int</span> len</code></em>);</pre>
|
762
|
+
<p class="since">Since 1.0</p>
|
763
|
+
</div>
|
764
|
+
<hr>
|
765
|
+
<div class="refsect2">
|
766
|
+
<a name="hb-buffer-serialize-format-t"></a><h3>enum hb_buffer_serialize_format_t</h3>
|
767
|
+
<pre class="programlisting">typedef enum {
|
768
|
+
HB_BUFFER_SERIALIZE_FORMAT_TEXT = HB_TAG('T','E','X','T'),
|
769
|
+
HB_BUFFER_SERIALIZE_FORMAT_JSON = HB_TAG('J','S','O','N'),
|
770
|
+
HB_BUFFER_SERIALIZE_FORMAT_INVALID = HB_TAG_NONE
|
771
|
+
} hb_buffer_serialize_format_t;
|
772
|
+
</pre>
|
773
|
+
<p>
|
774
|
+
</p>
|
775
|
+
<div class="variablelist"><table border="0">
|
776
|
+
<col align="left" valign="top">
|
777
|
+
<tbody>
|
778
|
+
<tr>
|
779
|
+
<td><p><a name="HB-BUFFER-SERIALIZE-FORMAT-TEXT:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_SERIALIZE_FORMAT_TEXT</code></span></p></td>
|
780
|
+
<td>
|
781
|
+
</td>
|
782
|
+
</tr>
|
783
|
+
<tr>
|
784
|
+
<td><p><a name="HB-BUFFER-SERIALIZE-FORMAT-JSON:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_SERIALIZE_FORMAT_JSON</code></span></p></td>
|
785
|
+
<td>
|
786
|
+
</td>
|
787
|
+
</tr>
|
788
|
+
<tr>
|
789
|
+
<td><p><a name="HB-BUFFER-SERIALIZE-FORMAT-INVALID:CAPS"></a><span class="term"><code class="literal">HB_BUFFER_SERIALIZE_FORMAT_INVALID</code></span></p></td>
|
790
|
+
<td>
|
791
|
+
</td>
|
792
|
+
</tr>
|
793
|
+
</tbody>
|
794
|
+
</table></div>
|
795
|
+
</div>
|
796
|
+
<hr>
|
797
|
+
<div class="refsect2">
|
798
|
+
<a name="hb-buffer-serialize-format-to-string"></a><h3>hb_buffer_serialize_format_to_string ()</h3>
|
799
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * hb_buffer_serialize_format_to_string
|
800
|
+
(<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>);</pre>
|
801
|
+
<p class="since">Since 1.0</p>
|
802
|
+
</div>
|
803
|
+
<hr>
|
804
|
+
<div class="refsect2">
|
805
|
+
<a name="hb-buffer-serialize-glyphs"></a><h3>hb_buffer_serialize_glyphs ()</h3>
|
806
|
+
<pre class="programlisting">unsigned <span class="returnvalue">int</span> hb_buffer_serialize_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
807
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> start</code></em>,
|
808
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> end</code></em>,
|
809
|
+
<em class="parameter"><code><span class="type">char</span> *buf</code></em>,
|
810
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> buf_size</code></em>,
|
811
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> *buf_consumed</code></em>,
|
812
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> *font</code></em>,
|
813
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-format-t" title="enum hb_buffer_serialize_format_t"><span class="type">hb_buffer_serialize_format_t</span></a> format</code></em>,
|
814
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-serialize-flags-t" title="enum hb_buffer_serialize_flags_t"><span class="type">hb_buffer_serialize_flags_t</span></a> flags</code></em>);</pre>
|
815
|
+
<div class="variablelist"><table border="0">
|
816
|
+
<col align="left" valign="top">
|
817
|
+
<tbody>
|
818
|
+
<tr>
|
819
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
820
|
+
<td>a buffer.</td>
|
821
|
+
</tr>
|
822
|
+
<tr>
|
823
|
+
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
|
824
|
+
<td>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=buf_size]</span>
|
825
|
+
</td>
|
826
|
+
</tr>
|
827
|
+
<tr>
|
828
|
+
<td><p><span class="term"><em class="parameter"><code>buf_consumed</code></em> :</span></p></td>
|
829
|
+
<td>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
830
|
+
</td>
|
831
|
+
</tr>
|
832
|
+
</tbody>
|
833
|
+
</table></div>
|
834
|
+
<p class="since">Since 1.0</p>
|
835
|
+
</div>
|
836
|
+
<hr>
|
837
|
+
<div class="refsect2">
|
838
|
+
<a name="hb-buffer-serialize-list-formats"></a><h3>hb_buffer_serialize_list_formats ()</h3>
|
839
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> ** hb_buffer_serialize_list_formats (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
840
|
+
<div class="variablelist"><table border="0">
|
841
|
+
<col align="left" valign="top">
|
842
|
+
<tbody><tr>
|
843
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
844
|
+
<td>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
845
|
+
</td>
|
846
|
+
</tr></tbody>
|
847
|
+
</table></div>
|
848
|
+
<p class="since">Since 1.0</p>
|
849
|
+
</div>
|
850
|
+
<hr>
|
851
|
+
<div class="refsect2">
|
852
|
+
<a name="hb-buffer-set-content-type"></a><h3>hb_buffer_set_content_type ()</h3>
|
853
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_set_content_type (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
854
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-content-type-t" title="enum hb_buffer_content_type_t"><span class="type">hb_buffer_content_type_t</span></a> content_type</code></em>);</pre>
|
855
|
+
<div class="variablelist"><table border="0">
|
856
|
+
<col align="left" valign="top">
|
857
|
+
<tbody><tr>
|
858
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
859
|
+
<td>a buffer.</td>
|
860
|
+
</tr></tbody>
|
861
|
+
</table></div>
|
862
|
+
<p class="since">Since 1.0</p>
|
863
|
+
</div>
|
864
|
+
<hr>
|
865
|
+
<div class="refsect2">
|
866
|
+
<a name="hb-buffer-set-direction"></a><h3>hb_buffer_set_direction ()</h3>
|
867
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_set_direction (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
868
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>);</pre>
|
869
|
+
<div class="variablelist"><table border="0">
|
870
|
+
<col align="left" valign="top">
|
871
|
+
<tbody><tr>
|
872
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
873
|
+
<td>a buffer.</td>
|
874
|
+
</tr></tbody>
|
875
|
+
</table></div>
|
876
|
+
<p class="since">Since 1.0</p>
|
877
|
+
</div>
|
878
|
+
<hr>
|
879
|
+
<div class="refsect2">
|
880
|
+
<a name="hb-buffer-set-flags"></a><h3>hb_buffer_set_flags ()</h3>
|
881
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_set_flags (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
882
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-flags-t" title="enum hb_buffer_flags_t"><span class="type">hb_buffer_flags_t</span></a> flags</code></em>);</pre>
|
883
|
+
<div class="variablelist"><table border="0">
|
884
|
+
<col align="left" valign="top">
|
885
|
+
<tbody><tr>
|
886
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
887
|
+
<td>a buffer.</td>
|
888
|
+
</tr></tbody>
|
889
|
+
</table></div>
|
890
|
+
<p class="since">Since 1.0</p>
|
891
|
+
</div>
|
892
|
+
<hr>
|
893
|
+
<div class="refsect2">
|
894
|
+
<a name="hb-buffer-set-language"></a><h3>hb_buffer_set_language ()</h3>
|
895
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_set_language (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
896
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> language</code></em>);</pre>
|
897
|
+
<div class="variablelist"><table border="0">
|
898
|
+
<col align="left" valign="top">
|
899
|
+
<tbody><tr>
|
900
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
901
|
+
<td>a buffer.</td>
|
902
|
+
</tr></tbody>
|
903
|
+
</table></div>
|
904
|
+
<p class="since">Since 1.0</p>
|
905
|
+
</div>
|
906
|
+
<hr>
|
907
|
+
<div class="refsect2">
|
908
|
+
<a name="hb-buffer-set-length"></a><h3>hb_buffer_set_length ()</h3>
|
909
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> hb_buffer_set_length (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
910
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> length</code></em>);</pre>
|
911
|
+
<div class="variablelist"><table border="0">
|
912
|
+
<col align="left" valign="top">
|
913
|
+
<tbody><tr>
|
914
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
915
|
+
<td>a buffer.</td>
|
916
|
+
</tr></tbody>
|
917
|
+
</table></div>
|
918
|
+
<p class="since">Since 1.0</p>
|
919
|
+
</div>
|
920
|
+
<hr>
|
921
|
+
<div class="refsect2">
|
922
|
+
<a name="hb-buffer-set-script"></a><h3>hb_buffer_set_script ()</h3>
|
923
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_set_script (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
924
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> script</code></em>);</pre>
|
925
|
+
<div class="variablelist"><table border="0">
|
926
|
+
<col align="left" valign="top">
|
927
|
+
<tbody><tr>
|
928
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
929
|
+
<td>a buffer.</td>
|
930
|
+
</tr></tbody>
|
931
|
+
</table></div>
|
932
|
+
<p class="since">Since 1.0</p>
|
933
|
+
</div>
|
934
|
+
<hr>
|
935
|
+
<div class="refsect2">
|
936
|
+
<a name="hb-buffer-set-segment-properties"></a><h3>hb_buffer_set_segment_properties ()</h3>
|
937
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_set_segment_properties (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
938
|
+
<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *props</code></em>);</pre>
|
939
|
+
<div class="variablelist"><table border="0">
|
940
|
+
<col align="left" valign="top">
|
941
|
+
<tbody><tr>
|
942
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
943
|
+
<td>a buffer.</td>
|
944
|
+
</tr></tbody>
|
945
|
+
</table></div>
|
946
|
+
<p class="since">Since 1.0</p>
|
947
|
+
</div>
|
948
|
+
<hr>
|
949
|
+
<div class="refsect2">
|
950
|
+
<a name="hb-buffer-set-unicode-funcs"></a><h3>hb_buffer_set_unicode_funcs ()</h3>
|
951
|
+
<pre class="programlisting"><span class="returnvalue">void</span> hb_buffer_set_unicode_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
952
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> *unicode_funcs</code></em>);</pre>
|
953
|
+
<div class="variablelist"><table border="0">
|
954
|
+
<col align="left" valign="top">
|
955
|
+
<tbody><tr>
|
956
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
957
|
+
<td>a buffer.</td>
|
958
|
+
</tr></tbody>
|
959
|
+
</table></div>
|
960
|
+
<p class="since">Since 1.0</p>
|
961
|
+
</div>
|
962
|
+
<hr>
|
963
|
+
<div class="refsect2">
|
964
|
+
<a name="hb-buffer-set-user-data"></a><h3>hb_buffer_set_user_data ()</h3>
|
965
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> hb_buffer_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-t" title="hb_buffer_t"><span class="type">hb_buffer_t</span></a> *buffer</code></em>,
|
966
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t" title="hb_user_data_key_t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
|
967
|
+
<em class="parameter"><code><span class="type">void</span> *data</code></em>,
|
968
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
|
969
|
+
<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> replace</code></em>);</pre>
|
970
|
+
<div class="variablelist"><table border="0">
|
971
|
+
<col align="left" valign="top">
|
972
|
+
<tbody><tr>
|
973
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
974
|
+
<td>a buffer.</td>
|
975
|
+
</tr></tbody>
|
976
|
+
</table></div>
|
977
|
+
<p class="since">Since 1.0</p>
|
978
|
+
</div>
|
979
|
+
<hr>
|
980
|
+
<div class="refsect2">
|
981
|
+
<a name="hb-buffer-t"></a><h3>hb_buffer_t</h3>
|
982
|
+
<pre class="programlisting">typedef struct hb_buffer_t hb_buffer_t;
|
983
|
+
</pre>
|
984
|
+
<p>
|
985
|
+
</p>
|
986
|
+
</div>
|
987
|
+
<hr>
|
988
|
+
<div class="refsect2">
|
989
|
+
<a name="hb-glyph-info-t"></a><h3>hb_glyph_info_t</h3>
|
990
|
+
<pre class="programlisting">typedef struct {
|
991
|
+
hb_codepoint_t codepoint;
|
992
|
+
hb_mask_t mask;
|
993
|
+
uint32_t cluster;
|
994
|
+
} hb_glyph_info_t;
|
995
|
+
</pre>
|
996
|
+
<p>
|
997
|
+
</p>
|
998
|
+
</div>
|
999
|
+
<hr>
|
1000
|
+
<div class="refsect2">
|
1001
|
+
<a name="hb-glyph-position-t"></a><h3>hb_glyph_position_t</h3>
|
1002
|
+
<pre class="programlisting">typedef struct {
|
1003
|
+
hb_position_t x_advance;
|
1004
|
+
hb_position_t y_advance;
|
1005
|
+
hb_position_t x_offset;
|
1006
|
+
hb_position_t y_offset;
|
1007
|
+
} hb_glyph_position_t;
|
1008
|
+
</pre>
|
1009
|
+
<p>
|
1010
|
+
</p>
|
1011
|
+
</div>
|
1012
|
+
<hr>
|
1013
|
+
<div class="refsect2">
|
1014
|
+
<a name="hb-segment-properties-equal"></a><h3>hb_segment_properties_equal ()</h3>
|
1015
|
+
<pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a> hb_segment_properties_equal (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *a</code></em>,
|
1016
|
+
<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *b</code></em>);</pre>
|
1017
|
+
<p>
|
1018
|
+
</p>
|
1019
|
+
</div>
|
1020
|
+
<hr>
|
1021
|
+
<div class="refsect2">
|
1022
|
+
<a name="hb-segment-properties-hash"></a><h3>hb_segment_properties_hash ()</h3>
|
1023
|
+
<pre class="programlisting">unsigned <span class="returnvalue">int</span> hb_segment_properties_hash (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-buffer.html#hb-segment-properties-t" title="hb_segment_properties_t"><span class="type">hb_segment_properties_t</span></a> *p</code></em>);</pre>
|
1024
|
+
<p>
|
1025
|
+
</p>
|
1026
|
+
</div>
|
1027
|
+
<hr>
|
1028
|
+
<div class="refsect2">
|
1029
|
+
<a name="hb-segment-properties-t"></a><h3>hb_segment_properties_t</h3>
|
1030
|
+
<pre class="programlisting">typedef struct {
|
1031
|
+
hb_direction_t direction;
|
1032
|
+
hb_script_t script;
|
1033
|
+
hb_language_t language;
|
1034
|
+
} hb_segment_properties_t;
|
1035
|
+
</pre>
|
1036
|
+
<p>
|
1037
|
+
</p>
|
1038
|
+
</div>
|
1039
|
+
</div>
|
1040
|
+
</div>
|
1041
|
+
<div class="footer">
|
1042
|
+
<hr>
|
1043
|
+
Generated by GTK-Doc V1.19.1</div>
|
1044
|
+
</body>
|
1045
|
+
</html>
|