How to print a font table for an OpenType/TrueType font? Can I use the fonttable package?
A font table should have all glyphs in a font. Like the following (from The TeXBook):

Update:
I have created a rather complicated font table for Fira Math based on @egreg's answer. You may find it in specimen.tex. It has the following features:
- Automatically count the glyphs in the fonts/unicode block;
- Fallback to other fonts for the non-existing glyphs (here I use GNU Unifont);
- Highlight for Unicode Reserved Code Points and Control Codes.
At the end of the specimen, there is a section for the non-Unicode glyphs as well.



\fonttablefor an OpenType font (with extension .otf/.ttf), especially those fonts in my system. – stone-zeng Jul 15 '17 at 11:31\fonttablecommand can be used only if the.tfmfile exists in the system for the font. – karlkoeller Jul 15 '17 at 11:37fonttabledocumentation, this is not possible. – karlkoeller Jul 15 '17 at 11:45