You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround upstream rich library issue 3576:
Underscores on the last captured line are clipped
when exporting to SVG.
The main <clipPath> height computed
by the rich library in Console.export_svg() is a bit too small,
and the bottom of the last captured output line may be truncated,
depending on the font and the printed characters (e.g. underscores,
but also the bottom of the letter 'y').
This workaround adds the bottom padding to the height computed
by the rich library.
Ref:
- #8
- Textualize/rich#3576
The bottom of the last line of a captured command output is truncated when redirected to SVG files.
This is barely visible, but:
_
characters, which will look like white spaces (i.e.SOC_FULL_DIR
will appear asSOC FULL DIR
)y
letterThis is possibly an issue with the clipped area computed by the rich library in
Console.export_svg()
: we reported our concern upstream [1].References:
The text was updated successfully, but these errors were encountered: