But I notice that font-name appears to no longer be mentioned in the 2.25 version of Notation Reference 1.8.3 on fonts. In fact, searching the PDF of the 2.25 NR seems to yield no results for "font-name" at all. So perhaps something is changing here.
The answer is here: https://lilypond.org/doc/v2.25/Documentation/changes/text-and-font-improvements