'How can I get the "fallback font-family" with javascript?
I am made a table of chars to test a pixel style font, and the browser shows the fallback font for some characters without char in this pixel style font.
The firefox devtool inspector shows the exact name of font, but I don't know how to get from javascript.
The html code is generated with a python script (it is not by hand) and it is this:
And I was trying with javascript code like this:
window.getComputedStyle(document.getElementById("cell_x000102"),null).getPropertyValue('font-family')
"Telext50"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|



