[FX.php List] [OT] How to display special fonts in an HTML
page
Kevin Futter
kfutter at sbc.melb.catholic.edu.au
Wed Mar 22 15:04:18 MST 2006
On 23/3/06 2:27 AM, "Bob Patin" <bob at patin.com> wrote:
> This is probably easier than I'm making it, but so far I've had zero
> luck:
>
> I have a very big client who needs some pages displayed using
> specific fonts and sizes. They've provided the fonts to me, which
> I've installed in my Mac and used to design some simple test pages in
> Dreamweaver.
>
> The problem is that, even though Dreamweaver shows the fonts as I've
> used them, when I go on the web, or preview in my browser, I see
> generic fonts.
>
> Am I mistaken, or isn't it possible to use special fonts in HTML
> pages, provided the site visitor has the fonts installed on his
> system? Since I have the fonts installed (one of them is Cheltenham,
> for example), shouldn't I be able to see the pages with the
> appropriate fonts?
>
> Is there some special trick that I need to use in my HTML that will
> make this work properly?
>
> Thanks for any wisdom,
>
> Bob Patin
How are you specifying your fonts Bob? Are you using CSS, or (ugh) font
tags? Normally you'd use CSS to specify a list of fonts, going from most
specific (and desirable) to most generic (and least desirable). The browser
will fall back through the list of fonts looking for a match, and render the
page with that font, or failing that, the generic fallback. So, as long as
you've specified your fonts correctly and have them installed, it should
work. However, *only* visitors with those fonts installed will see them, so
if they're specialty typefaces, it's a waste of time generally.
Maybe post the code you're using to specify fonts and we can see if there
are any errors.
--
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/
More information about the FX.php_List
mailing list