New check: consistent underline position and thickness #4203
Labels
New check proposal
We expect new check proposals to include a detailed rationale description and a suggested check-id
Milestone
What needs to be checked?
underlinePosition and underlineThickness in the 'post' table should be consistent with UnderlinePosition and UnderlineThickness in the 'CFF ' table.
Detailed description of the problem
The specification of underlinePosition in 'post' says “The value of the PostScript key may be calculated by subtracting half the underlineThickness from the value of this field.” That is,
CFF.UnderlinePosition == post.underlinePosition - post.underlineThickness / 2
by definition.underlineThickness in 'post' and UnderlineThickness in 'CFF ' are both simply the underline thickness, so they should always equal each other.
Suggested profile
Suggest which profile the check should be added to. The most common are:
Suggested result
Which log result level should the check have:
Severity assessment
1 (minor)
The text was updated successfully, but these errors were encountered: