From 9379e695b79da5f96b4fb2666b7d9a769eb3a4e2 Mon Sep 17 00:00:00 2001 From: Olivier Couet <Olivier.Couet@cern.ch> Date: Fri, 30 Jun 2006 08:40:14 +0000 Subject: [PATCH] - Complete the previous patch: Between PS and PDF there is a scale factor of 4. So gStyle->GetLineScalePS() must be divided by 4 when passed to SetLineScale(). git-svn-id: http://root.cern.ch/svn/root/trunk@15636 27541ba8-7e3a-0410-8455-c3a389f83636 --- postscript/src/TPDF.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postscript/src/TPDF.cxx b/postscript/src/TPDF.cxx index a6523c644a1..34386be5e4d 100644 --- a/postscript/src/TPDF.cxx +++ b/postscript/src/TPDF.cxx @@ -1102,7 +1102,7 @@ void TPDF::Open(const char *fname, Int_t wtype) fGreen = -1; fBlue = -1; fType = abs(wtype); - SetLineScale(gStyle->GetLineScalePS()); + SetLineScale(gStyle->GetLineScalePS()/4.); gStyle->GetPaperSize(fXsize, fYsize); Float_t xrange, yrange; if (gPad) { -- GitLab