views:

200

answers:

3

I have Din Engshrift and other obscure fonts installed on my machine where I do development. But when I try to access them from HTML, they look completely warped. Fonts like "Courier New" work fine. What causes that?

+1  A: 

DIN Engschrift is available in OTF, PS, and FF formats, for both the Mac and PC. It's possible that the browser you are using does not fully support the font format you have installed. Try adding the other formats, or try a different browser.

http://new.myfonts.com/fonts/urw/engschrift/

I assume you already realize that any HTML pages you make with unusual font5s will not render the same on a machine that lacks those fonts.

Nosredna
+1  A: 

Using anything but standard-fonts is possibly only since very recently: http://www.tudy.ro/2008/09/02/embedded-web-fonts-are-back/.

It won't work in all browsers, though.

UPDATE:

This might be interesting, too: Typekit

nes1983
I don't think he's talking about embedding them. Just referring to ones that are on his machine. I can't be sure, though.
Nosredna
Well, alright, but it's html. Only few people write html for themselves. So, in case he ever wants anyone else to look at that html, the embedding question will be interesting.
nes1983
+1  A: 

Supported fonts depend on the browser, though Firefox on my Mac apparently allows me to use any font available on my computer. However, since I am a Web developer and so I expect people who have different OSes to see my site, I am only using fonts that are "Windows/Mac Web-safe" (Mac OS X helpfully lists those as a collection in Font Book)

This isn't much, but world isn't ideal.

It's possible with CSS Fonts module to tell the browser to load a font you want (@font command), but the practical support isn't great.

ilya n.