Font.deserialize

Loads data previously created via pango.font.Font.serialize.

For a discussion of the supported format, see that function.

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.

Parameters

context pango.context.Context
bytes glib.bytes.Bytes

the bytes containing the data

Return Value

Type: pango.font.Font