AbydosGater Posted November 14, 2006 Share Posted November 14, 2006 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 More sharing options...
printf Posted November 14, 2006 Share Posted November 14, 2006 no, client side browser security will not allow it... Link to comment https://forums.phpfreaks.com/topic/27275-checking-if-a-user-has-a-font-installed/#findComment-124715 Share on other sites More sharing options...
AbydosGater Posted November 14, 2006 Author Share Posted November 14, 2006 dam, ok! Link to comment https://forums.phpfreaks.com/topic/27275-checking-if-a-user-has-a-font-installed/#findComment-124720 Share on other sites More sharing options...
The Little Guy Posted November 14, 2006 Share Posted November 14, 2006 http://www.netmechanic.com/news/vol3/css_no15.htm Link to comment https://forums.phpfreaks.com/topic/27275-checking-if-a-user-has-a-font-installed/#findComment-124723 Share on other sites More sharing options...
AbydosGater Posted November 14, 2006 Author Share Posted November 14, 2006 This will work great, Thanks! Link to comment https://forums.phpfreaks.com/topic/27275-checking-if-a-user-has-a-font-installed/#findComment-124728 Share on other sites More sharing options...
printf Posted November 14, 2006 Share Posted November 14, 2006 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! Link to comment https://forums.phpfreaks.com/topic/27275-checking-if-a-user-has-a-font-installed/#findComment-124736 Share on other sites More sharing options...
AbydosGater Posted November 15, 2006 Author Share Posted November 15, 2006 Ok Thanks Link to comment https://forums.phpfreaks.com/topic/27275-checking-if-a-user-has-a-font-installed/#findComment-124927 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.