Treehouse: Grow your CSS skills. Land your dream job.

Generating font-face css for custom fonts

  • # November 25, 2011 at 12:01 am

    Hi Guys i have to use a custom fonts in my web page for that i have generated css in “” but it throw “Error” message when i upload my .ttf fonts. As i guess shows that it blacklisted fonts.

    Can any one solve this problem?

    # November 25, 2011 at 12:52 am

    Well, you need to make sure that the font’s license specifically allows them to be used on the web, many of them require a separate license even if you purchased it for your desktop…Goto and see if you can;t find something similar.

    # November 25, 2011 at 5:35 am

    i don’t have any license for that i have downloaded that from a free site. font is ‘Gill Sans MT Condensed Bold’.

    # November 25, 2011 at 11:52 am

    You are trying to use a font that isn’t allowed to be used in that way. If you want to use it on your website you’ll need to get a proper license to do so.

    # November 25, 2011 at 6:48 pm

    The font must be pirated.

    # November 25, 2011 at 10:20 pm

    I personally don’t think it’s because of this. Unless you entered the option : ” I don’t have a license” like in Cufon.

    # November 25, 2011 at 10:21 pm

    seriously, did any of you ever used a license for a Microsoft font? I guess I m an alien and an outlaw.

    # November 25, 2011 at 10:26 pm

    @seb_z_lite Really =/?

    i don’t have any license for that i have downloaded that from a free site

    The font is not free and comes with a license.

    We all should be supporting type designers, not steal from them.

    # November 25, 2011 at 10:41 pm

    I support font designers. I pay for my fonts.And I said Microsoft, if I need Arial Black and I m using Linux, do you think I m going to buy it?. but, Gill Sans MT was created by mr. Gill in 1926. and here it says :

    Don’t worry, I support designers more than a lot of people, I just knew that somebody was going to interpret that as bragging. Alright, I said too much already. Before I start getting called a troll. Far from that, I dedicated my life to art. I m just worried when people think that a company like Microsoft deserves respect. Do you think they care about artists?

    # November 25, 2011 at 10:48 pm

    Doesn’t matter where Gill Sans is installed. Monotype is the foundry, it sets the rules.

    My point was that Gill Sans is not free as the person above said he acquired it for free.

    # November 25, 2011 at 11:05 pm

    I always check licenses before using fonts…if you don’t, even if it is unintentional and the license does not explicitly list that you may use it for web, you are in fact stealing.

    fontsquirrel along with google webfonts both have plenty of pre-made resources for free appropriately licensed fonts…I highly suggest you look there…

    # November 26, 2011 at 1:18 pm

    Personally, i like to use fontsquirrel for generating the CSS but I wouldn’t recommend using google web fonts.

    # November 26, 2011 at 11:57 pm

    Google Web Fonts gets my vote for sure.

    # November 27, 2011 at 3:37 pm

    I’m just curious to know the reasons to choose Google web fonts?

    # November 27, 2011 at 4:47 pm

    I don’t use Google fonts often, but I can certainly understand @TheDoc‘s vote. I think the better question would be why you wouldn’t recommend Google Web Fonts @ChristopherBurton?

    You say that you use Font Squirrel to generate the correct @font-face CSS, but Google Web Fonts also use @font-face. The rendering may not be as nice as Typekit, but it’s no different to using Font Squirrel.

    Is it due to their selection? Not everyone will have the same tastes as you or I.

Viewing 15 posts - 1 through 15 (of 20 total)

You must be logged in to reply to this topic.