MNS - C2018-024 I in Arial font changed to I in TimesNewRoman for Step Tabs and Transitions

This commit is contained in:
Rich
2018-08-07 14:45:54 +00:00
parent 63932cd2c9
commit 234b6561f9
4 changed files with 40 additions and 1 deletions

View File

@@ -134,6 +134,9 @@ namespace Volian.Print.Library
YOffset = yoffset;
Text = cleanTab;
MyFont = vFont;
// C2018-024 I in Arial font changed to I in TimesNewRoman
if (myparent.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ChangeFontUpperCaseIinArial && cleanTab.StartsWith("I."))
vFont = new VE_Font("Times New Roman", (int)vFont.Size, (E_Style)vFont.Style, (float)vFont.CPI);
// BGE has a format flag to increase size of font, if top level:
if (doSectTab && myparent.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumber.Level0Big && myparent.MyItemInfo.MyParent.IsProcedure)
vFont = new VE_Font(vFont.Family, 14, (E_Style)vFont.Style | E_Style.Bold, 8);