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.
a pango.context.Context
the bytes containing the data
a new pango.font.Font
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.