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:
parent
bef1c78c5d
commit
df0adc0a15
4 changed files with 130 additions and 22 deletions
|
@ -95,7 +95,7 @@ class @html_dom_node : JsonElement
|
|||
U32 backgroundColor;
|
||||
U32 color;
|
||||
U8* fontFamily;
|
||||
I64 font_size;
|
||||
I64 fontSize;
|
||||
Bool display_block;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue