TCanvas resolution&quality changes if diving to pads

Thanks for the suggestions, and sorry for the belated reply from my part.

Setting the PaperSize does seem to bring back the quality, however, now I’m facing what’s exactly described here: PDF PaperSize
I don’t seem to be able to increase the pdf size above a limit, and the figure just gets cropped.
ComparisonROCplot_sparse_pt3.5.pdf (20.0 KB)

In the link they say that it seems to work if using .ps, and the size also seem to change correctly with ps for me. But it’s so much easier to work with pdf though especially when I have to send the figures to colleagues. Is there no way to make this work with a pdf?

Thanks