Supporting logic to handle the use of the backslash character

This commit is contained in:
2016-06-21 15:16:12 +00:00
parent 4c6d09803d
commit 0d13585924
7 changed files with 99 additions and 8 deletions

View File

@@ -681,6 +681,10 @@ namespace Volian.Svg.Library
// this will enable the hyphens to be found in a PDF search
if(text.Contains("\\u8209?"))
text = text.Replace("\\u8209?", "-");
// Replace symbol backslash with a text backslash when printing pagelist items
// this will enable the backslash to be found in a PDF search
if (text.Contains("\\u9586?"))
text = text.Replace("\\u9586?", "\\");
SetupInheritance(myParent.MyInheritedSettings);
float yScale = (myParent is SvgGroup && (myParent as SvgGroup).Description.ToUpper() == "ABSOLUTE") ? scale.AbsY(cb, Y): scale.Y(cb, Y);
cb.SaveState();