diff --git a/docs/font-inspector.html b/docs/font-inspector.html index 2dab41be..44a1de92 100644 --- a/docs/font-inspector.html +++ b/docs/font-inspector.html @@ -288,6 +288,9 @@

Free Software

} const form = document.forms.demo; +const loadScript = (src) => new Promise((onload) => document.documentElement.append( + Object.assign(document.createElement('script'), {src, onload}) +)); async function display(file, name) { form.fontname.innerText = name; const isWoff2 = name.endsWith('.woff2');