Simplified text rendering code (since its now much of the heavily lifting is all on VEFontCache)

This commit is contained in:
2025-01-13 01:08:02 -05:00
parent 7680290650
commit 0cd2d84c64
3 changed files with 39 additions and 178 deletions

View File

@ -287,7 +287,7 @@ ui_graph_build_end :: proc( ui : ^UI_State )
{
if len(current.text) > 0 {
profile("text shape")
current.computed.text_shape = shape_text_cached( current.text, current.style.font, current.layout.font_size, 1.0 )
current.computed.text_shape = shape_text_cached( current.text, current.style.font, current.layout.font_size )
}
ui_box_compute_layout( current )
}