deserialize
fun deserialize(context: Context, bytes: <Error class: unknown class>): <Error class: unknown class><Font?>
Loads data previously created via method@Pango.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.
Return
a new PangoFont
Since
1.50
Parameters
context
a PangoContext
bytes
the bytes containing the data