|  | @@ -69,7 +69,7 @@ export class EngravingRules {
 | 
	
		
			
				|  |  |      private distanceOffsetBetweenTwoHorizontallyCrossedWedges: number;
 | 
	
		
			
				|  |  |      private wedgeMinLength: number;
 | 
	
		
			
				|  |  |      private distanceBetweenAdjacentDynamics: number;
 | 
	
		
			
				|  |  | -    private tempoChangeMeasureValitidy: number;
 | 
	
		
			
				|  |  | +    private tempoChangeMeasureValidity: number;
 | 
	
		
			
				|  |  |      private tempoContinousFactor: number;
 | 
	
		
			
				|  |  |      private staccatoScalingFactor: number;
 | 
	
		
			
				|  |  |      private betweenDotsDistance: number;
 | 
	
	
		
			
				|  | @@ -140,6 +140,7 @@ export class EngravingRules {
 | 
	
		
			
				|  |  |      private minNoteDistance: number;
 | 
	
		
			
				|  |  |      private subMeasureXSpacingThreshold: number;
 | 
	
		
			
				|  |  |      private measureDynamicsMaxScalingFactor: number;
 | 
	
		
			
				|  |  | +    private wholeRestXShiftVexflow: number;
 | 
	
		
			
				|  |  |      private maxInstructionsConstValue: number;
 | 
	
		
			
				|  |  |      private noteDistances: number[] = [1.0, 1.0, 1.3, 1.6, 2.0, 2.5, 3.0, 4.0];
 | 
	
		
			
				|  |  |      private noteDistancesScalingFactors: number[] = [1.0, 2.0, 4.0, 8.0, 16.0, 32.0, 64.0, 128.0];
 | 
	
	
		
			
				|  | @@ -218,7 +219,7 @@ export class EngravingRules {
 | 
	
		
			
				|  |  |          this.graceNoteScalingFactor = 0.6;
 | 
	
		
			
				|  |  |          this.graceNoteXOffset = 0.2;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        // GraceNote Variables
 | 
	
		
			
				|  |  | +        // Wedge Variables
 | 
	
		
			
				|  |  |          this.wedgeOpeningLength = 1.2;
 | 
	
		
			
				|  |  |          this.wedgeMeasureEndOpeningLength = 0.75;
 | 
	
		
			
				|  |  |          this.wedgeMeasureBeginOpeningLength = 0.75;
 | 
	
	
		
			
				|  | @@ -230,8 +231,8 @@ export class EngravingRules {
 | 
	
		
			
				|  |  |          this.wedgeMinLength = 2.0;
 | 
	
		
			
				|  |  |          this.distanceBetweenAdjacentDynamics = 0.75;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        // GraceNote Variables
 | 
	
		
			
				|  |  | -        this.tempoChangeMeasureValitidy = 4;
 | 
	
		
			
				|  |  | +        // Tempo Variables
 | 
	
		
			
				|  |  | +        this.tempoChangeMeasureValidity = 4;
 | 
	
		
			
				|  |  |          this.tempoContinousFactor = 0.7;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          // various
 | 
	
	
		
			
				|  | @@ -316,6 +317,7 @@ export class EngravingRules {
 | 
	
		
			
				|  |  |          this.minNoteDistance = 2.0;
 | 
	
		
			
				|  |  |          this.subMeasureXSpacingThreshold = 35;
 | 
	
		
			
				|  |  |          this.measureDynamicsMaxScalingFactor = 2.5;
 | 
	
		
			
				|  |  | +        this.wholeRestXShiftVexflow = -2.5; // VexFlow draws rest notes too far to the right
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          this.populateDictionaries();
 | 
	
		
			
				|  |  |          try {
 | 
	
	
		
			
				|  | @@ -708,11 +710,11 @@ export class EngravingRules {
 | 
	
		
			
				|  |  |      public set DistanceBetweenAdjacentDynamics(value: number) {
 | 
	
		
			
				|  |  |          this.distanceBetweenAdjacentDynamics = value;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -    public get TempoChangeMeasureValitidy(): number {
 | 
	
		
			
				|  |  | -        return this.tempoChangeMeasureValitidy;
 | 
	
		
			
				|  |  | +    public get TempoChangeMeasureValidity(): number {
 | 
	
		
			
				|  |  | +        return this.tempoChangeMeasureValidity;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -    public set TempoChangeMeasureValitidy(value: number) {
 | 
	
		
			
				|  |  | -        this.tempoChangeMeasureValitidy = value;
 | 
	
		
			
				|  |  | +    public set TempoChangeMeasureValidity(value: number) {
 | 
	
		
			
				|  |  | +        this.tempoChangeMeasureValidity = value;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      public get TempoContinousFactor(): number {
 | 
	
		
			
				|  |  |          return this.tempoContinousFactor;
 | 
	
	
		
			
				|  | @@ -1128,6 +1130,12 @@ export class EngravingRules {
 | 
	
		
			
				|  |  |      public set MeasureDynamicsMaxScalingFactor(value: number) {
 | 
	
		
			
				|  |  |          this.measureDynamicsMaxScalingFactor = value;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +    public get WholeRestXShiftVexflow(): number {
 | 
	
		
			
				|  |  | +        return this.wholeRestXShiftVexflow;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +    public set WholeRestXShiftVexflow(value: number) {
 | 
	
		
			
				|  |  | +        this.wholeRestXShiftVexflow = value;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |      public get MaxInstructionsConstValue(): number {
 | 
	
		
			
				|  |  |          return this.maxInstructionsConstValue;
 | 
	
		
			
				|  |  |      }
 |