Fix coding style in src/core/fonts.js