crashmaster Posted April 2, 2008 Share Posted April 2, 2008 Hi there, need help. How to use custom fonts (for ex. downloaded from dafont.com) on web site ? I know, PC, will show only font, which are installed on PC at the moment.. But how to upload font to user's PC (background uploading), for correct view ? Thanks Link to comment https://forums.phpfreaks.com/topic/99218-custom-fonts/ Share on other sites More sharing options...
Psycho Posted April 2, 2008 Share Posted April 2, 2008 In the background as in without the user's input? Hmm, I would consider any automatic downloading of content to my computer to be a malicious activity. You might want to look into imbedding the font into the HTML page. Not sure what browsers support it though. http://www.microsoft.com/typography/web/embedding/weft/ Link to comment https://forums.phpfreaks.com/topic/99218-custom-fonts/#findComment-507677 Share on other sites More sharing options...
trq Posted April 2, 2008 Share Posted April 2, 2008 You can embed fonts in html, see here for a tutorial. Link to comment https://forums.phpfreaks.com/topic/99218-custom-fonts/#findComment-507683 Share on other sites More sharing options...
broomstick Posted April 2, 2008 Share Posted April 2, 2008 I don't think it's possible to install a font on another person's computer without having them download and install the font themselves. I do know you can have "not common" fonts display via flash. But I'm not sure if there's any way to dynamically generate this (like if you were pulling text from a database and wanted it displayed in the flash font thing). I guess the first question you should ask yourself is "Why do you absolutely need to use this specific font?" Link to comment https://forums.phpfreaks.com/topic/99218-custom-fonts/#findComment-507687 Share on other sites More sharing options...
haku Posted April 2, 2008 Share Posted April 2, 2008 The short answer is " it can't be done". The medium answer is "it can be done on internet explorer only". The long answer is "it can be done for all browsers in flash, but its not a great solution as the code isn't indexable or highlightable". Link to comment https://forums.phpfreaks.com/topic/99218-custom-fonts/#findComment-508001 Share on other sites More sharing options...
marklarah Posted April 3, 2008 Share Posted April 3, 2008 The short answer is " it can't be done". The medium answer is "it can be done on internet explorer only". The long answer is "it can be done for all browsers in flash, but its not a great solution as the code isn't indexable or highlightable". Actually, not strictly true. A new version of HTML is nearly out, and with it comes the ability that the font uploaded/used will be displayed. This can be seen if you use Safari 3.1 or better. I believe the new version of Mozilla will to. It will be a matter of time until most use new browsers, so it will be able to soon Link to comment https://forums.phpfreaks.com/topic/99218-custom-fonts/#findComment-508705 Share on other sites More sharing options...
haku Posted April 3, 2008 Share Posted April 3, 2008 Then strictly speaking what I said WAS accurate, as I was speaking in the present tense. Loosely speaking its not, as the future holds changes. But it will be a number of years until enough of the populace is using the new breed of browsers to make this technique worthwhile for commercial designers. Link to comment https://forums.phpfreaks.com/topic/99218-custom-fonts/#findComment-508890 Share on other sites More sharing options...
ToonMariner Posted April 4, 2008 Share Posted April 4, 2008 the WEFT method was (I believe) actually adopted as a standard. In the present climate Haku is indeed correct - in the future? We shall see - vednors say they will do things with browsers and don't but keep your fingers crossed and it will gain universal support... Link to comment https://forums.phpfreaks.com/topic/99218-custom-fonts/#findComment-509109 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.