gregdavill / KiBuzzard

MIT License
425 stars 33 forks source link

Support for centred multi line label #92

Closed ChSotiriou closed 1 year ago

ChSotiriou commented 2 years ago

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

Screenshot of Centred Multiline Label

Edit: Tested on Linux w/KiCad 6.0.8 release build

gregdavill commented 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.