the one that was serialized, you can compare bytes to the result of serializing the font again.
Parameters
context | a [pango.context.Context] |
bytes | the bytes containing the data |
Returns
a new [pango.font.Font]
Throws
[ErrorWrap]
pango.font.Font deserialize(pango.context.Context context, glib.bytes.Bytes bytes)Loads data previously created via [pango.font.Font.serialize].
For a discussion of the supported format, see that function.
the one that was serialized, you can compare bytes to the result of serializing the font again.
context | a [pango.context.Context] |
bytes | the bytes containing the data |