Well, I understand that using a specific font for a website is generally not recommended, but I have a unique purpose in mind:
I am developing an online multilingual dictionary in which one of the languages should be displayed in a particular font sourced from a local file. It is crucial for this language to only appear in this font because rendering it with any other font would lead to incorrect display. I am able to load the font file using CSS and the necessary markup.
However, I want to ensure that if the font file fails to load due to any reason, the text does not default to another font like Arial. Instead, I want it to display some visual indication that the font could not be loaded, such as blocks or a distinct placeholder.
After spending some time researching, I am unsure about which CSS property or technique I should use to achieve this desired effect. Any suggestions or guidance on how to implement this unique requirement? Thank you :)