From b97c213b608ee9e3d7a291ee3910e5513d5f5a0d Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 28 Sep 2011 11:45:11 +0000 Subject: [PATCH] --- PROMS/Volian.Svg.Library/iTextSharp.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Svg.Library/iTextSharp.cs b/PROMS/Volian.Svg.Library/iTextSharp.cs index 8521a53c..3e4c4230 100644 --- a/PROMS/Volian.Svg.Library/iTextSharp.cs +++ b/PROMS/Volian.Svg.Library/iTextSharp.cs @@ -611,7 +611,9 @@ namespace Volian.Svg.Library foreach (Chunk chk in ph.Chunks) chk.SetUnderline(new Color(FillColor), 0, 0.047F, 0, -.1373F, PdfContentByte.LINE_CAP_ROUND); } - ct.SetSimpleColumn(x, y + ph.Leading + Offset, xRight + 1F, y + ph.Leading + Offset - 2 * font.Size); + // The following line was changed so that a 6.5 size font would print, i.e. the 2 was changed to a 3 to make the + // 6.5 size work. + ct.SetSimpleColumn(x, y + ph.Leading + Offset, xRight + 1F, y + ph.Leading + Offset - 3 * font.Size);//2 * font.Size); ct.AddElement(ph); cb.SaveState(); cb.SetColorFill(new Color(FillColor));