Closed ChSotiriou closed 1 year ago
Thanks for the PR. At this time I'm not sure I want to add proper multiline support, since it will open a pretty big can of worms around line spacing and alignment of each line within labels.
I think for now it's best to keep KiBuzzard for small single line text labels. and if you need more fancy rendering make use of a tool like inkscape, affinity designer, or illustrator.
Very simple patch to add support for centred labels with multiple lines. Works by padding the input with spaces. Works properly with monospace fonts.
Addresses issue #45
Edit: Tested on Linux w/KiCad 6.0.8 release build