ker/mod/tfw.font-loader.js
function fontAPI( fonts ) {
    var promises = [];
    fonts.forEach(function (font) {
        var pro = document.fonts.load( '64px "' + font + '"' );
        promises.push( pro );
    });
    return Promise.all( promises );
}
function fontAPI( fonts ) {
    var promises = [];
    fonts.forEach(function (font) {
        var pro = document.fonts.load( '64px "' + font + '"' );
        promises.push( pro );
    });
    return Promise.all( promises );
}
function fontAPI ( fonts ) { var promises = [ ] ; fonts . forEach ( function ( font ) { var pro = document . fonts . load ( '64px "' + font + '"' ) ; promises . push ( pro ) ; } ) ; return Promise . all ( promises ) ; }
Use the modern Font API.
Use the modern Font API .