From cc0670570c23fe3d459777d05f4b6fc2da38c161 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 18 May 2026 10:13:22 +0200 Subject: [PATCH 1/8] [svg] fix missing math symbols from latex5 tutorial --- graf2d/postscript/src/TSVG.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graf2d/postscript/src/TSVG.cxx b/graf2d/postscript/src/TSVG.cxx index 99438f1589ae5..95a5e4e8db9ab 100644 --- a/graf2d/postscript/src/TSVG.cxx +++ b/graf2d/postscript/src/TSVG.cxx @@ -1488,6 +1488,11 @@ void TSVG::Text(Double_t xx, Double_t yy, const char *chars) if (ic == 786) ichar = 8476; if (ic == 785) ichar = 8465; if (ic == 787) ichar = 8472; + if (ic == 882) ichar = 8704; // FOR ALL + if (ic == 884) ichar = 8707; // THERE EXISTS + if (ic == 815) ichar = 8659; // DOWNWARDS DOUBLE ARROW + if (ic == 811) ichar = 8660; // LEFT RIGHT DOUBLE ARROW + if (ic == 826) ichar = 124; // Vertical bar // Greek characters if (ic == 918) ichar = 934; From 5006394838f45fb1906fa833098aec79cffeca6e Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 18 May 2026 10:34:49 +0200 Subject: [PATCH 2/8] [svg] add two more missing symbols --- graf2d/postscript/src/TSVG.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graf2d/postscript/src/TSVG.cxx b/graf2d/postscript/src/TSVG.cxx index 95a5e4e8db9ab..2b49d44af9f19 100644 --- a/graf2d/postscript/src/TSVG.cxx +++ b/graf2d/postscript/src/TSVG.cxx @@ -1492,7 +1492,10 @@ void TSVG::Text(Double_t xx, Double_t yy, const char *chars) if (ic == 884) ichar = 8707; // THERE EXISTS if (ic == 815) ichar = 8659; // DOWNWARDS DOUBLE ARROW if (ic == 811) ichar = 8660; // LEFT RIGHT DOUBLE ARROW - if (ic == 826) ichar = 124; // Vertical bar + if (ic == 826) ichar = 124; // VERTICAL LINE + if (ic == 818) ichar = 9145; // CIRCLED LATIN CAPITAL LETTER R + if (ic == 820) ichar = 8482; // TRADEMARK SIGN + // Greek characters if (ic == 918) ichar = 934; From a11c3957614b203c6a65d9d36ca12411d63538c3 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 18 May 2026 10:41:54 +0200 Subject: [PATCH 3/8] [svg] fix mismatch epsilon vs varepsilon --- graf2d/postscript/src/TSVG.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/graf2d/postscript/src/TSVG.cxx b/graf2d/postscript/src/TSVG.cxx index 2b49d44af9f19..09461560f6aca 100644 --- a/graf2d/postscript/src/TSVG.cxx +++ b/graf2d/postscript/src/TSVG.cxx @@ -1495,7 +1495,6 @@ void TSVG::Text(Double_t xx, Double_t yy, const char *chars) if (ic == 826) ichar = 124; // VERTICAL LINE if (ic == 818) ichar = 9145; // CIRCLED LATIN CAPITAL LETTER R if (ic == 820) ichar = 8482; // TRADEMARK SIGN - // Greek characters if (ic == 918) ichar = 934; @@ -1513,7 +1512,7 @@ void TSVG::Text(Double_t xx, Double_t yy, const char *chars) if (ic == 935) ichar = 937; if (ic == 938) ichar = 918; if (ic == 951) ichar = 947; - if (ic == 798) ichar = 949; + if (ic == 798) ichar = 8712; // ELEMENT OF, TeX traditionally assigns \epsilon to GREEK LUNATE EPSILON SYMBOL (ϵ), compared to the curly \varepsilon to the GREEK SMALL LETTER EPSILON (Ɛ) if (ic == 970) ichar = 950; if (ic == 952) ichar = 951; if (ic == 961) ichar = 952; From 2e3981e96b34373f7c034af85f215a846ca7a210 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 18 May 2026 11:33:25 +0200 Subject: [PATCH 4/8] Update tlatex2.svg --- test/svg_ref/tlatex2.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/svg_ref/tlatex2.svg b/test/svg_ref/tlatex2.svg index 75c1550a45873..ef827d7070bfa 100644 --- a/test/svg_ref/tlatex2.svg +++ b/test/svg_ref/tlatex2.svg @@ -76,7 +76,7 @@ tlatex2.svg ( -̫ + )=0 From 9c1e4ca1e70e1e71612e0dc84f24c5f36522865f Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 18 May 2026 11:34:24 +0200 Subject: [PATCH 5/8] Update tlatex4.svg --- test/svg_ref/tlatex4.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/svg_ref/tlatex4.svg b/test/svg_ref/tlatex4.svg index b1b481181bb37..092b814a4d168 100644 --- a/test/svg_ref/tlatex4.svg +++ b/test/svg_ref/tlatex4.svg @@ -30,7 +30,7 @@ tlatex4.svg epsilon : -ε + zeta : From ec58afaf8248143607e42cd692d49e59fa73d211 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 18 May 2026 11:43:05 +0200 Subject: [PATCH 6/8] Update tlatex5.svg --- test/svg_ref/tlatex5.svg | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/svg_ref/tlatex5.svg b/test/svg_ref/tlatex5.svg index 259c7382955c8..b908c52988d72 100644 --- a/test/svg_ref/tlatex5.svg +++ b/test/svg_ref/tlatex5.svg @@ -22,7 +22,7 @@ tlatex5.svg #approx -ε + #in @@ -74,15 +74,15 @@ tlatex5.svg #leftrightarrow -̯ + #Downarrow -̫ + #Leftrightarrow -̺ +| #void8 @@ -91,7 +91,7 @@ tlatex5.svg #hbar -Ͳ + #forall @@ -127,7 +127,7 @@ tlatex5.svg #copyright -̴ + #void3 @@ -181,7 +181,7 @@ tlatex5.svg #parallel -ʹ + #exists @@ -297,7 +297,7 @@ tlatex5.svg #vee -̲ + #void1 From 450855116a0737eecb29f87f69ff357bf9049f85 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 18 May 2026 11:43:50 +0200 Subject: [PATCH 7/8] [svg] fix typo --- graf2d/postscript/src/TSVG.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graf2d/postscript/src/TSVG.cxx b/graf2d/postscript/src/TSVG.cxx index 09461560f6aca..0d870cd332000 100644 --- a/graf2d/postscript/src/TSVG.cxx +++ b/graf2d/postscript/src/TSVG.cxx @@ -1493,7 +1493,7 @@ void TSVG::Text(Double_t xx, Double_t yy, const char *chars) if (ic == 815) ichar = 8659; // DOWNWARDS DOUBLE ARROW if (ic == 811) ichar = 8660; // LEFT RIGHT DOUBLE ARROW if (ic == 826) ichar = 124; // VERTICAL LINE - if (ic == 818) ichar = 9145; // CIRCLED LATIN CAPITAL LETTER R + if (ic == 818) ichar = 9415; // CIRCLED LATIN CAPITAL LETTER R if (ic == 820) ichar = 8482; // TRADEMARK SIGN // Greek characters From 82400c7f34a657e449163f05e8dea78d0ffc6429 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Mon, 18 May 2026 12:18:50 +0200 Subject: [PATCH 8/8] Update tefficiency.svg --- test/svg_ref/tefficiency.svg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/svg_ref/tefficiency.svg b/test/svg_ref/tefficiency.svg index a758144fd63db..1517e816d34ec 100644 --- a/test/svg_ref/tefficiency.svg +++ b/test/svg_ref/tefficiency.svg @@ -51,7 +51,7 @@ tefficiency.svg 1 -ε + @@ -192,7 +192,7 @@ tefficiency.svg 1 -ε +