Top | ![]() |
![]() |
![]() |
![]() |
FontManagerFamily * | font_manager_family_new () |
JsonObject * | font_manager_family_get_default_variant () |
gchar * | description | Read / Write |
gchar * | family | Read / Write |
gint | n-variations | Read / Write |
JsonObject * | source-object | Read / Write |
JsonArray * | variations | Read / Write |
FontManagerFamily holds information about a font family along with an array of JsonObject representing the fonts belonging to this font family.
The JsonObject backing this class should have the following structure:
1 2 3 4 5 6 |
{ "family" : string, "description" : string, "n-variations" : int, "variations" : [ ] } |
variations is a JsonArray of JsonObjects representing individual fonts. See FontManagerFont for object description.
FontManagerFamily *
font_manager_family_new (void
);
A newly created FontManagerFamily.
Free the returned object using
. g_object_unref()
[transfer full]
JsonObject *
font_manager_family_get_default_variant
(FontManagerFamily *self
);
“description”
property “description” gchar *
Pango font description.
Owner: FontManagerFamily
Flags: Read / Write
Default value: NULL
“family”
property “family” gchar *
Family name.
Owner: FontManagerFamily
Flags: Read / Write
Default value: NULL
“n-variations”
property “n-variations” gint
Number of font variations.
Owner: FontManagerFamily
Flags: Read / Write
Default value: 0
“source-object”
property “source-object” JsonObject *
JsonObject source for this class.
Owner: FontManagerFamily
Flags: Read / Write