mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
Everywhere: Changes to @html_dom_node and TrueType API
CSS properties fontFamily and fontSize are part of @html_dom_node now, and the TrueType API only accepts I32 code point streams, so we have to preprocess UTF-8 streams before rendering text.
This commit is contained in:
@@ -212,8 +212,11 @@ U0 @cyberia_navigate()
|
||||
// background1->ctx->fill(Color(255, 255, 255));
|
||||
|
||||
status1->SetText("Rendering page...");
|
||||
Sleep(100);
|
||||
node_list->backgroundColor = Color(255, 255, 255);
|
||||
node_list->color = Color(0, 0, 0);
|
||||
node_list->fontFamily = "Free Serif";
|
||||
node_list->fontSize = 16;
|
||||
@render_node_list(node_list, renderer);
|
||||
|
||||
@window_widgets_list* append = renderer->widgets_base;
|
||||
|
||||
Reference in New Issue
Block a user