Top | ![]() |
![]() |
![]() |
![]() |
double | coverage | Read / Write |
char * | name | Read / Write |
char * | native | Read / Write |
char * | sample | Read / Write |
JsonObject * | source-object | Read / Write |
A FontManagerOrthography holds information about the extent to which a font supports a particular language.
In addition to the english name, it includes the untranslated name of the orthography along with a pangram or sample string for the language, if available.
1 2 3 4 5 6 7 |
{ "name" : string, "native" : string, "sample" : string, "coverage" : double, "filter" : [ ] } |
filter is a JsonArray of available codepoints
FontManagerOrthography *
font_manager_orthography_new (JsonObject *orthography
);
orthography
should be one of the members of the object returned
by font_manager_get_orthography_results()
A newly created FontManagerOrthography.
Free the returned object using
. g_object_unref()
[transfer full]
GList *
font_manager_orthography_get_filter (FontManagerOrthography *self
);
#define FONT_MANAGER_TYPE_ORTHOGRAPHY (font_manager_orthography_get_type ())
“coverage”
property “coverage” double
Coverage as a percentage.
Owner: FontManagerOrthography
Flags: Read / Write
Default value: 0
“name”
property “name” char *
English name for orthography.
Owner: FontManagerOrthography
Flags: Read / Write
Default value: NULL
“native”
property “native” char *
Native name for orthography.
Owner: FontManagerOrthography
Flags: Read / Write
Default value: NULL
“sample”
property “sample” char *
Pangram or sample string.
Owner: FontManagerOrthography
Flags: Read / Write
Default value: NULL