Package: pango

Function pango:font-deserialize

Lambda List

pango:font-deserialize (context bytes)

Arguments

context -- a pango:context object
bytes -- a g:bytes object containing the data

Return Value

The new pango:font object.

Details

Loads data previously created via the pango:font-serialize function. For a discussion of the supported format, see that function.

Since 1.50

Note

To verify that the returned font is identical to the one that was serialized, you can compare bytes to the result of serializing the font again.
 

See also

2024-11-21