stevesimo Posted January 26, 2008 Share Posted January 26, 2008 Hi, does anyone know if it is possible to upload say 20 fonts from my computer into a folder on my website and create a font selector that the user can choose to alter the display of the website. I know CSS has serif, sans serif etc, but if I wanted to use some of my own fonts, just not sure if this can be done. I have been looking around on the t'internet but cant find a script that does this. Cheers, Steve Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted January 26, 2008 Share Posted January 26, 2008 You can do this with PHP GD Library for image fonts; but I think your out of luck on css; it's browser based fonts (that already exist on the browser software). Quote Link to comment Share on other sites More sharing options...
taith Posted January 26, 2008 Share Posted January 26, 2008 no... you can specify any font you want via css... however they do need to be installed on the local computer for them to display :-) you can make a "font-family:unknownfont1, unknownfont2, arial;" in your css... and simply put links to them font files... but no... theres no way of absolutly forcing :-( i know... i ALWAYS wanted to be able to do this... well... more my designer wanted me to... lol i've looked long and hard... i'm sure you can use PHP's image libarys to force fonts... but then its not search engine friendly... theres really no friendly way around it Quote Link to comment Share on other sites More sharing options...
fenway Posted January 28, 2008 Share Posted January 28, 2008 You can easily embed fonts in IE... but Mozilla decided this was a "security risk". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.