Top | ![]() |
![]() |
![]() |
![]() |
FontManagerStringSet * | accept | Read / Write |
FontManagerStringSet * | default | Read / Write |
gchar * | family | Read / Write |
FontManagerStringSet * | prefer | Read / Write |
FontManagerAliasElement represents an <alias> element in a fontconfig configuration file.
Alias elements provide a shorthand notation for the set of common match operations needed to substitute one font family for another.
Fonts matching family
are edited to prepend the list of <prefer
>ed
families before the matching family
, append the <accept
>able
families after the matching family
and append the <default
>
families to the end of the family list.
FontManagerAliasElement *
font_manager_alias_element_new (const gchar *family
);
A newly created FontManagerAliasElement.
Free the returned object using
. g_object_unref()
[transfer full]
FontManagerStringSet * font_manager_alias_element_get (FontManagerAliasElement *self
,const gchar *priority
);
[skip]
#define FONT_MANAGER_TYPE_ALIAS_ELEMENT (font_manager_alias_element_get_type())
“accept”
property“accept” FontManagerStringSet *
Set of font families which are acceptable substitutes for family
.
Owner: FontManagerAliasElement
Flags: Read / Write
“default”
property“default” FontManagerStringSet *
Set of font families to be used as a fallback.
Owner: FontManagerAliasElement
Flags: Read / Write
“family”
property “family” gchar *
Family targeted for substitution.
Owner: FontManagerAliasElement
Flags: Read / Write
Default value: NULL
“prefer”
property“prefer” FontManagerStringSet *
Set of font families which should be preferred over family
.
Owner: FontManagerAliasElement
Flags: Read / Write