Functions
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 coverage
Returns
the coverage level of coverage
for character index_
.
pango_coverage_max ()
void
pango_coverage_max (PangoCoverage *coverage,
PangoCoverage *other);
pango_coverage_max has been deprecated since version 1.44 and should not be used in newly-written code.
This function does nothing
Set the coverage for each index in coverage
to be the max (better)
value of the current coverage for the index and the coverage for
the corresponding index in other
.
pango_coverage_to_bytes ()
void
pango_coverage_to_bytes (PangoCoverage *coverage,
guchar **bytes,
int *n_bytes);
pango_coverage_to_bytes has been deprecated since version 1.44 and should not be used in newly-written code.
This returns NULL
Convert a PangoCoverage structure into a flat binary format
pango_coverage_from_bytes ()
PangoCoverage *
pango_coverage_from_bytes (guchar *bytes,
int n_bytes);
pango_coverage_from_bytes has been deprecated since version 1.44 and should not be used in newly-written code.
This returns NULL
Convert data generated from pango_coverage_to_bytes() back
to a PangoCoverage
Returns
a newly allocated
PangoCoverage, or NULL if the data was invalid.
[transfer full][nullable]
Types and Values
enum PangoCoverageLevel
Used to indicate how well a font can represent a particular Unicode
character point for a particular script.
Since 1.44, only PANGO_COVERAGE_NONE and PANGO_COVERAGE_EXACT
will be returned.
PANGO_TYPE_COVERAGE_LEVEL
#define PANGO_TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type ())
PangoCoverage
typedef struct _PangoCoverage PangoCoverage;
The PangoCoverage structure represents a map from Unicode characters
to PangoCoverageLevel. It is an opaque structure with no public fields.