• 0

Force visitors to use a font they don't have?


Question

I just created a new font and I'd like to use it for all my text on my website.

Thing is, visitors won't see my website the way I want them to see it since they don't have my font.

Is there a way to have visitors view my website automatically using the font I made if I host it on my web server? That'd be kinda sad having to request visitors to manually download the font :(

I'd like to avoid having to resort to make my website entirely in Flash if possible =P

Link to comment
Share on other sites

21 answers to this question

Recommended Posts

  • 0

I'm no developer, so I may be wrong about this; how about putting the text as an image?

Link to comment
Share on other sites

  • 0

I believe you can do it with Javascript, I've never done it before so i can't offer much help, but i have seen it done.

Here are some examples, including the Javascript technique i mentioned: http://www.libhound....-on-the-website

I'm no developer, so I may be wrong about this; how about putting the text as an image?

This is a bad idea because it will slow down loading times and also search engines wont be able to index the text in the images.

Link to comment
Share on other sites

  • 0

There are several methods of doing this and if your absolutely sure you want to do this then read up on EOT, CSS2's '@font-face and font linking. (Google will have pages and pages on these with far better descriptions than i can give).

However i would not go with any of these, your site will be larger, slower, cause errors, security warnings etc.

Converting text to image for anything but a logo is a no go due to search engines and load times.

For main body text i would use one of the default fonts.

Link to comment
Share on other sites

  • 0
...

For main body text i would use one of the default fonts.

(Y)

No font is so "totally epic" that it needs to be forced upon the person browsing.

Link to comment
Share on other sites

  • 0

(Y)

No font is so "totally epic" that it needs to be forced upon the person browsing.

(Y) The amount of times i think i've created something epic only to find i'm the only one that c

likes it :( haha

Link to comment
Share on other sites

  • 0

@font-face is the only way you should do it.

Images is a bad idea.

But remember, if you are gonna force a font on someone, be considerate. Not everyone has good vision, and most fonts people like to use are hard to read.

Link to comment
Share on other sites

  • 0

Yes, Cufon is awesome. Sure you might not be able to select/highlight that specific item but the source still shows it as text.

I only use Cufon with headings. I'd use @font-face if you plan on using a different font for your content. I've seen it played off quite well but you have to use a font that is not going to look like crap in general.

Link to comment
Share on other sites

  • 0

Font-face isn't supported as far as I'm aware? sIFR or whatever its called would work best me thinks.

It works in IE 6 and above. I've tried it using the Sensation font, works well with other browsers too.

Link to comment
Share on other sites

  • 0

IE4 and higher support @font-face, although only their own format and not very well.

Safari (and anything based on WebKit) support it, although there are some issues (stay away from SVG fonts in Safari)

Opera 10+ (or so) also supports it, but their implementation was pretty badly broken in the first release (only supported one face per family, so a bold face had to be in a different family)

Firefox 3.5+ supports it, although their implementation lacks unicode-range support, but apart from that it's a pretty good implementation.

Link to comment
Share on other sites

  • 0

I thought if you upload the fonts to your server in the same location as the css it would draw that. I have done that and visited my website from another computer without the font and it showed the correct one..? Dunno though I might be wrong, but I swear its worked that way for me..

Link to comment
Share on other sites

  • 0

Guys, it was pretty irresponsible to tell him how to do it without first asking to see the font. It's *possibly* good, but more likely it's worse than comic sans. :p

Link to comment
Share on other sites

  • 0

Guys, it was pretty irresponsible to tell him how to do it without first asking to see the font. It's *possibly* good, but more likely it's worse than comic sans. :p

Pfft, with proper font rasterization readability won't be an issue.

Windows users can always buy a Mac or install Linux.

:p (Truth be told, DirectWrite should fix it, although it does try to maintain backwards "compatibility" with GDI's rendering)

Link to comment
Share on other sites

  • 0

Pfft, with proper font rasterization readability won't be an issue.

Windows users can always buy a Mac or install Linux.

:p (Truth be told, DirectWrite should fix it, although it does try to maintain backwards "compatibility" with GDI's rendering)

Or we could just reboot our pc's into OSX or Linux no need to buy overpriced hardware just to run OSX!

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.