[ui] Set all glyph views to be free-floating

This gets passage text working mostly nicely in IMUI: just some
ascender/descender issues.
This commit is contained in:
Bill Currie 2024-01-06 00:13:22 +09:00
parent 1ab68ca5fd
commit 0307e9d165

View file

@ -177,6 +177,8 @@ configure_textview (view_t textview, glyphobj_t *glyphs, glyphnode_t *node,
View_SetPos (textview, node->mins[0], -node->mins[1]);
View_SetLen (textview, node->maxs[0] - node->mins[0],
node->maxs[1] - node->mins[1]);
View_Control (textview)->free_x = 1;
View_Control (textview)->free_y = 1;
}
view_t