Skip to content
Snippets Groups Projects
Commit 4bef86f9 authored by Olivier Couet's avatar Olivier Couet
Browse files

The text generated by TSVG has now the xml:space="preserve" as suggested here:...

The text generated by TSVG has now the xml:space="preserve" as suggested here: https://sft.its.cern.ch/jira/browse/ROOT-8161.
parent b7a18548
Branches
Tags
No related merge requests found
......@@ -199,6 +199,9 @@ We added a cache specifically for the fast option of the TTreeCloner to signific
* In TASImage: implement transparent text for png files created in batch mode.
* TCanvas title was not set correctly when a TCanvas was read from a TFile.
(reported [here](https://root.cern.ch/phpBB3/viewtopic.php?f=3&t=21540&p=94053#p93981)).
* The text generated by `TSVG` has now the `xml:space="preserve"` attribute in order
to be editable later on using external softwares like "inkscape". This improvement
was suggested [here](https://sft.its.cern.ch/jira/browse/ROOT-8161).
## 3D Graphics Libraries
......
......@@ -1432,7 +1432,7 @@ void TSVG::Text(Double_t xx, Double_t yy, const char *chars)
}
PrintStr("@");
PrintFast(9,"<text x=\"");
PrintFast(30,"<text xml:space=\"preserve\" x=\"");
WriteReal(ix, kFALSE);
PrintFast(5,"\" y=\"");
WriteReal(iy, kFALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment