mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-12 05:59:53 +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:
@@ -95,7 +95,7 @@ class @html_dom_node : JsonElement
|
||||
U32 backgroundColor;
|
||||
U32 color;
|
||||
U8* fontFamily;
|
||||
I64 font_size;
|
||||
I64 fontSize;
|
||||
Bool display_block;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user