I would like to support setting the width of tabs in a run, following the CSS 'tab-size' property.
That could be exposed with the method
// SetTabsWidth alters the run, replacing the width of every tab character (U+0009).
//
// [text] is the input slice used to create the run.
func (*Output) SetTabsWidth(text []rune, spacing fixed.Int26_6)
(At a first glance, the implementation would be somewhat similar to Output.AddWordSpacing)
What do you think ?
I would like to support setting the width of tabs in a run, following the CSS 'tab-size' property.
That could be exposed with the method
(At a first glance, the implementation would be somewhat similar to
Output.AddWordSpacing)What do you think ?