This commit is contained in:
Kathy Ruffing 2012-04-02 15:29:07 +00:00
parent f385991f05
commit 35d0e96e7f

View File

@ -22,6 +22,9 @@ namespace fmtxml
case "RGESMPE":
AddRGEFmt(ref fmtdata);
break;
case "WCN2":
AddWCN2Fmt(ref fmtdata);
break;
}
}
@ -44,6 +47,18 @@ namespace fmtxml
fmtdata.StepData[9].StepPrintData.PosAdjust = "-2.4";
fmtdata.StepData[18].StepPrintData.PosAdjust = "-2.4";
}
private void AddWCN2Fmt(ref FormatData fmtdata)
{
// the WCN2 tab for continuous HLS type had only 1 space after the period ('.'). The other
// tabs had two spaces. This tab type also uses the C0 macro to draw the lines above/below
// the number. Because it only had 1 space, the tab and lines were not matching the
// 16bit output. A space is added here to make the continuous HLS type match the number
// of spaces as other HLS tabs, and to make the printed output match that of 16bit.
fmtdata.StepData[9].TabData.Ident = fmtdata.StepData[9].TabData.Ident + " ";
fmtdata.StepData[9].TabData.IdentEdit = fmtdata.StepData[9].TabData.IdentEdit + " ";
fmtdata.StepData[9].TabData.RNOIdent = fmtdata.StepData[9].TabData.RNOIdent + " ";
fmtdata.StepData[9].TabData.RNOIdentEdit = fmtdata.StepData[9].TabData.RNOIdentEdit + " ";
}
}
public partial class RtfToSvg
{