Jump to content

Checking if a user has a font installed?


AbydosGater

Recommended Posts

Hi, I was wondering if it was possible to use an IF, to check if the user has a font face installed on their system, if returns false, just display the text in default font, otherwise use the special font...is there any way to do this??

Thanks
Link to comment
https://forums.phpfreaks.com/topic/27275-checking-if-a-user-has-a-font-installed/
Share on other sites

Just remember on all modern browsers this will throw a security warning, if you want to use no standard fonts, then it's always better to ask the user if they would like to see the site the way you intended it to be seen. I have seen this approach work very well, I know I had a site a few years back that I was using my own made fonts, and I if remember correctly over 95% of my visitors downloaded the fonts. Doing it that way, shows that you care about the visitor more than making them view stuff they may not want to download or view! But I I have learned that doing this sort of stuff goes against all standards that any web developer should follow!







Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.