Compare commits
No commits in common. "aa160b2036cabf687213c3b04a90836d454bba86" and "f82b32d35111d7bbfeb00ceaff2f6f56e590271d" have entirely different histories.
aa160b2036
...
f82b32d351
@ -2339,10 +2339,7 @@ namespace Volian.Print.Library
|
|||||||
{ // Center the bottom message
|
{ // Center the bottom message
|
||||||
float wtpm = (float)docstyle.Layout.PageWidth - (float)docstyle.Layout.LeftMargin;
|
float wtpm = (float)docstyle.Layout.PageWidth - (float)docstyle.Layout.LeftMargin;
|
||||||
//B2022-126 was using the wrong font definition to calaculate the centering position
|
//B2022-126 was using the wrong font definition to calaculate the centering position
|
||||||
// ** B2023-099 commented out and restored the previous calculation. This caused problems centering the END message in Ginna
|
xpos = XOffsetBox + (float)docstyle.Layout.LeftMargin + (wtpm - (myMsg.Length * docstyle.End.Font.CharsToTwips)) / 2;
|
||||||
// their END message prints with the Prestige Elite font but he centering calc uses Courier New
|
|
||||||
//xpos = XOffsetBox + (float)docstyle.Layout.LeftMargin + (wtpm - (myMsg.Length * docstyle.End.Font.CharsToTwips)) / 2;
|
|
||||||
xpos = XOffsetBox + (float)docstyle.Layout.LeftMargin + (wtpm - (myMsg.Length * MyItemInfo.FormatStepData.Font.CharsToTwips)) / 2;
|
|
||||||
xpos = Math.Max(xpos, XOffsetBox + (float)docstyle.Layout.LeftMargin);
|
xpos = Math.Max(xpos, XOffsetBox + (float)docstyle.Layout.LeftMargin);
|
||||||
vlnText vttmp = new vlnText(cb, this, myMsg, myMsg, xpos, msg_yLocation, docstyle.End.Font);
|
vlnText vttmp = new vlnText(cb, this, myMsg, myMsg, xpos, msg_yLocation, docstyle.End.Font);
|
||||||
MyPageHelper.BottomMessage.Add(vttmp);
|
MyPageHelper.BottomMessage.Add(vttmp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user