B2020-100 Wolf Creek (Carolee) reported issues with adding a hyphen in the middle of Table text that was bolded and underlined.

This commit is contained in:
Rich
2020-08-06 17:48:54 +00:00
parent 49bda264f9
commit da6ecf841b
3 changed files with 12 additions and 8 deletions

View File

@@ -904,7 +904,7 @@ public string Path
}
private iTextSharp.text.Paragraph RtfToParagraph(string rtf, iTextSharp.text.Font mySymFont,int r, int c)
{
rtf=FixRTFToPrint(rtf,r,c);
rtf = FixRTFToPrint(rtf, r, c).Replace(@"\_", "-");//B2020-100 RHM Convert new form of non-breaking hyphen to hyphen
IRtfDocument rtfDoc = RtfInterpreterTool.BuildDoc(rtf);
Rtf2iTextSharp rtf2IText = new Rtf2iTextSharp(rtfDoc);
rtf2IText.DefaultFont = mySymFont;