rich: [BUG] Misaligned box boundaries in SVG generated from a rich-click help dialogue
I’m using the new save_svg method to write a SVG of a help dialogue generated with @ewels’ rich-click. However, the │ characters of the right side of the box are misaligned.
Apparently these additional whitespaces are being caused my markup. For example, the DESTINATION in the dialogue is [u]DESTINATION[/u]. But this seems to be another issue, since it doesn’t happen when I keep the default Fira Code font.
Python 3.8.12
rich 12.4.1
macOS 12.3.1
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (1 by maintainers)
@ewels Very dirty code: