diff --git a/PROMS/Volian.Print.Library/Rtf2Pdf.cs b/PROMS/Volian.Print.Library/Rtf2Pdf.cs index 3e39217c..7276a3df 100644 --- a/PROMS/Volian.Print.Library/Rtf2Pdf.cs +++ b/PROMS/Volian.Print.Library/Rtf2Pdf.cs @@ -185,8 +185,14 @@ namespace Volian.Print.Library { if (chk1.Font.BaseFont.PostscriptFontName.ToUpper().Contains("BOLD")) rtnval += " BOLD |"; + // B2018-066 Support alternative Bold Font Style + else if ((chk1.Font.Style & iTextSharp.text.Font.BOLD) == iTextSharp.text.Font.BOLD) + rtnval += " Bold |"; if (chk1.Font.BaseFont.PostscriptFontName.ToUpper().Contains("ITALIC")) rtnval += " ITALICS |"; + // B2018-066 Support alternative Italic Font Style + else if ((chk1.Font.Style & iTextSharp.text.Font.ITALIC) == iTextSharp.text.Font.ITALIC) + rtnval += " Italics |"; } if (rtnval.Length == 6) rtnval += " none";