Synopsisenum PangoCoverageLevel; #define PANGO_TYPE_COVERAGE_LEVEL PangoCoverage; PangoCoverage* pango_coverage_new (void); PangoCoverage* pango_coverage_ref (PangoCoverage *coverage); void pango_coverage_unref (PangoCoverage *coverage); PangoCoverage* pango_coverage_copy (PangoCoverage *coverage); PangoCoverageLevel pango_coverage_get (PangoCoverage *coverage, int index_); void pango_coverage_max (PangoCoverage *coverage, PangoCoverage *other); void pango_coverage_set (PangoCoverage *coverage, int index_, PangoCoverageLevel level); void pango_coverage_to_bytes (PangoCoverage *coverage, guchar **bytes, int *n_bytes); PangoCoverage* pango_coverage_from_bytes (guchar *bytes, int n_bytes); DescriptionIt is often necessary in Pango to determine if a particular font can represent a particular character, and also how well it can represent that character. The PangoCoverage is a data structure that is used to represent that information. Detailsenum PangoCoverageLeveltypedef enum { PANGO_COVERAGE_NONE, PANGO_COVERAGE_FALLBACK, PANGO_COVERAGE_APPROXIMATE, PANGO_COVERAGE_EXACT } PangoCoverageLevel; Used to indicate how well a font can represent a particular Unicode character point for a particular script.
PANGO_TYPE_COVERAGE_LEVEL#define PANGO_TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type()) The GObject type for PangoCoverageLevel. PangoCoveragetypedef struct _PangoCoverage PangoCoverage; The PangoCoverage structure represents a map from Unicode characters to PangoCoverageLevel. It is an opaque structure with no public fields. pango_coverage_new ()PangoCoverage* pango_coverage_new (void); Create a new PangoCoverage
pango_coverage_ref ()PangoCoverage* pango_coverage_ref (PangoCoverage *coverage); Increase the reference count on the PangoCoverage by one
pango_coverage_unref ()void pango_coverage_unref (PangoCoverage *coverage); Decrease the reference count on the PangoCoverage by one. If the result is zero, free the coverage and all associated memory.
pango_coverage_copy ()PangoCoverage* pango_coverage_copy (PangoCoverage *coverage); Copy an existing PangoCoverage. (This function may now be unnecessary since we refcount the structure. File a bug if you use it.)
pango_coverage_get ()PangoCoverageLevel pango_coverage_get (PangoCoverage *coverage, int index_);
Determine whether a particular index is covered by
pango_coverage_max ()void pango_coverage_max (PangoCoverage *coverage, PangoCoverage *other);
Set the coverage for each index in
pango_coverage_set ()void pango_coverage_set (PangoCoverage *coverage, int index_, PangoCoverageLevel level);
Modify a particular index within
pango_coverage_to_bytes ()void pango_coverage_to_bytes (PangoCoverage *coverage, guchar **bytes, int *n_bytes); Convert a PangoCoverage structure into a flat binary format
pango_coverage_from_bytes ()PangoCoverage* pango_coverage_from_bytes (guchar *bytes, int n_bytes);
Convert data generated from
|