feat(render): implement text rendering using ab_glyph
This commit is contained in:
1 parent
48e3fac55a
commit
dec56fa42f
2 files changed
+119
No files matched your search
@@ -72,6 +72,7 @@ fn apply_value(style: &mut LayoutStyle, name: &str, value: &str) {
|
||||
"border-bottom-width" | "border-bottom" => set_edge(&mut style.border, Side::Bottom, px(value)),
|
||||
"border-left-width" | "border-left" => set_edge(&mut style.border, Side::Left, px(value)),
|
||||
"background-color" | "background" => style.background_color = parse_color(value),
|
||||
"color" => style.color = parse_color(value),
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user