TCanvas::Print PNG outputs fraction of figure when canvas size is declared

I did another test … I swapped the lines which produce GIF and PNG and I got another numbers (note that this time, GIF and PNG sizes are equal in interactive mode, but PDF is still wrong and it’s “rotated”):

[...] $ root -l -q png_double_x_axis_title.cxx
(...)
[...] $ identify test1.gif
test1.gif GIF 998x961 998x961+0+0 8-bit PseudoClass 8c 6.67KB 0.000u 0:00.010
[...] $ identify test1.png
test1.png PNG 998x961 998x961+0+0 8-bit DirectClass 11KB 0.000u 0:00.000
[...] $ identify test1.pdf
test1.pdf PDF 842x595 842x595+0+0 16-bit Bilevel DirectClass 63.1KB 0.000u 0:00.000
[...] $ root -b -l -q png_double_x_axis_title.cxx
(...)
[...] $ identify test1.gif
test1.gif GIF 996x1972 996x1972+0+0 8-bit PseudoClass 8c 10.9KB 0.000u 0:00.000
[...] $ identify test1.png
test1.png PNG 996x1972 996x1972+0+0 8-bit DirectClass 16.8KB 0.000u 0:00.000
[...] $ identify test1.pdf
test1.pdf PDF 595x842 595x842+0+0 16-bit Bilevel DirectClass 63.2KB 0.000u 0:00.000

So I did yet another test … I made the PDF creation the first, then PNG, then GIF (note that PDF is not “rotated” in interactive mode any more):

[...] $ root -l -q png_double_x_axis_title.cxx
(...)
[...] $ identify test1.gif
test1.gif GIF 998x961 998x961+0+0 8-bit PseudoClass 8c 6.67KB 0.000u 0:00.010
[...] $ identify test1.png
test1.png PNG 998x961 998x961+0+0 8-bit DirectClass 11KB 0.000u 0:00.000
[...] $ identify test1.pdf
test1.pdf PDF 595x842 595x842+0+0 16-bit Bilevel DirectClass 63.2KB 0.000u 0:00.000
[...] $ root -b -l -q png_double_x_axis_title.cxx
(...)
[...] $ identify test1.gif
test1.gif GIF 996x1972 996x1972+0+0 8-bit PseudoClass 8c 10.9KB 0.000u 0:00.000
[...] $ identify test1.png
test1.png PNG 996x1972 996x1972+0+0 8-bit DirectClass 16.8KB 0.000u 0:00.000
[...] $ identify test1.pdf
test1.pdf PDF 595x842 595x842+0+0 16-bit Bilevel DirectClass 63.2KB 0.000u 0:00.000

And if, in interactive mode, I first try PDF then GIF and finally PNG, then I again get much “higher” GIF (998x1973) but PDF is not “rotated” (PNG remains as it was).

In all cases, pictures are not truncated.

@ksmith maybe you could do such tests, too (and report the outcome here).