bmass
07-17-2006, 08:29 PM
If I want to use a custom font that I have uploaded onto my web server, what kind of code can I use to link to it? Thanks.
|
Click to See Complete Forum and Search --> : font linking bmass 07-17-2006, 08:29 PM If I want to use a custom font that I have uploaded onto my web server, what kind of code can I use to link to it? Thanks. zygh 07-17-2006, 11:53 PM sadly none... unless u make them all images...hehe... there is no way for a peeps to read that font files off a server... that works... I've tried a bunch of diffrent ways... including embedding .eot (embedded open type) files and they don't work... ulillillia 07-18-2006, 12:27 AM Downloading the font and having it installed to the C:\Windows\Fonts directory would make it usable, but not everyone wants to do that. You can provide this option, but don't expect users to download and install it. You should always provide related alternatives (like Times New Roman instead of Garamoud or Georgia, or Arial instead of Verdana). bmass 07-18-2006, 02:14 AM Okay, so if users wanted to download the font, then how could I set up my web page to use the custom font if they have downloaded it? skilled1 07-18-2006, 12:01 PM in the css when you defien a font family, define your font first. i have seen a few websites out there that people created all charectors of a font, and used javascript to render the text...kinda a way out and about way to do it, but it is possible. winday 07-18-2006, 01:14 PM Downloading the font and having it installed to the C:\Windows\Fonts directory would make it usable, but not everyone wants to do that. You can provide this option, but don't expect users to download and install it. Fonts are copyrighted. You most likely do not have permission to distribute it in such a way. One alternative is to use a method like sIFR (google for it). Basically you create a Flash file with the font embedded; the Flash calls in the text from the webpage. You must define the text ON the page, both so the Flash knows what to display and for users who don't have Flash. Win bmass 07-18-2006, 01:17 PM If my font it abaddon.TTF located at http://www.vvclans.com/db/images/abaddon.TTF what would I put in my stylesheet to load that font? I tried: html, body { font-family:url(images/abaddon.TTF); } But that didn't do anything (I have the font installed on my computer). So how am I supposed to do it? Or, with javascript how could I do it? skilled1 07-18-2006, 01:30 PM just call the font abaddon, the the family of sans-serrif webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |