Can JavaScript (or something else) tell me what fonts my browser supports out of the box, without loading external font files?
I would like to programmatically generate a list of the installed fonts on my Browser.
(In the Chrome dev tools, under the "Elements" pane, if one does Ctrl + Click
inside a custom CSS property with empty value, it will tell you the list of acceptable values for that property. E.g., for the CSS property display
it will tell you inline
, inline-block
, inline-table
, etc. Unfortunately, the list for font-family
doesn't contain the available fonts.)