Fix coding style in src/core/fonts.js

/cc @timvandermeij