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

📄 fonts.sgml

📁 Pango is a library for layout and rendering of text, with an emphasis on internationalization. Pang
💻 SGML
📖 第 1 页 / 共 2 页
字号:
<!-- ##### SECTION Title ##### -->Fonts<!-- ##### SECTION Short_Description ##### -->Structures representing abstract fonts<!-- ##### SECTION Long_Description ##### --><para>Pango supports a flexible architecture where aparticular rendering architecture can supply animplementation of fonts. The #PangoFont structurerepresents an abstract rendering-system-independent font.Pango provides routines to list available fonts, andto load a font of a given description.</para><!-- ##### SECTION See_Also ##### --><para></para><!-- ##### SECTION Stability_Level ##### --><!-- ##### STRUCT PangoFontDescription ##### --><para>The #PangoFontDescription structure represents the descriptionof an ideal font. These structures are used both to listwhat fonts are available on the system and also for specifyingthe characteristics of a font to load.</para><!-- ##### MACRO PANGO_TYPE_FONT_DESCRIPTION ##### --><para>The #GObject type for #PangoFontDescription.</para><!-- ##### ENUM PangoStyle ##### --><para></para>@PANGO_STYLE_NORMAL: @PANGO_STYLE_OBLIQUE: @PANGO_STYLE_ITALIC: <!-- ##### MACRO PANGO_TYPE_STYLE ##### --><para>The #GObject type for #PangoStyle.</para><!-- ##### ENUM PangoWeight ##### --><para>An enumeration specifying the weight (boldness) of a font. This is a numericalvalue ranging from 100 to 900, but there are some predefined values:</para>@PANGO_WEIGHT_ULTRALIGHT: the ultralight weight (= 200)@PANGO_WEIGHT_LIGHT:  the light weight (=300)@PANGO_WEIGHT_NORMAL: the default weight (= 400)@PANGO_WEIGHT_SEMIBOLD: a weight intermediate between normal and bold (=600)@PANGO_WEIGHT_BOLD: the bold weight (= 700)@PANGO_WEIGHT_ULTRABOLD: the ultrabold weight (= 800)@PANGO_WEIGHT_HEAVY: the heavy weight (= 900)<!-- ##### MACRO PANGO_TYPE_WEIGHT ##### --><para>The #GObject type for #PangoWeight.</para><!-- ##### ENUM PangoVariant ##### --><para>An enumeration specifying capitalization variant of the font.</para>@PANGO_VARIANT_NORMAL: A normal font.@PANGO_VARIANT_SMALL_CAPS: A font with the lower case characters  replaced by smaller variants of the capital characters.<!-- ##### MACRO PANGO_TYPE_VARIANT ##### --><para>The #GObject type for #PangoVariant.</para><!-- ##### ENUM PangoStretch ##### --><para>An enumeration specifying the width of the font relative to other designswithin a family.</para>@PANGO_STRETCH_ULTRA_CONDENSED: ultra condensed width@PANGO_STRETCH_EXTRA_CONDENSED: extra condensed width@PANGO_STRETCH_CONDENSED: condensed width@PANGO_STRETCH_SEMI_CONDENSED: semi condensed width@PANGO_STRETCH_NORMAL: the normal width@PANGO_STRETCH_SEMI_EXPANDED: semi expanded width@PANGO_STRETCH_EXPANDED: expanded width@PANGO_STRETCH_EXTRA_EXPANDED: extra expanded width@PANGO_STRETCH_ULTRA_EXPANDED: ultra expanded width<!-- ##### MACRO PANGO_TYPE_STRETCH ##### --><para>The #GObject type for #PangoStretch.</para><!-- ##### ENUM PangoFontMask ##### --><para>The bits in a #PangoFontMask correspond to fields in a  #PangoFontDescription that have been set.</para>@PANGO_FONT_MASK_FAMILY: the font family is specified.@PANGO_FONT_MASK_STYLE: the font style is specified.@PANGO_FONT_MASK_VARIANT: the font variant is specified.@PANGO_FONT_MASK_WEIGHT: the font weight is specified.@PANGO_FONT_MASK_STRETCH: the font stretch is specified.@PANGO_FONT_MASK_SIZE: the font size is specified.@PANGO_FONT_MASK_GRAVITY: the font gravity is specified (Since: 1.16.)<!-- ##### MACRO PANGO_TYPE_FONT_MASK ##### --><para>The #GObject type for #PangoFontMask.</para><!-- ##### FUNCTION pango_font_description_new ##### --><para></para>@Returns: <!-- ##### FUNCTION pango_font_description_copy ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_copy_static ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_hash ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_equal ##### --><para></para>@desc1: @desc2: @Returns: <!-- ##### FUNCTION pango_font_description_free ##### --><para></para>@desc: <!-- ##### FUNCTION pango_font_descriptions_free ##### --><para></para>@descs: @n_descs: <!-- ##### FUNCTION pango_font_description_set_family ##### --><para></para>@desc: @family: <!-- ##### FUNCTION pango_font_description_set_family_static ##### --><para></para>@desc: @family: <!-- ##### FUNCTION pango_font_description_get_family ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_set_style ##### --><para></para>@desc: @style: <!-- ##### FUNCTION pango_font_description_get_style ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_set_variant ##### --><para></para>@desc: @variant: <!-- ##### FUNCTION pango_font_description_get_variant ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_set_weight ##### --><para></para>@desc: @weight: <!-- ##### FUNCTION pango_font_description_get_weight ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_set_stretch ##### --><para></para>@desc: @stretch: <!-- ##### FUNCTION pango_font_description_get_stretch ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_set_size ##### --><para></para>@desc: @size: <!-- ##### FUNCTION pango_font_description_get_size ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_set_absolute_size ##### --><para></para>@desc: @size: <!-- ##### FUNCTION pango_font_description_get_size_is_absolute ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_set_gravity ##### --><para></para>@desc: @gravity: <!-- ##### FUNCTION pango_font_description_get_gravity ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_get_set_fields ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_unset_fields ##### --><para></para>@desc: @to_unset: <!-- ##### FUNCTION pango_font_description_merge ##### --><para></para>@desc: @desc_to_merge: @replace_existing: <!-- ##### FUNCTION pango_font_description_merge_static ##### --><para></para>@desc: @desc_to_merge: @replace_existing: <!-- ##### FUNCTION pango_font_description_better_match ##### --><para></para>@desc: @old_match: @new_match: @Returns: <!-- ##### FUNCTION pango_font_description_from_string ##### --><para></para>@str: @Returns: <!-- ##### FUNCTION pango_font_description_to_string ##### --><para></para>@desc: @Returns: <!-- ##### FUNCTION pango_font_description_to_filename ##### --><para></para>@desc: @Returns: <!-- ##### STRUCT PangoFontMetrics ##### --><para>A #PangoFontMetrics structure holds the overall metric informationfor a font (possibly restricted to a script). The fields of thisstructure are private to implementations of a font backend. Seethe documentation of the corresponding getters for documentationof their meaning.</para>@ref_count: reference count.  Used internally.  See pango_font_metrics_ref()            and pango_font_metrics_unref().@ascent: the distance from the baseline to the highest point of the glyphs of	 the font. This is positive in practically all fonts.@descent: the distance from the baseline to the lowest point of the glyphs of	 the font. This is positive in practically all fonts.@approximate_char_width: approximate average width of the regular glyphs of         the font.@approximate_digit_width: approximate average width of the glyphs for digits         of the font.@underline_position: position of the underline. This is normally negative.@underline_thickness: thickness of the underline.@strikethrough_position: position of the strikethrough line. This is	 normally positive.@strikethrough_thickness: thickness of the strikethrough line.<!-- ##### MACRO PANGO_TYPE_FONT_METRICS ##### --><para>The #GObject type for #PangoFontMetrics.</para><!-- ##### FUNCTION pango_font_metrics_ref ##### --><para></para>@metrics: @Returns: <!-- ##### FUNCTION pango_font_metrics_unref ##### --><para></para>@metrics: <!-- ##### FUNCTION pango_font_metrics_get_ascent ##### --><para></para>@metrics: @Returns: <!-- ##### FUNCTION pango_font_metrics_get_descent ##### --><para></para>@metrics: @Returns: <!-- ##### FUNCTION pango_font_metrics_get_approximate_char_width ##### --><para></para>@metrics: @Returns: <!-- ##### FUNCTION pango_font_metrics_get_approximate_digit_width ##### --><para></para>@metrics: @Returns: 

⌨️ 快捷键说明

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