B2017-105 – adjust the y position of a symbol character when its size is greater than the normal font size

This commit is contained in:
2017-06-21 18:25:47 +00:00
parent c1c5bfd081
commit 43dffa55cb
2 changed files with 21 additions and 1 deletions

View File

@@ -471,6 +471,12 @@ namespace Volian.Print.Library
// _MyLog.WarnFormat("NoteTab '{0}','{1}','{2}','{3}','{4}','{5}','{6}'", (PartsAbove[0] as vlnHeader).Text, (PartsLeft[0] as vlnTab).Text, MyItemInfo.MyProcedure.DisplayNumber, MyItemInfo.MyHLS.DisplayText,
// MyItemInfo.ShortPath, MyItemInfo.FormatStepData.TabData.IdentPrint, MyItemInfo.FormatStepData.TabData.IdentEdit);
//
// B2017-105 if a symbol character was set to a bigger font size, then the positioning of the larger symbol character was printing too high on the line
// found with Wolf Creek use of the empty box symbol
foreach (Chunk chk in IParagraph.Chunks)
{
if (chk.Font.Size > 16) chk.SetTextRise(-2f);
}
if (MyItemInfo.IsFootnote && Processed) return yPageStart;
int pagenumTran = 0;
if ((MyItemInfo.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DontCountFoldoutPgs) == E_DocStructStyle.DontCountFoldoutPgs)