TCanvas.Print() in pdf produces rotated graphics


While printing TCanvas into a .pdf file, the output I get is always rotated clockwise 90 degrees, while all other formats come out without rotation. I couldn’t find an option that produces rotated outputs. Any help?


As said here … pdf+rotate
the aspect ratio of the canvas defines that automatically.