diff --git a/PROMS/Volian.Print.Library/Rtf2iTextSharp.cs b/PROMS/Volian.Print.Library/Rtf2iTextSharp.cs index d6cb70f9..3c1d2a18 100644 --- a/PROMS/Volian.Print.Library/Rtf2iTextSharp.cs +++ b/PROMS/Volian.Print.Library/Rtf2iTextSharp.cs @@ -567,6 +567,9 @@ namespace Volian.Print.Library // Any plant that had compressed steps with the font size/underline would have this problem. An example // was Braidwood FSG-6, high level steps. float yoffund = (_MyParagraph.Leading < 12 && font.Size >= 12) ? -0.06F : -0.131F; + if(chk.Font.BaseFont.PostscriptFontName.ToUpper().Contains("BOLD")) // C2021-052 make underline thicker if text is bolded + chk.SetUnderline(font.Color, 0, 0.12F, 0, yoffund, PdfContentByte.LINE_CAP_ROUND); // Relative Based upon font size + else chk.SetUnderline(font.Color, 0, 0.05F, 0, yoffund, PdfContentByte.LINE_CAP_ROUND); // Relative Based upon font size }