deserialize
Description:
[ Version ( since = "1.50" ) ]
public static Font? deserialize (Context context, Bytes bytes) throws Error
public static Font? deserialize (Context context, Bytes bytes) throws Error
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.
Parameters:
| context |
a `PangoContext` |
| bytes |
the bytes containing the data |
Returns:
|
a new `PangoFont` |