fontlabapp.proof.numeric.model · declarations 001
Back to fontlabapp.proof.numeric.model
calculate
calculate(facts: Facts, part: int, values: tuple) -> dict
Return both original numeric recipes plus a 12pt proof-width estimate.
Integer offset and decimal offset are independent recipes. Integer zoom affects the first recipe at12pt; part3 zero fits the absolute total to500pt. Decimal scale affects the second recipe; part3 zero means no scaling. Part2 retains literal zero and negative percentages. These are estimates, without kerning, shaping or a promise of actual view zoom.