This commit is contained in:
Kathy Ruffing 2011-09-28 11:45:11 +00:00
parent 5e782cef32
commit b97c213b60

View File

@ -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));