PDF PaperSize

Hello ROOTers,

I’m facing an issue when trying to set a large PaperSize and TCanvas::Print to PDF.
If the size I set is large enough, the PDF gets cropped to what appears to be an A4/US Letter shape.
This doesn’t happen saving into other formats. I’ve attached a simple example to demonstrate what happens.

Do you have any suggestion on how to get around this problem?
Thanks

Alessandro

[code]{
h = new TH1D(“h1”,“h1”,10,0,10);
h.Fill(5);
c1 = new TCanvas();
h.Draw();

gStyle->SetPaperSize(100,100);
c1.Print("testpdf.pdf");
c1.Print("testpdf.svg");
c1.Print("testpdf.png");
c1.Print("testpdf.eps");

}[/code]

I would suggest to use PS instead.