This page demonstrates
fontcheck.js
which can be used to test if a specific font is available.
The 'function' section checks a small list of fonts using fontcheck.min.js embedded in the page.
The 'module' section checks a larger list of fonts using fontcheck-module.js (via index.js).
The text input can be used to check for any font.