diff --git a/PROMS/Volian.Print.Library/Grid2Pdf.cs b/PROMS/Volian.Print.Library/Grid2Pdf.cs index 2c0b4b49..2433e9ad 100644 --- a/PROMS/Volian.Print.Library/Grid2Pdf.cs +++ b/PROMS/Volian.Print.Library/Grid2Pdf.cs @@ -906,7 +906,8 @@ public string Path { // B2020-100 Convert old and new form of non-breaking hyphen to hyphen // So that underline will work properly. - rtf = FixRTFToPrint(rtf, r, c).Replace(@"\_", "-").Replace(@"\u8209?","-"); + // B2020-134 fix to ensure proper font is used when hyphen is replaced + rtf = FixRTFToPrint(rtf, r, c).Replace(@"\_", @"\u8209?"); IRtfDocument rtfDoc = RtfInterpreterTool.BuildDoc(rtf); Rtf2iTextSharp rtf2IText = new Rtf2iTextSharp(rtfDoc); rtf2IText.DefaultFont = mySymFont;