Rémi Thériault
Rémi Thériault
> Thanks for the message! I think there’s a misunderstanding here—so let me clarify a critical technical point. > > **The “viewBox extraction fix” does *not* solve the centering issue....
@copilot the SVG version looks perfect (i.e,. title perfectly centered, no text overflow). Please also see my last comment from Chat. Also tell me what other tests you need from...
@copilot thanks, but even commenting out add_svg_padding, we still get the same problems with png, jpg, and pdf (but looks good still in svg). What about we try the buildCall...
@copilot Yes I already did all this. This PR is getting pretty long. Do you recommend making a new PR? Although, this one hasn't solved the issue yet.
@copilot still not working, but, > **Important discovery: the remaining differences between SVG and PNG/JPG/PDF are caused by font rendering differences between Graphviz (layout) and librsvg (rasterization).** > > We...
@copilot thanks, see ChatGPT's replies: > **Diagnostic results confirm the root cause: > Graphviz (DOT → SVG) is correct, but librsvg (SVG → PNG/JPG/PDF) > performs font substitution (Helvetica →...
@copilot see comment below and use save_with_webshot2() with `use_webshot = TRUE (default)` instead of `engine` and make sure to update documentation accordingly > Here’s some feedback + a revised helper...
@copilot thanks, but the white contour is too big, see:  > Quick update for you, Copilot — the centering is finally correct, but the new issue (huge white margins)...
@copilot thanks, but still lots of whitespace, consider: save_plot(myplot, "myplot.jpg")  > The latest behaviour (horizontal PDF cropped on the right, vertical graphs with big whitespace) comes from two distinct...
@copilot thanks, looks good for png and jpg!! Just not PDF. Do you think there's anything we can do to have the PDF cropped properly too? `save_plot(myplot, "myplot.jpg")`  `save_plot(myplot,...