Jump to content

Can i ad more fonts


Guest Bitz'n'Batz

Recommended Posts

Guest Bitz'n'Batz

Its been a while but im back online and just installed cc3.5 and loving it.

I was wondering if anyone know how to put more fonts into cubecart so i can make my ads look more interesting?

Is it possable?

Thanx

Link to comment
Share on other sites

You can use any font you like with appropriate style sheet or inline style references. But be careful what you choose. You want to always include standard fonts in your selections as well so nobody gets garbage they don't want.

:huh:

Link to comment
Share on other sites

1. Get the two files moon wrote about.

your_skin_name/styleSheets/layout.css (etc.)

2. Search both files for font-family

You will find every area where a font type is specified. You will typically find a few fonts separated by commas, like this:

font-family: arial, helvetica, sans-serif;

These are very common fonts . . . a browser will display the first font listed, unless it is not installed on the viewer's browser, in which case it displays the next font listed, unless that one is missing from the browser's available fonts too, in which case it displays the last one - the most generic of all - sans-serif.

3. As you find each of these instances, add your new font to the front of the list. If you wanted to use "Lucida Calligraphy Italic" for instance, you would find each occurance of font-family, and add your font like this:

font-family: Lucida Calligraphy Italic, arial, helvetica, sans-serif;

4. That's all, then save file and upload back to site.

Link to comment
Share on other sites

Well, now that I'm in the tutorial mode, may as well go all the way :huh:

  • As Sir William wrote, your visitors may not have the special font you used installed, and that is why several fonts are listed. If your chosen font prints far larger than the more generic fonts you have listed, the page may look considerably different to a person who does not have your special font, and in some cases it can sort of screw up the display somewhat.
  • It is also possible to embed your font into the page. To do this, first you need to have the font in an .eot format, and uploaded to the internet. You'll need to have a URL to the font you're embedding.

Embedding a font:

1. In the stylesheet, type:

@font-face {

      font-family: "Lucida Calligraphy Italic";

      src: url(http:mywebsite.com/myFontFilepath/LucidaCallItalic.eot)

}

2. Replacing the red text with actual font name and real font file path :D

3. Use font name now just like in my post above, but the visitor's browser will download your font. :)

Link to comment
Share on other sites

@markscart are you familiar with EOT fonts?

I tryed, but dismissed it rather.

Unnamed company producing the largest virus on the world released a utility called WEFT many years ago. This utility makes eot working almost properly in IE only :errm:

GlyphGate is a browser 'independet' alternative however payed and server sided (guess).

Any news?

Link to comment
Share on other sites

Guest theorbo

Regardless of who produced WEFT, the single biggest drawback to its use is the fact that it works only in IE. If you know for sure that none of your potential buyers use anything but IE, it's a viable alternative. It works perfectly well for what it is - for IE. The only problem otherwise I ever ran into with it is that some fonts (usually the ones I wanted to use!) are just not embeddable.

It's not a very good option for a world which is increasingly using other browsers. Try searching for "image replacement", "SiFR", etc. These are other technologies/options. I gave all that up years back simply because most people would I believe rather see a readable font and not necessarily what a designer thinks is "cool".

For certain sites, for certain important headers, I will make a small .png graphic for the title. It's better in the long run.

Link to comment
Share on other sites

@ convict & theorbo:

Yes, I am familiar with EOT fonts, but as you may have guessed, I am a bit of a dinosaur. I must confess that I never used embedded fonts much either, and was recalling information I learned about six years ago when writing my reply above. Sorry, nothing new to write about EOT and my apologies for espousing dated information.

Like theorbo, I generally use an image file for special fonts in headers. On the rare occasion I use a "sexy" font in the body of a web doc, I follow it by specifying generic fonts for browsers that won't display it.

Here is a more up-to-date solution for those who simply have to foist special fonts on the web-browsing public:

http://www.bitstream.com/font_rendering/pr...edoc/index.html

I have only recently been introduced to this, and haven't used it, perhaps someone else knows more about the truedoc solution :whistle:

Link to comment
Share on other sites

Hi everyone, newbie here. :D

From what I understand of any fonts on the web is sticking to the general ones. If the viewer does not have a certain font on their system it will revert ot what they have, so throwing all the design out of the window. I assume it's the same with CC.

If I really want to show some outlandish font I save it as a jpeg, but this is very limiting.

p.s. Thanks to all posters, been reading the advice for the last 2 days to help me get up and running. Nice to see there's still community spirit still alive on the net.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...