PATH:
usr
/
share
/
gtk-doc
/
html
/
harfbuzz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>hb-ft: HarfBuzz Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="HarfBuzz Manual"> <link rel="up" href="ch08.html" title="Harfbuzz API"> <link rel="prev" href="harfbuzz-hb-icu.html" title="hb-icu"> <link rel="next" href="harfbuzz-hb-graphite2.html" title="hb-graphite2"> <meta name="generator" content="GTK-Doc V1.27.1 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"> <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> <a href="#harfbuzz-hb-ft.description" class="shortcut">Description</a></span> </td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="ch08.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="harfbuzz-hb-icu.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="harfbuzz-hb-graphite2.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="harfbuzz-hb-ft"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="harfbuzz-hb-ft.top_of_page"></a>hb-ft</span></h2> <p>hb-ft</p> </td> <td class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> <a name="harfbuzz-hb-ft.functions"></a><h2>Functions</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="functions_return"> <col class="functions_name"> </colgroup> <tbody> <tr> <td class="function_type"> <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> * </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-face-create" title="hb_ft_face_create ()">hb_ft_face_create</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> * </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-face-create-cached" title="hb_ft_face_create_cached ()">hb_ft_face_create_cached</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> * </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-face-create-referenced" title="hb_ft_face_create_referenced ()">hb_ft_face_create_referenced</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> * </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-font-create" title="hb_ft_font_create ()">hb_ft_font_create</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> * </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-font-create-referenced" title="hb_ft_font_create_referenced ()">hb_ft_font_create_referenced</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-font-changed" title="hb_ft_font_changed ()">hb_ft_font_changed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">FT_Face</span> </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-font-get-face" title="hb_ft_font_get_face ()">hb_ft_font_get_face</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-font-set-load-flags" title="hb_ft_font_set_load_flags ()">hb_ft_font_set_load_flags</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">int</span> </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-font-get-load-flags" title="hb_ft_font_get_load_flags ()">hb_ft_font_get_load_flags</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <span class="returnvalue">void</span> </td> <td class="function_name"> <a class="link" href="harfbuzz-hb-ft.html#hb-ft-font-set-funcs" title="hb_ft_font_set_funcs ()">hb_ft_font_set_funcs</a> <span class="c_punctuation">()</span> </td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="harfbuzz-hb-ft.description"></a><h2>Description</h2> </div> <div class="refsect1"> <a name="harfbuzz-hb-ft.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="hb-ft-face-create"></a><h3>hb_ft_face_create ()</h3> <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> * hb_ft_face_create (<em class="parameter"><code><span class="type">FT_Face</span> ft_face</code></em>, <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>);</pre> <div class="refsect3"> <a name="hb-ft-face-create.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>ft_face</p></td> <td class="parameter_description"><p>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="hb-ft-face-create.returns"></a><h4>Returns</h4> <p>. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p> </div> <hr> <div class="refsect2"> <a name="hb-ft-face-create-cached"></a><h3>hb_ft_face_create_cached ()</h3> <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> * hb_ft_face_create_cached (<em class="parameter"><code><span class="type">FT_Face</span> ft_face</code></em>);</pre> <div class="refsect3"> <a name="hb-ft-face-create-cached.returns"></a><h4>Returns</h4> <p>. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p> </div> <hr> <div class="refsect2"> <a name="hb-ft-face-create-referenced"></a><h3>hb_ft_face_create_referenced ()</h3> <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> * hb_ft_face_create_referenced (<em class="parameter"><code><span class="type">FT_Face</span> ft_face</code></em>);</pre> <div class="refsect3"> <a name="hb-ft-face-create-referenced.returns"></a><h4>Returns</h4> <p>. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-0-9-38.html#api-index-0.9.38">0.9.38</a></p> </div> <hr> <div class="refsect2"> <a name="hb-ft-font-create"></a><h3>hb_ft_font_create ()</h3> <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> * hb_ft_font_create (<em class="parameter"><code><span class="type">FT_Face</span> ft_face</code></em>, <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>);</pre> <div class="refsect3"> <a name="hb-ft-font-create.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>ft_face</p></td> <td class="parameter_description"><p>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="hb-ft-font-create.returns"></a><h4>Returns</h4> <p>. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p> </div> <hr> <div class="refsect2"> <a name="hb-ft-font-create-referenced"></a><h3>hb_ft_font_create_referenced ()</h3> <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> * hb_ft_font_create_referenced (<em class="parameter"><code><span class="type">FT_Face</span> ft_face</code></em>);</pre> <div class="refsect3"> <a name="hb-ft-font-create-referenced.returns"></a><h4>Returns</h4> <p>. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> <p class="since">Since: <a class="link" href="api-index-0-9-38.html#api-index-0.9.38">0.9.38</a></p> </div> <hr> <div class="refsect2"> <a name="hb-ft-font-changed"></a><h3>hb_ft_font_changed ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> hb_ft_font_changed (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre> </div> <hr> <div class="refsect2"> <a name="hb-ft-font-get-face"></a><h3>hb_ft_font_get_face ()</h3> <pre class="programlisting"><span class="returnvalue">FT_Face</span> hb_ft_font_get_face (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre> </div> <hr> <div class="refsect2"> <a name="hb-ft-font-set-load-flags"></a><h3>hb_ft_font_set_load_flags ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> hb_ft_font_set_load_flags (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>, <em class="parameter"><code><span class="type">int</span> load_flags</code></em>);</pre> <p class="since">Since: <a class="link" href="api-index-1-0-5.html#api-index-1.0.5">1.0.5</a></p> </div> <hr> <div class="refsect2"> <a name="hb-ft-font-get-load-flags"></a><h3>hb_ft_font_get_load_flags ()</h3> <pre class="programlisting"><span class="returnvalue">int</span> hb_ft_font_get_load_flags (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre> <p class="since">Since: <a class="link" href="api-index-1-0-5.html#api-index-1.0.5">1.0.5</a></p> </div> <hr> <div class="refsect2"> <a name="hb-ft-font-set-funcs"></a><h3>hb_ft_font_set_funcs ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> hb_ft_font_set_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre> </div> </div> <div class="refsect1"> <a name="harfbuzz-hb-ft.other_details"></a><h2>Types and Values</h2> </div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.27.1</div> </body> </html>
[-] api-index-0-9-39.html
[edit]
[-] api-index-0-9-10.html
[edit]
[-] harfbuzz-Buffers.html
[edit]
[-] harfbuzz-hb-shape-plan.html
[edit]
[-] harfbuzz-hb-ot-shape.html
[edit]
[-] reordering-in-levels-0-and-1.html
[edit]
[-] harfbuzz-hb-gobject.html
[edit]
[-] harfbuzz-hb-deprecated.html
[edit]
[-] up-insensitive.png
[edit]
[-] harfbuzz-hb-unicode.html
[edit]
[-] harfbuzz-hb-coretext.html
[edit]
[-] home.png
[edit]
[-] the-distinction-between-levels-0-and-1.html
[edit]
[+]
..
[-] harfbuzz-hb-ot-math.html
[edit]
[-] annotation-glossary.html
[edit]
[-] right-insensitive.png
[edit]
[-] left-insensitive.png
[edit]
[-] harfbuzz-hb-ot-layout.html
[edit]
[-] harfbuzz-hb-version.html
[edit]
[-] harfbuzz-hb-blob.html
[edit]
[-] api-index-1-1-3.html
[edit]
[-] up.png
[edit]
[-] api-index-1-2-3.html
[edit]
[-] why-is-it-called-harfbuzz.html
[edit]
[-] buffers-language-script-and-direction.html
[edit]
[-] right.png
[edit]
[-] what-about-the-other-scripts.html
[edit]
[-] api-index-0-9-31.html
[edit]
[-] deprecated-api-index.html
[edit]
[-] harfbuzz-hb-common.html
[edit]
[-] api-index-1-4-3.html
[edit]
[-] harfbuzz-hb-font.html
[edit]
[-] index.html
[edit]
[-] object-tree.html
[edit]
[-] harfbuzz-hb-icu.html
[edit]
[-] api-index-1-0-5.html
[edit]
[-] harfbuzz-hb-ot-font.html
[edit]
[-] api-index-full.html
[edit]
[-] using-your-own-font-functions.html
[edit]
[-] api-index-0-9-42.html
[edit]
[-] setting-buffer-properties.html
[edit]
[-] api-index-0-9-5.html
[edit]
[-] api-index-0-9-38.html
[edit]
[-] a-clustering-example-for-levels-0-and-1.html
[edit]
[-] harfbuzz-hb-glib.html
[edit]
[-] HarfBuzz.png
[edit]
[-] api-index-0-9-2.html
[edit]
[-] style.css
[edit]
[-] api-index-0-9-41.html
[edit]
[-] ch08.html
[edit]
[-] install-harfbuzz.html
[edit]
[-] pt02.html
[edit]
[-] api-index-0-9-28.html
[edit]
[-] adding-text-to-the-buffer.html
[edit]
[-] harfbuzz-hb-ot-tag.html
[edit]
[-] level-2.html
[edit]
[-] fonts-and-faces.html
[edit]
[-] api-index-0-9-8.html
[edit]
[-] harfbuzz-hb-graphite2.html
[edit]
[-] api-index-0-9-30.html
[edit]
[-] api-index-1-1-2.html
[edit]
[-] harfbuzz-hb-face.html
[edit]
[-] building.html
[edit]
[-] clusters.html
[edit]
[-] harfbuzz-hb-ft.html
[edit]
[-] api-index-0-9-11.html
[edit]
[-] hello-harfbuzz.html
[edit]
[-] api-index-0-9-20.html
[edit]
[-] api-index-1-6-0.html
[edit]
[-] plans-and-caching.html
[edit]
[-] api-index-1-5-0.html
[edit]
[-] pt01.html
[edit]
[-] api-index-1-4-2.html
[edit]
[-] harfbuzz-hb-set.html
[edit]
[-] left.png
[edit]
[-] api-index-0-9-7.html
[edit]
[-] harfbuzz.devhelp2
[edit]
[-] what-is-harfbuzz.html
[edit]
[-] harfbuzz-Shaping.html
[edit]
[-] HarfBuzz.svg
[edit]
[-] harfbuzz-hb-uniscribe.html
[edit]
[-] harfbuzz-hb-ot.html
[edit]
[-] api-index-1-3-3.html
[edit]
[-] api-index-0-9-22.html
[edit]
[-] customizing-unicode-functions.html
[edit]
[-] using-harfbuzzs-native-opentype-implementation.html
[edit]
[-] harfbuzz-hb.html
[edit]
[-] shaping-and-shape-plans.html
[edit]