src/core/fonts.js
Note that this code was added *after* PR 7322 was opened, which thus explains why it was missed during rebasing.