B2020-100 Code was not performing the adjustment to the input RTF text before processing it.
This commit is contained in:
parent
7ca3f6ae0a
commit
227d154ad1
@ -906,8 +906,8 @@ public string Path
|
|||||||
{
|
{
|
||||||
// B2020-100 Convert old and new form of non-breaking hyphen to hyphen
|
// B2020-100 Convert old and new form of non-breaking hyphen to hyphen
|
||||||
// So that underline will work properly.
|
// So that underline will work properly.
|
||||||
IRtfDocument rtfDoc = RtfInterpreterTool.BuildDoc(rtf);
|
|
||||||
rtf = FixRTFToPrint(rtf, r, c).Replace(@"\_", "-").Replace(@"\u8209?","-");
|
rtf = FixRTFToPrint(rtf, r, c).Replace(@"\_", "-").Replace(@"\u8209?","-");
|
||||||
|
IRtfDocument rtfDoc = RtfInterpreterTool.BuildDoc(rtf);
|
||||||
Rtf2iTextSharp rtf2IText = new Rtf2iTextSharp(rtfDoc);
|
Rtf2iTextSharp rtf2IText = new Rtf2iTextSharp(rtfDoc);
|
||||||
rtf2IText.DefaultFont = mySymFont;
|
rtf2IText.DefaultFont = mySymFont;
|
||||||
iTextSharp.text.Paragraph para = rtf2IText.Convert();
|
iTextSharp.text.Paragraph para = rtf2IText.Convert();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user