This will let us store complete test fonts inside node files,
as data: urls. You can also use a file: url to refer to a local
file.
The syntax is as follows:
text {
font: "FONT DESCRIPTION" url("data:font/ttf;base64,FONT DATA");
}
with the url being optional.
9 lines
302 B
C
9 lines
302 B
C
|
|
#pragma once
|
|
|
|
#include "gskrendernode.h"
|
|
|
|
GskRenderNode * gsk_render_node_deserialize_from_bytes (GBytes *bytes,
|
|
GskParseErrorFunc error_func,
|
|
gpointer user_data);
|