You can customize the coefficients that Link Assistant uses to improve the shape measuring precision. This is especially useful if you are getting the results that are not precise enough.
The coefficient is used by the MeasureLGChars function, to correct the tnc value (number of characters in text)
The standard coefficients are available in the following function in the Page.vb:
Public Overridable Function GetCoef(fSize As Double, tLead As Integer) As Double
'v1 on 11/Oct/16 (BS): overridable coefficients for MeasureLGs
Select Case fSize
Case 7900 To 8500
Select Case tLead
Case 7500 To 8100 : Return 1.13
Case 8101 To 8750 : Return 1.13
Case 8751 To 9500 : Return 1.13
End Select
Case 8501 To 9500
Select Case tLead
Case 8500 To 9100 : Return 1.12
Case 9101 To 9750 : Return 1.12
Case 9751 To 10500 : Return 1.12
End Select
Case 9501 To 10500
Select Case tLead
Case 9500 To 10100 : Return 1.1
Case 10101 To 10750 : Return 1.1
Case 10751 To 11500 : Return 1.1
End Select
Case Else
Return 1
End Select
End Function
The fSize is the value of the type size. The tLead is the value of the text leading. The following part of the function determines which coefficient is returned to correct the estimated value, when your type size and leading is in the specified range of millipoints:
Case 7900 To 8500
Select Case tLead
Case 7500 To 8100 : Return 1.13
Case 8101 To 8750 : Return 1.13
Case 8751 To 9500 : Return 1.13
End Select
The example handles the type size in the range of 7900mpt to 8500mpt, for three ranges of the leading, returning the same coefficient for all ranges.
In the CustomPage.vb, create your own function that will override the system's one and fill it with your coefficients. You can increase the number of ranges as you want.
Public Overrides Function GetCoef(fSize As Double, tLead As Integer) As Double
Select Case fSize
Case 7900 To 8500
Select Case tLead
Case 7500 To 8100 : Return 1.13
Case 8101 To 8750 : Return 1.13
Case 8751 To 9500 : Return 1.13
End Select
Case 8501 To 9500
Select Case tLead
Case 8500 To 9100 : Return 1.12
Case 9101 To 9750 : Return 1.12
Case 9751 To 10500 : Return 1.12
End Select
Case 9501 To 10500
Select Case tLead
Case 9500 To 10100 : Return 1.1
Case 10101 To 10750 : Return 1.1
Case 10751 To 11500 : Return 1.1
End Select
Case Else
Return 1
End Select
End Function