Fixed use of symbol characters in table cells

Fixed use of the hanging indent in procedure steps
This commit is contained in:
2015-07-24 18:55:31 +00:00
parent 33a1dba227
commit 1408a43fa8
2 changed files with 19 additions and 6 deletions

View File

@@ -400,6 +400,11 @@ namespace Volian.Print.Library
str = System.Text.RegularExpressions.Regex.Replace(str, @"\\cf[0-9]\\", @"\");
str = System.Text.RegularExpressions.Regex.Replace(str, @"\\cf[0-9] ", @"");
}
// the FreeMono font is used for the editor, but VESymbFix is used for printing
// The font spefication is embeded in the table text so we need to change the font reference from
// FreeMono to VESymbFix before we print the table
if (str.ToUpper().Contains("FREEMONO"))
str = str.Replace("FreeMono", "VESymbFix");
DisplayText dt = new DisplayText(MyFlexGrid.GetMyItemInfo(), str, false);
str = dt.StartText;
str = PreProcessRTF(w, str);