go-text / typesetting

High quality text shaping in pure Go.
Other
88 stars 11 forks source link

shaping: provide size in output #31

Closed whereswaldon closed 1 year ago

whereswaldon commented 1 year ago

This commit copies the shaping.Input's size to the corresponding shaping.Output. This makes shaping text with variable-sized runs much easier, as you don't need to do manual tracking of the run sizes.

Signed-off-by: Chris Waldon christopher.waldon.dev@gmail.com