From 227d154ad1ec27ee2766c5507f924f113787b7bb Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 26 Aug 2020 16:47:44 +0000 Subject: [PATCH] B2020-100 Code was not performing the adjustment to the input RTF text before processing it. --- 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 cdcc94bc..2c0b4b49 100644 --- a/PROMS/Volian.Print.Library/Grid2Pdf.cs +++ b/PROMS/Volian.Print.Library/Grid2Pdf.cs @@ -906,8 +906,8 @@ public string Path { // B2020-100 Convert old and new form of non-breaking hyphen to hyphen // So that underline will work properly. - IRtfDocument rtfDoc = RtfInterpreterTool.BuildDoc(rtf); rtf = FixRTFToPrint(rtf, r, c).Replace(@"\_", "-").Replace(@"\u8209?","-"); + IRtfDocument rtfDoc = RtfInterpreterTool.BuildDoc(rtf); Rtf2iTextSharp rtf2IText = new Rtf2iTextSharp(rtfDoc); rtf2IText.DefaultFont = mySymFont; iTextSharp.text.Paragraph para = rtf2IText.Convert();