Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How can I add fonts in HTMLarea?

How can I add fonts in HTMLarea?

Locked

Views: 780

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
10 May 2010, 9:48 AM
#1
ekele avatar

ekele

Zen Follower

Join Date:
Apr 2010
Location:
UK
Posts:
150
Plugin Contributions:
0

How can I add fonts in HTMLarea?

Hello,

can I add other fonts in HTMLarea? If yes, how? I need Curlz MT.

Any advice, please:smile:?

10 May 2010, 10:12 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How can I add fonts in HTMLarea?

I don't know about HTMLArea, but I don't have Curlz MT installed on my pretty-much-stock XP computer, so I (and anyone else using XP, and, I think, Windows 7) won't see that font on your pages anyway.

10 May 2010, 11:28 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How can I add fonts in HTMLarea?

As Steve indicates, the font that you choose on YOUR side, ALSO has to be on the customer's computer.

I too don't have that "curlz" font on my machine, so if you specify that "curlz" is the font you want to use, then all computers without it will not see that font.

That is why websites stick to the "generic" fonts - ones that are always embedded in the operating software.

10 May 2010, 11:34 AM
#4
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: How can I add fonts in HTMLarea?

Unless you use flash text or this Cufon thing
http://www.zen-cart.com/forum/showthread.php?t=154480
its pointless to specify a font on your site that most people wont have installed on their own computer. Their browser will just subsitute your fancy font for their standard (eg arial/times new roman) ones and your site will look nothing like what you have designed.

There are lists available of the default-installation Windows and Mac fonts that you should choose from, to get the most compatibility with other machines.

10 May 2010, 1:40 PM
#5
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: How can I add fonts in HTMLarea?

Better than Cufon is simple javascript and php that will generate your font as "images" using the GD Library. I have used this method often in designing sites.
See this article on A List Apart to learn how to do it : http://www.alistapart.com/articles/dynatext/

BTW - I don't recommend this for ALL text on your site, but for headings. titles, etc. it is a very handy technique

10 May 2010, 2:06 PM
#6
ekele avatar

ekele

Zen Follower

Join Date:
Apr 2010
Location:
UK
Posts:
150
Plugin Contributions:
0

Re: How can I add fonts in HTMLarea?

Thanks for fast reply, guys.
Yes, I think you are absolutely right:smile:

10 May 2010, 2:24 PM
#7
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,016
Plugin Contributions:
2

Re: How can I add fonts in HTMLarea?

TinaS:

Better than Cufon is simple javascript and php that will generate your font as "images" using the GD Library. I have used this method often in designing sites.
See this article on A List Apart to learn how to do it : http://www.alistapart.com/articles/dynatext/

BTW - I don't recommend this for ALL text on your site, but for headings. titles, etc. it is a very handy technique

Hi TinaS

Have you used A List Apart's method to display attribute text, whether pre-programmed or input by the customer, and generated from a font pre-programmed or selected by the customer, as for example could be used for the message in a greeting card product.

TIA