pass the symbol font name to vlnTab

use the current symbol font (determined by Step RTB) to find the real width of a tab containing a symbol character
This commit is contained in:
2011-10-13 18:49:14 +00:00
parent eed402ef7f
commit 64429dcef0
2 changed files with 21 additions and 6 deletions

View File

@@ -889,7 +889,7 @@ namespace Volian.Print.Library
}
if (!itemInfo.IsSection || doSectTab)
{
mytab = new vlnTab(cb, this, itemInfo.MyTab.Text, itemInfo.MyTab.CleanText, localXOffset, yoff, itemInfo.MyTab.MyFont, doSectTab);
mytab = new vlnTab(cb, this, itemInfo.MyTab.Text, itemInfo.MyTab.CleanText, localXOffset, yoff, itemInfo.MyTab.MyFont, doSectTab, StepRTB.MySymbolFontName);
PartsLeft.Add(mytab);
if (mytab.MyMacro != null) PartsLeft.Add(mytab.MyMacro);
}