ImGui: expose extralineheight parameter

ImGui added an extralineheight and extralineadvance parameter to be able to adjust the lineheight of wrapped text.

Currently it would appear this is not exposed in ImGui in vvvv. I believe it should be an input in the FontConfig.

After the size of the text, the lineheight is the 2nd most important parameter when it comes to making text legible.

Here you can see how hard the text is to read, when it is too close together:

In most cases the line height is set to 100% the text size as a default, which is too low for readability when the text wraps over multiple lines. Text set at just 100% line height does not follow accessibility standards.


(from Readability: The Optimal Line Length – Baymard Institute)

The text you are currently reading has a line height of 140%.

Thanks for considering!

1 Like

Hello seltzdesign,

yes I would also like to have this parameter available, but the Pull Request you’ve mentioned is still not merged, so at the moment the original ImGui library can’t set LineHeight / LineSpacing.

As soon as they have it, we’ll add it too.

Best,
Anton

1 Like