Package: pango

Function pango:layout-unknown-glyphs-count

Lambda List

pango:layout-unknown-glyphs-count (layout)

Arguments

layout -- a pango:layout object

Return Value

The integer with the number of unknown glyphs in layout.

Details

Counts the number of unknown glyphs in the Pango layout. That is, zero if glyphs for all characters in the Pango layout text were found, or more than zero otherwise.

This function can be used to determine if there are any fonts available to render all characters in a certain string, or when used in combination with the :fallback value of the pango:attr-type enumeration, to check if a certain font supports all the characters in the string.
 

See also

#2025-2-15