From d634d30cafc1081c7e4cc68e6112a3b3afc7eefa Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Tue, 8 Oct 2024 16:20:36 +0200 Subject: [PATCH] [doxygen] use TWebCanvas to create JSON Such JSON supports much more features like custom fonts or proper handling of THStack --- documentation/doxygen/MakeTCanvasJS.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/doxygen/MakeTCanvasJS.C b/documentation/doxygen/MakeTCanvasJS.C index 4cd3476565f4c..a8b40bf1996f1 100644 --- a/documentation/doxygen/MakeTCanvasJS.C +++ b/documentation/doxygen/MakeTCanvasJS.C @@ -36,7 +36,7 @@ void MakeTCanvasJS(const char *MacroName, const char *IN, const char *OutDir, bo fprintf(fh,"
\n"); while ((canvas = (TCanvas*) next()) != nullptr) { ImageNum++; - json_codes.push_back(TBufferJSON::ToJSON(canvas, TBufferJSON::kNoSpaces + TBufferJSON::kSameSuppression)); + json_codes.push_back(TWebCanvas::CreateCanvasJSON(canvas, TBufferJSON::kNoSpaces + TBufferJSON::kSameSuppression)); fprintf(fh,"
\n", ImageNum,IN,canvas->GetWindowWidth(),canvas->GetWindowHeight()); }