mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 21:28:59 +00:00
parent
f57b3423eb
commit
67fcee6fca
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/MacDue
Commit: 67fcee6fca
Pull-request: https://github.com/SerenityOS/serenity/pull/21897
1 changed files with 0 additions and 2 deletions
|
@ -215,8 +215,6 @@ void SVGFormattingContext::run(Box const& box, LayoutMode layout_mode, Available
|
||||||
} else if (is<SVGTextBox>(descendant)) {
|
} else if (is<SVGTextBox>(descendant)) {
|
||||||
auto& text_element = static_cast<SVG::SVGTextPositioningElement&>(dom_node);
|
auto& text_element = static_cast<SVG::SVGTextPositioningElement&>(dom_node);
|
||||||
|
|
||||||
// FIXME: Support arbitrary path transforms for fonts.
|
|
||||||
// FIMXE: This assumes transform->x_scale() == transform->y_scale().
|
|
||||||
auto& font = graphics_box.font();
|
auto& font = graphics_box.font();
|
||||||
auto text_contents = text_element.text_contents();
|
auto text_contents = text_element.text_contents();
|
||||||
Utf8View text_utf8 { text_contents };
|
Utf8View text_utf8 { text_contents };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue