Jump to content

Using Fonts on Website


stevesimo

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/87904-using-fonts-on-website/
Share on other sites

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 :(

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.