⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 opentype.xml

📁 GTK+-2.0源码之pango-1.15.6.tar.gz
💻 XML
📖 第 1 页 / 共 3 页
字号:
<title><anchor id="PANGO-OT-ALL-GLYPHS:CAPS" role="macro"/>PANGO_OT_ALL_GLYPHS</title><indexterm><primary>PANGO_OT_ALL_GLYPHS</primary></indexterm><programlisting>#define PANGO_OT_ALL_GLYPHS		((guint)0xFFFF)</programlisting><para>This is used as the property bit in <link linkend="pango-ot-ruleset-add-feature"><function>pango_ot_ruleset_add_feature()</function></link> when afeature should be applied to all glyphs.</para></refsect2><refsect2><title><anchor id="PANGO-OT-DEFAULT-LANGUAGE:CAPS" role="macro"/>PANGO_OT_DEFAULT_LANGUAGE</title><indexterm><primary>PANGO_OT_DEFAULT_LANGUAGE</primary></indexterm><programlisting>#define PANGO_OT_DEFAULT_LANGUAGE	((guint)0xFFFF)</programlisting><para>This is used as the language index in <link linkend="pango-ot-info-find-feature"><function>pango_ot_info_find_feature()</function></link> when athe default language system of the script is desired.</para></refsect2><refsect2><title><anchor id="pango-ot-info-get" role="function" condition="since:1.2"/>pango_ot_info_get ()</title><indexterm role="1.2"><primary>pango_ot_info_get</primary></indexterm><programlisting><link linkend="PangoOTInfo">PangoOTInfo</link>* pango_ot_info_get              (<link linkend="FT-Face">FT_Face</link> face);</programlisting><para>Returns the <link linkend="PangoOTInfo"><type>PangoOTInfo</type></link> structure for the given FreeType font.</para><para></para><variablelist role="params"><varlistentry><term><parameter>face</parameter>&nbsp;:</term><listitem><simpara> a <type>FT_Face</type>.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the <link linkend="PangoOTInfo"><type>PangoOTInfo</type></link> for <parameter>face</parameter>. This object will havethe same lifetime as <parameter>face</parameter>.</simpara></listitem></varlistentry></variablelist><para>Since  1.2</para></refsect2><refsect2><title><anchor id="pango-ot-info-find-script" role="function"/>pango_ot_info_find_script ()</title><indexterm><primary>pango_ot_info_find_script</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    pango_ot_info_find_script       (<link linkend="PangoOTInfo">PangoOTInfo</link> *info,                                             <link linkend="PangoOTTableType">PangoOTTableType</link> table_type,                                             <link linkend="PangoOTTag">PangoOTTag</link> script_tag,                                             <link linkend="guint">guint</link> *script_index);</programlisting><para>Finds the index of a script.</para><para></para><variablelist role="params"><varlistentry><term><parameter>info</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoOTInfo"><type>PangoOTInfo</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>table_type</parameter>&nbsp;:</term><listitem><simpara> the table type to obtain information about.</simpara></listitem></varlistentry><varlistentry><term><parameter>script_tag</parameter>&nbsp;:</term><listitem><simpara> the tag of the script to find.</simpara></listitem></varlistentry><varlistentry><term><parameter>script_index</parameter>&nbsp;:</term><listitem><simpara> location to store the index of the script, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the script was found.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-ot-info-find-language" role="function"/>pango_ot_info_find_language ()</title><indexterm><primary>pango_ot_info_find_language</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    pango_ot_info_find_language     (<link linkend="PangoOTInfo">PangoOTInfo</link> *info,                                             <link linkend="PangoOTTableType">PangoOTTableType</link> table_type,                                             <link linkend="guint">guint</link> script_index,                                             <link linkend="PangoOTTag">PangoOTTag</link> language_tag,                                             <link linkend="guint">guint</link> *language_index,                                             <link linkend="guint">guint</link> *required_feature_index);</programlisting><para>Finds the index of a language and its required feature index.</para><para></para><variablelist role="params"><varlistentry><term><parameter>info</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoOTInfo"><type>PangoOTInfo</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>table_type</parameter>&nbsp;:</term><listitem><simpara> the table type to obtain information about.</simpara></listitem></varlistentry><varlistentry><term><parameter>script_index</parameter>&nbsp;:</term><listitem><simpara> the index of the script whose languages are searched.</simpara></listitem></varlistentry><varlistentry><term><parameter>language_tag</parameter>&nbsp;:</term><listitem><simpara> the tag of the language to find.</simpara></listitem></varlistentry><varlistentry><term><parameter>language_index</parameter>&nbsp;:</term><listitem><simpara> location to store the index of the language, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>required_feature_index</parameter>&nbsp;:</term><listitem><simpara> location to store the required feature index of   the language, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the language was found.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-ot-info-find-feature" role="function"/>pango_ot_info_find_feature ()</title><indexterm><primary>pango_ot_info_find_feature</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    pango_ot_info_find_feature      (<link linkend="PangoOTInfo">PangoOTInfo</link> *info,                                             <link linkend="PangoOTTableType">PangoOTTableType</link> table_type,                                             <link linkend="PangoOTTag">PangoOTTag</link> feature_tag,                                             <link linkend="guint">guint</link> script_index,                                             <link linkend="guint">guint</link> language_index,                                             <link linkend="guint">guint</link> *feature_index);</programlisting><para>Finds the index of a feature.</para><para></para><variablelist role="params"><varlistentry><term><parameter>info</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoOTInfo"><type>PangoOTInfo</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>table_type</parameter>&nbsp;:</term><listitem><simpara> the table type to obtain information about.</simpara></listitem></varlistentry><varlistentry><term><parameter>feature_tag</parameter>&nbsp;:</term><listitem><simpara> the tag of the feature to find.</simpara></listitem></varlistentry><varlistentry><term><parameter>script_index</parameter>&nbsp;:</term><listitem><simpara> the index of the script.</simpara></listitem></varlistentry><varlistentry><term><parameter>language_index</parameter>&nbsp;:</term><listitem><simpara> the index of the language whose features are searched,    or <link linkend="PANGO-OT-DEFAULT-LANGUAGE:CAPS"><literal>PANGO_OT_DEFAULT_LANGUAGE</literal></link> to use the default language of the script.</simpara></listitem></varlistentry><varlistentry><term><parameter>feature_index</parameter>&nbsp;:</term><listitem><simpara> location to store the index of the feature, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the feature was found.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-ot-info-list-scripts" role="function"/>pango_ot_info_list_scripts ()</title><indexterm><primary>pango_ot_info_list_scripts</primary></indexterm><programlisting><link linkend="PangoOTTag">PangoOTTag</link>* pango_ot_info_list_scripts      (<link linkend="PangoOTInfo">PangoOTInfo</link> *info,                                             <link linkend="PangoOTTableType">PangoOTTableType</link> table_type);</programlisting><para>Obtains the list of available scripts.</para><para></para><variablelist role="params"><varlistentry><term><parameter>info</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoOTInfo"><type>PangoOTInfo</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>table_type</parameter>&nbsp;:</term><listitem><simpara> the table type to obtain information about.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly-allocated array containing the tags of the  available scripts.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-ot-info-list-languages" role="function"/>pango_ot_info_list_languages ()</title><indexterm><primary>pango_ot_info_list_languages</primary></indexterm><programlisting><link linkend="PangoOTTag">PangoOTTag</link>* pango_ot_info_list_languages    (<link linkend="PangoOTInfo">PangoOTInfo</link> *info,                                             <link linkend="PangoOTTableType">PangoOTTableType</link> table_type,                                             <link linkend="guint">guint</link> script_index,                                             <link linkend="PangoOTTag">PangoOTTag</link> language_tag);</programlisting><para>Obtains the list of available languages for a given script.</para><para></para><variablelist role="params"><varlistentry><term><parameter>info</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoOTInfo"><type>PangoOTInfo</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>table_type</parameter>&nbsp;:</term><listitem><simpara> the table type to obtain information about.</simpara></listitem></varlistentry><varlistentry><term><parameter>script_index</parameter>&nbsp;:</term><listitem><simpara> the index of the script to list languages for.</simpara></listitem></varlistentry><varlistentry><term><parameter>language_tag</parameter>&nbsp;:</term><listitem><simpara> unused parameter.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly-allocated array containing the tags of the  available languages.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-ot-info-list-features" role="function"/>pango_ot_info_list_features ()</title><indexterm><primary>pango_ot_info_list_features</primary></indexterm><programlisting><link linkend="PangoOTTag">PangoOTTag</link>* pango_ot_info_list_features     (<link linkend="PangoOTInfo">PangoOTInfo</link> *info,                                             <link linkend="PangoOTTableType">PangoOTTableType</link> table_type,                                             <link linkend="PangoOTTag">PangoOTTag</link> tag,                                             <link linkend="guint">guint</link> script_index,                                             <link linkend="guint">guint</link> language_index);</programlisting><para>Obtains the list of features for the given language of the given script.</para><para></para><variablelist role="params"><varlistentry><term><parameter>info</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoOTInfo"><type>PangoOTInfo</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>table_type</parameter>&nbsp;:</term><listitem><simpara> the table type to obtain information about.</simpara></listitem></varlistentry><varlistentry><term><parameter>tag</parameter>&nbsp;:</term><listitem><simpara> unused parameter.</simpara></listitem></varlistentry><varlistentry><term><parameter>script_index</parameter>&nbsp;:</term><listitem><simpara> the index of the script to obtain information about.</simpara></listitem></varlistentry><varlistentry><term><parameter>language_index</parameter>&nbsp;:</term><listitem><simpara> the index of the language to list features for, or    <link linkend="PANGO-OT-DEFAULT-LANGUAGE:CAPS"><literal>PANGO_OT_DEFAULT_LANGUAGE</literal></link>, to list features for the default    language of the script.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly-allocated array containing the tags of theavailable features.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-ot-buffer-new" role="function" condition="since:1.4"/>pango_ot_buffer_new ()</title><indexterm role="1.4"><primary>pango_ot_buffer_new</primary></indexterm><programlisting><link linkend="PangoOTBuffer">PangoOTBuffer</link>* pango_ot_buffer_new          (<link linkend="PangoFcFont">PangoFcFont</link> *font);</programlisting><para>Creates a new <link linkend="PangoOTBuffer"><type>PangoOTBuffer</type></link> for the given OpenType font.</para><para></para><variablelist role="params"><varlistentry><term><parameter>font</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoFcFont"><type>PangoFcFont</type></link></simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the newly allocated <link linkend="PangoOTBuffer"><type>PangoOTBuffer</type></link>, which should              be freed with <link linkend="pango-ot-buffer-destroy"><function>pango_ot_buffer_destroy()</function></link>.</simpara></listitem></varlistentry>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -