I was using Version 2.4.2 (1005). It seems to now put in a STAT table in OTFs. I believe this is for Variable fonts, so I’m wondering why it appears in an OTF? It also appears to put another Windows name table entry - ID 256 Regular, Bold Black etc. Is that name ID something for Variable fonts?
Yes and no. You can read the STAT table spec. It has been introduced in the latest OT revision, and is required for variable fonts, but:
The style attributes table is also recommended for all new, non-variable fonts, especially if fonts have style attributes in axes other than weight, width, or slope.