I have a couple of fonts that most people wont have on my website is there anyway that i can make it install when people look at my wbesite
rgds
jtaah
I have a couple of fonts that most people wont have on my website is there anyway that i can make it install when people look at my wbesite
rgds
jtaah
Probably one of the easiest ways is to make a picture file (i.e. .jpg/.png/.gif) containing the text you want in the font you desire - which you can make with any basic drawing program. That way, just as long as your website visitors have a picture-enabled internet browser, then they can view the picture, and in turn, view the text in the font you want.
Anyway, I don't think many people would like to have to install all these additional fonts just to view your website ;)
Yep, the best way is to create a picture of the text in the font of your choice and paste it on the webpage, no one will go to the trouble of downloading a font just to view your webpage....
This is a tough one :D
Since firefox and IE both have different ways of handling embedded fonts you'd have to create a javascript that'll detect the browser type and load the appropriate type.
On to the details~
Embed a Font for viewing in Internet Explorer
Please note that only IE4.0 or above have the capability to web pages with embedded fonts. Here are the steps:
Prepare an EOT (embedded Open Type) for the font you want to embed using Web Embeding Fonts Tool (WEFT). The WEFT can be downloaded at Microsoft Typography site. Link the EOT to web pages using CSS STYLE tag:
Code:<HEAD> <TITLE>My Page</TITLE> <STYLE TYPE="text/css"> <!-- @font-face { font-family: “MRV Code39MA”; font-style: normal; font-weight:normal; src: url(http://www.mysite.com/fonts/mrv39ma.eot); } --> </STYLE> </HEAD>
Embed a font for viewing in Netscape
This viewing capability is only available for Netscape 4.01 and later versions. Prepare a PFR ( Portable Font Resource) for the font you wish to embed using several tools such as HexWeb typography. Prepare your web page like this:
All in all, it'd probably be easier to just take a gif of any needed text if it isn't a whole bunch of it.Code:<HEAD> <TITLE>My Page</TITLE> <LINK REL=FONTDEF SRC="/fonts/mrv39ma.pfr"> </HEAD>
You could take it a step further.
Make gifs for every character, upper and lower case.
Then prep a script that you feed the text string and it replaces the characters with the image of that character.
This would kill yours and the viewers bandwidth, but it would also stop people from copying and pasting any text from the page.
Edit:
It could be even taken as far as to imitate font sizes. You feed it a size and it resizes the images accordingly.
Last edited by DefecTalisman; 10-04-2007 at 01:59 AM. Reason: Automerged Doublepost
http://dev.x10hosting.com (this has nothing to do with x10hosting)
->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the+rep icon on the left hand side of a post if that post was helpfull.