B2020-041: exponent prints with character codes in psi (and any pagelist item), handles overlap of bold and italics
This commit is contained in:
parent
bdd1b054a4
commit
ae4431b327
@ -706,10 +706,10 @@ namespace Volian.Svg.Library
|
||||
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 + 1 < 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 + 1 < 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user