From 44322ba5bfa28e96542253b0853c8838e48b2586 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 10 Jul 2018 20:13:20 +0000 Subject: [PATCH] =?UTF-8?q?B2018-107=20=E2=80=93=20Need=20to=20convert=20r?= =?UTF-8?q?tf=20hard=20space=20(\~)=20to=20the=20hard=20space=20character?= =?UTF-8?q?=20when=20printing=20tables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Print.Library/Grid2Pdf.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/Grid2Pdf.cs b/PROMS/Volian.Print.Library/Grid2Pdf.cs index 46c874f8..0ead74b1 100644 --- a/PROMS/Volian.Print.Library/Grid2Pdf.cs +++ b/PROMS/Volian.Print.Library/Grid2Pdf.cs @@ -876,7 +876,7 @@ namespace Volian.Print.Library // add the using statment to free up window handle that is created doing a New RichTextBox() using (System.Windows.Forms.RichTextBox rtb = new System.Windows.Forms.RichTextBox()) { - rtb.Rtf = rtf.Replace(@"\u9586?", "");// rename backslash character to avoid RTF confusion + rtb.Rtf = rtf.Replace(@"\u9586?", "").Replace(@"\~",@"\u160?");// rename backslash character and B2018-107 \~ to hard space to avoid RTF confusion string strRTF = rtf; bool changed = false; // C2017-008 - WCN wants the box symbol to look like their checkoff/signoff box