So, I know that this is not what is usually a good idea for a website, but I have a special purpose / intention for such use:
I have a multilingual dictionary in which I work on the Internet, where I need one of the languages to be in a particular font, from a file that I specify locally. However, I want this language to be displayed ONLY in this font, as if it was displayed using any other font, it would not display correctly. This is all fine and dandy, and I can upload the file in CSS and something else.
But I want to make it so that if it cannot load this file for one reason or another or something goes wrong, it cannot switch to another font. Basically, draw this text with this font, and if you can’t do it, don’t just try to make it with Arial or something by default - show me the blocks, show me something unusual.
I looked a little, but not sure what CSS I would use for this. Suggestions / help? Thank:)
source
share