Open nhjjr opened 3 years ago
Unfortunately, this would require a full re-write of the way PIXI/Foundry draws text.
This module adds easy-to-implement behaviour that is missing from Foundry, because Atropos is busy with other higher-priority things. A complete rewrite of the text drawing mechanism is out-of-scope - I just don't have the time nor patience for it.
You'll have better luck requesting this as a Foundry feature.
I'll leave the issue open in case anyone wants to contribute this feature, but I wouldn't hold my breath.
Thanks for the prompt reply. While it's unfortunate the current drawing framework won't allow it, it's understandable that it's too much work for a relatively small feature.
Is it possible to wrap the text based on the width of the drawing box? Currently it just stretches the box, requiring manual breaks to maintain a specific width, which is quite tricky especially if you later change font size or style.