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

📄 pango-text-attributes.html

📁 GTK+-2.0源码之pango-1.15.6.tar.gz
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"><title>Text Attributes</title><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><link rel="start" href="index.html" title="Pango Reference Manual"><link rel="up" href="pango.html" title="Basic Pango Interfaces"><link rel="prev" href="pango-Fonts.html" title="Fonts"><link rel="next" href="pango-Tab-Stops.html" title="Tab Stops"><meta name="generator" content="GTK-Doc V1.6 (XML mode)"><link rel="stylesheet" href="style.css" type="text/css"><link rel="chapter" href="pango.html" title="Basic Pango Interfaces"><link rel="chapter" href="rendering.html" title="Rendering with Pango"><link rel="chapter" href="lowlevel.html" title="Low Level Functionality"><link rel="chapter" href="tools.html" title="Pango Tools"><link rel="index" href="ix01.html" title="Index"><link rel="index" href="ix02.html" title="Index of deprecated symbols"><link rel="index" href="ix03.html" title="Index of new symbols in 1.2"><link rel="index" href="ix04.html" title="Index of new symbols in 1.4"><link rel="index" href="ix05.html" title="Index of new symbols in 1.6"><link rel="index" href="ix06.html" title="Index of new symbols in 1.8"><link rel="index" href="ix07.html" title="Index of new symbols in 1.10"><link rel="index" href="ix08.html" title="Index of new symbols in 1.12"><link rel="index" href="ix09.html" title="Index of new symbols in 1.14"><link rel="index" href="ix10.html" title="Index of new symbols in 1.16"></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="2"><tr valign="middle"><td><a accesskey="p" href="pango-Fonts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="pango.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">Pango Reference Manual</th><td><a accesskey="n" href="pango-Tab-Stops.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr><tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>                  &#160;|&#160;                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr></table><div class="refentry" lang="en"><a name="pango-Text-Attributes"></a><div class="titlepage"></div><div class="refnamediv"><table width="100%"><tr><td valign="top"><h2><span class="refentrytitle"><a name="top_of_page"></a>Text Attributes</span></h2><p>Text Attributes &#8212; Font and other attributes for annotating text</p></td><td valign="top" align="right"></td></tr></table></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><pre class="synopsis">enum        <a href="pango-Text-Attributes.html#PangoAttrType">PangoAttrType</a>;#define     <a href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-TYPE:CAPS">PANGO_TYPE_ATTR_TYPE</a>            <a href="pango-Text-Attributes.html#PangoAttrClass">PangoAttrClass</a>;            <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>;            <a href="pango-Text-Attributes.html#PangoAttrString">PangoAttrString</a>;            <a href="pango-Text-Attributes.html#PangoAttrLanguage">PangoAttrLanguage</a>;            <a href="pango-Text-Attributes.html#PangoAttrColor">PangoAttrColor</a>;            <a href="pango-Text-Attributes.html#PangoAttrInt">PangoAttrInt</a>;            <a href="pango-Text-Attributes.html#PangoAttrFloat">PangoAttrFloat</a>;            <a href="pango-Text-Attributes.html#PangoAttrFontDesc">PangoAttrFontDesc</a>;            <a href="pango-Text-Attributes.html#PangoAttrShape">PangoAttrShape</a>;            <a href="pango-Text-Attributes.html#PangoAttrSize">PangoAttrSize</a>;<ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a>    <a href="pango-Text-Attributes.html#pango-parse-markup">pango_parse_markup</a>              (const char *markup_text,                                             int length,                                             <ahref="../glib/glib-Unicode-Manipulation.html#gunichar">gunichar</a> accel_marker,                                             <a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> **attr_list,                                             char **text,                                             <ahref="../glib/glib-Unicode-Manipulation.html#gunichar">gunichar</a> *accel_char,                                             <ahref="../glib/glib-Error-Reporting.html#GError">GError</a> **error);<a href="pango-Text-Attributes.html#PangoAttrType">PangoAttrType</a> <a href="pango-Text-Attributes.html#pango-attr-type-register">pango_attr_type_register</a>      (const <ahref="../glib/glib-Basic-Types.html#gchar">gchar</a> *name);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attribute-copy">pango_attribute_copy</a>        (const <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);<ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a>    <a href="pango-Text-Attributes.html#pango-attribute-equal">pango_attribute_equal</a>           (const <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr1,                                             const <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr2);void        <a href="pango-Text-Attributes.html#pango-attribute-destroy">pango_attribute_destroy</a>         (<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-language-new">pango_attr_language_new</a>     (<a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a> *language);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-family-new">pango_attr_family_new</a>       (const char *family);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-style-new">pango_attr_style_new</a>        (<a href="pango-Fonts.html#PangoStyle">PangoStyle</a> style);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-variant-new">pango_attr_variant_new</a>      (<a href="pango-Fonts.html#PangoVariant">PangoVariant</a> variant);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-stretch-new">pango_attr_stretch_new</a>      (<a href="pango-Fonts.html#PangoStretch">PangoStretch</a> stretch);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-weight-new">pango_attr_weight_new</a>       (<a href="pango-Fonts.html#PangoWeight">PangoWeight</a> weight);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-size-new">pango_attr_size_new</a>         (int size);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-size-new-absolute">pango_attr_size_new_absolute</a>                                            (int size);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-font-desc-new">pango_attr_font_desc_new</a>    (const <a href="pango-Fonts.html#PangoFontDescription">PangoFontDescription</a> *desc);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-foreground-new">pango_attr_foreground_new</a>   (<ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> red,                                             <ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> green,                                             <ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> blue);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-background-new">pango_attr_background_new</a>   (<ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> red,                                             <ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> green,                                             <ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> blue);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-strikethrough-new">pango_attr_strikethrough_new</a>                                            (<ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a> strikethrough);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-strikethrough-color-new">pango_attr_strikethrough_color_new</a>                                            (<ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> red,                                             <ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> green,                                             <ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> blue);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-underline-new">pango_attr_underline_new</a>    (<a href="pango-Text-Attributes.html#PangoUnderline">PangoUnderline</a> underline);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-underline-color-new">pango_attr_underline_color_new</a>                                            (<ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> red,                                             <ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> green,                                             <ahref="../glib/glib-Basic-Types.html#guint16">guint16</a> blue);enum        <a href="pango-Text-Attributes.html#PangoUnderline">PangoUnderline</a>;#define     <a href="pango-Text-Attributes.html#PANGO-TYPE-UNDERLINE:CAPS">PANGO_TYPE_UNDERLINE</a><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-shape-new">pango_attr_shape_new</a>        (const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *ink_rect,                                             const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *logical_rect);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-shape-new-with-data">pango_attr_shape_new_with_data</a>                                            (const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *ink_rect,                                             const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *logical_rect,                                             <ahref="../glib/glib-Basic-Types.html#gpointer">gpointer</a> data,                                             <a href="pango-Text-Attributes.html#PangoAttrDataCopyFunc">PangoAttrDataCopyFunc</a> copy_func,                                             <ahref="../glib/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a> destroy_func);<ahref="../glib/glib-Basic-Types.html#gpointer">gpointer</a>    (<a href="pango-Text-Attributes.html#PangoAttrDataCopyFunc">*PangoAttrDataCopyFunc</a>)        (<ahref="../glib/glib-Basic-Types.html#gconstpointer">gconstpointer</a> data);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-scale-new">pango_attr_scale_new</a>        (double scale_factor);#define     <a href="pango-Text-Attributes.html#PANGO-SCALE-XX-SMALL:CAPS">PANGO_SCALE_XX_SMALL</a>#define     <a href="pango-Text-Attributes.html#PANGO-SCALE-X-SMALL:CAPS">PANGO_SCALE_X_SMALL</a>#define     <a href="pango-Text-Attributes.html#PANGO-SCALE-SMALL:CAPS">PANGO_SCALE_SMALL</a>#define     <a href="pango-Text-Attributes.html#PANGO-SCALE-MEDIUM:CAPS">PANGO_SCALE_MEDIUM</a>#define     <a href="pango-Text-Attributes.html#PANGO-SCALE-LARGE:CAPS">PANGO_SCALE_LARGE</a>#define     <a href="pango-Text-Attributes.html#PANGO-SCALE-X-LARGE:CAPS">PANGO_SCALE_X_LARGE</a>#define     <a href="pango-Text-Attributes.html#PANGO-SCALE-XX-LARGE:CAPS">PANGO_SCALE_XX_LARGE</a><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-rise-new">pango_attr_rise_new</a>         (int rise);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-letter-spacing-new">pango_attr_letter_spacing_new</a>                                            (int letter_spacing);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-fallback-new">pango_attr_fallback_new</a>     (<ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a> enable_fallback);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-gravity-new">pango_attr_gravity_new</a>      (<a href="pango-Vertical-Text.html#PangoGravity">PangoGravity</a> gravity);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-gravity-hint-new">pango_attr_gravity_hint_new</a> (<a href="pango-Vertical-Text.html#PangoGravityHint">PangoGravityHint</a> hint);            <a href="pango-Text-Attributes.html#PangoColor">PangoColor</a>;#define     <a href="pango-Text-Attributes.html#PANGO-TYPE-COLOR:CAPS">PANGO_TYPE_COLOR</a><ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a>    <a href="pango-Text-Attributes.html#pango-color-parse">pango_color_parse</a>               (<a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *color,                                             const char *spec);<a href="pango-Text-Attributes.html#PangoColor">PangoColor</a>* <a href="pango-Text-Attributes.html#pango-color-copy">pango_color_copy</a>                (const <a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *src);void        <a href="pango-Text-Attributes.html#pango-color-free">pango_color_free</a>                (<a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *color);<ahref="../glib/glib-Basic-Types.html#gchar">gchar</a>*      <a href="pango-Text-Attributes.html#pango-color-to-string">pango_color_to_string</a>           (const <a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *color);            <a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a>;#define     <a href="pango-Text-Attributes.html#PANGO-TYPE-LANGUAGE:CAPS">PANGO_TYPE_LANGUAGE</a><a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a>* <a href="pango-Text-Attributes.html#pango-language-from-string">pango_language_from_string</a>   (const char *language);#define     <a href="pango-Text-Attributes.html#pango-language-to-string">pango_language_to_string</a>        (language)<ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a>    <a href="pango-Text-Attributes.html#pango-language-matches">pango_language_matches</a>          (<a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a> *language,                                             const char *range_list);            <a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>;#define     <a href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-LIST:CAPS">PANGO_TYPE_ATTR_LIST</a><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* <a href="pango-Text-Attributes.html#pango-attr-list-new">pango_attr_list_new</a>          (void);<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* <a href="pango-Text-Attributes.html#pango-attr-list-ref">pango_attr_list_ref</a>          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);void        <a href="pango-Text-Attributes.html#pango-attr-list-unref">pango_attr_list_unref</a>           (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* <a href="pango-Text-Attributes.html#pango-attr-list-copy">pango_attr_list_copy</a>         (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);void        <a href="pango-Text-Attributes.html#pango-attr-list-insert">pango_attr_list_insert</a>          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,                                             <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);void        <a href="pango-Text-Attributes.html#pango-attr-list-insert-before">pango_attr_list_insert_before</a>   (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,                                             <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);void        <a href="pango-Text-Attributes.html#pango-attr-list-change">pango_attr_list_change</a>          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,                                             <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);void        <a href="pango-Text-Attributes.html#pango-attr-list-splice">pango_attr_list_splice</a>          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,                                             <a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *other,                                             <ahref="../glib/glib-Basic-Types.html#gint">gint</a> pos,                                             <ahref="../glib/glib-Basic-Types.html#gint">gint</a> len);<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* <a href="pango-Text-Attributes.html#pango-attr-list-filter">pango_attr_list_filter</a>       (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,                                             <a href="pango-Text-Attributes.html#PangoAttrFilterFunc">PangoAttrFilterFunc</a> func,                                             <ahref="../glib/glib-Basic-Types.html#gpointer">gpointer</a> data);<ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a>    (<a href="pango-Text-Attributes.html#PangoAttrFilterFunc">*PangoAttrFilterFunc</a>)          (<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attribute,                                             <ahref="../glib/glib-Basic-Types.html#gpointer">gpointer</a> data);<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a>* <a href="pango-Text-Attributes.html#pango-attr-list-get-iterator">pango_attr_list_get_iterator</a>                                            (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);            <a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a>;<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a>* <a href="pango-Text-Attributes.html#pango-attr-iterator-copy">pango_attr_iterator_copy</a> (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);<ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a>    <a href="pango-Text-Attributes.html#pango-attr-iterator-next">pango_attr_iterator_next</a>        (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);void        <a href="pango-Text-Attributes.html#pango-attr-iterator-range">pango_attr_iterator_range</a>       (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,                                             <ahref="../glib/glib-Basic-Types.html#gint">gint</a> *start,                                             <ahref="../glib/glib-Basic-Types.html#gint">gint</a> *end);<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* <a href="pango-Text-Attributes.html#pango-attr-iterator-get">pango_attr_iterator_get</a>     (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,                                             <a href="pango-Text-Attributes.html#PangoAttrType">PangoAttrType</a> type);void        <a href="pango-Text-Attributes.html#pango-attr-iterator-get-font">pango_attr_iterator_get_font</a>    (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,                                             <a href="pango-Fonts.html#PangoFontDescription">PangoFontDescription</a> *desc,                                             <a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a> **language,                                             <ahref="../glib/glib-Singly-Linked-Lists.html#GSList">GSList</a> **extra_attrs);<ahref="../glib/glib-Singly-Linked-Lists.html#GSList">GSList</a>*     <a href="pango-Text-Attributes.html#pango-attr-iterator-get-attrs">pango_attr_iterator_get_attrs</a>   (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);void        <a href="pango-Text-Attributes.html#pango-attr-iterator-destroy">pango_attr_iterator_destroy</a>     (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);</pre></div><div class="refsect1" lang="en"><a name="desc"></a><h2>Description</h2><p>Attributed text is used in a number of places in Pango. Itis used as the input to the itemization process and also whencreating a <a href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. The data types and functions inthis section are used to represent and manipulate setsof attributes applied to a portion of text.</p></div><div class="refsect1" lang="en"><a name="details"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2811846"></a><h3><a name="PangoAttrType"></a>enum PangoAttrType</h3><a class="indexterm" name="id2811856"></a><pre class="programlisting">typedef enum{  PANGO_ATTR_INVALID,           /* 0 is an invalid attribute type */  PANGO_ATTR_LANGUAGE,		/* PangoAttrLanguage */  PANGO_ATTR_FAMILY,		/* PangoAttrString */  PANGO_ATTR_STYLE,		/* PangoAttrInt */  PANGO_ATTR_WEIGHT,		/* PangoAttrInt */  PANGO_ATTR_VARIANT,		/* PangoAttrInt */

⌨️ 快捷键说明

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