Top | ![]() |
![]() |
![]() |
![]() |
GQuark | font_manager_freetype_error_quark () |
const gchar * | font_manager_fsType_to_string () |
glong | font_manager_get_face_count () |
JsonObject * | font_manager_get_metadata () |
gchar * | font_manager_get_suggested_filename () |
GFile * | font_manager_get_installation_target () |
#define | FONT_MANAGER_FREETYPE_ERROR |
enum | FontManagerFreetypeError |
#define | FONT_MANAGER_TYPE_FSTYPE |
const gchar *
font_manager_fsType_to_string (FontManagerfsType fstype
);
Returns a description of the fsType field suitable for display.
[skip]
glong
font_manager_get_face_count (const gchar *filepath
);
This function never fails. In case of an error this function returns 1. Any valid font file should contain at least one variation.
JsonObject * font_manager_get_metadata (const gchar *filepath
,gint index
,GError **error
);
See FontManagerFontInfo for a description of the JsonObject returned by this function.
gchar *
font_manager_get_suggested_filename (JsonObject *metadata
);
GFile * font_manager_get_installation_target (GFile *font_file
,GFile *target_dir
,gboolean create_directories
,GError **error
);
The GFile returned by this function is the suggested output file based
on the metadata present in font_file
.
If create_directories
is FALSE
the parent directory for the returned GFile
may not exist and should be created prior to use.