Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Text precision must be 2 in PaintText
Browse files Browse the repository at this point in the history
couet committed Dec 20, 2024
1 parent dc4a5f3 commit f5d5fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hist/histpainter/src/THistPainter.cxx
Original file line number Diff line number Diff line change
@@ -10039,7 +10039,7 @@ void THistPainter::PaintText(Option_t *)
{

TLatex text;
text.SetTextFont(gStyle->GetTextFont());
text.SetTextFont(((int)gStyle->GetTextFont()/10)*10+2); // font precision must be 2
text.SetTextColor(fH->GetMarkerColor());
text.SetTextSize(0.02*fH->GetMarkerSize());

0 comments on commit f5d5fd3

Please sign in to comment.