B2020-041: exponent prints with character codes in psi (and any pagelist item)
This commit is contained in:
parent
124940dc4f
commit
59e3f077e2
@ -703,8 +703,15 @@ namespace Volian.Svg.Library
|
||||
int stindx = text.IndexOf("\\");
|
||||
while (stindx != -1)
|
||||
{
|
||||
if (stindx+2 < text.Length-1 && text.ToUpper().IndexOf("UL",stindx+1)==stindx+1) //don't replace it
|
||||
stindx = text.IndexOf("\\",stindx+1);
|
||||
if ((stindx + 2 < text.Length - 1 && text.ToUpper().IndexOf("UL", stindx + 1) == stindx + 1) || //don't replace it
|
||||
// B2020-041: PSI (this happened for all pagelist items) print doesn't resolve super/sub script, bold, italics:
|
||||
(stindx + 2 < text.Length - 1 && text.ToUpper().IndexOf("UP", stindx + 1) == stindx + 1) ||
|
||||
(stindx + 2 < text.Length - 1 && text.ToUpper().IndexOf("B ", stindx + 1) == stindx + 1) ||
|
||||
(stindx + 2 < text.Length - 1 && text.ToUpper().IndexOf("B0", stindx + 1) == stindx + 1) ||
|
||||
(stindx + 2 < text.Length - 1 && text.ToUpper().IndexOf("DN", stindx + 1) == stindx + 1) ||
|
||||
(stindx + 2 < text.Length - 1 && text.ToUpper().IndexOf("I ", stindx + 1) == stindx + 1) ||
|
||||
(stindx + 2 < text.Length - 1 && text.ToUpper().IndexOf("I0", stindx + 1) == stindx + 1))
|
||||
stindx = text.IndexOf("\\", stindx + 1);
|
||||
else
|
||||
{
|
||||
text = text.Remove(stindx,1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user