Forums

Give help. Get help.

  • # November 29, 2011 at 12:48 pm

    http://www.lwebdesigns.net/templates/luannarodham/index.php

    I loaded an aller font onto this website for the header tags. I have a ttf, eot, woof, and otf loaded. It was originally a ttf and I used a converter to convert the others. Any idea why it would look good on firefox and ie but not on webkit browsers? I did try putting this in the body -webkit-font-smoothing: subpixel-antialiased !important; and it did nothing.

    Should I use a different font? What would be a good one to use for my headers?

    # November 29, 2011 at 1:59 pm

    I have noticed recently a lot of the non-standard fonts I have been using look terrible in Chrome, not necessarily all Webkit browsers though. Even when using Google fonts, go figure. I believe it is just the way these browsers render the font and there isn’t much you can do about it.

    # November 29, 2011 at 6:04 pm

    Yeah, I have noticed that too! It looks fine for h3 and h4. I will try to find a different font for h1, h2, and h5. I wonder if there is a way to make a different font load for Safari and Chrome.

    # November 30, 2011 at 3:32 am

    you can use css hack specific for webkit browsers(chrome and safari) to load different fonts in your webpage.

    # November 30, 2011 at 11:33 am

    Matt,

    How do I do that :D? Do you know of any good tutorials?

    # November 30, 2011 at 11:36 am

    Nevermind, this worked like a charm

    @media screen and (-webkit-min-device-pixel-ratio:0) {
    h1 { font-family: Arial, Verdana, San-Serif; }
    }

    # November 30, 2011 at 2:53 pm

    Heh. Seems like bad practice to be doing this. We should be using fonts that are optimized for the web.

    # November 30, 2011 at 3:33 pm

    Perhaps the fonts you’re using are just saying they are optimized but really not? Where are you all getting your fonts from? I haven’t had issues but that’s not to say I’m right.

    # November 30, 2011 at 3:51 pm

    Hmm. Typekit should be pretty solid. I started testing Brandon Grotesque on my site 3 months ago (still in design stage) until typekit added it to its library and have seen 0 issues cross-browser.

    # November 30, 2011 at 5:39 pm

    I’ve run across a lot of bad looking fonts in Chrome on Windows, but the same fonts looked great in the Mac version of Chrome. With a little further research it turns out that Chrome in windows, for whatever reason, uses a software approach for anti-aliasing fonts, while Firefox and IE9 use hardware accelerated DirectWrite to accomplish the same task. This is only an issue on Windows, as it has to do with DirectX. Sorry, no solution, but maybe with some more awareness, Google can add some hardware anti-aliasing to Chrome.

    # November 30, 2011 at 6:15 pm

    I thought the code below was a fix for that?

    -webkit-font-smoothing: antialiased;

    Also, I noticed that the nav links on http://teamtreehouse.com looks awful on Windows (perhaps Chrome alone, haven’t tested other browsers).

    # November 30, 2011 at 6:24 pm

    I thought so too. I tried that and it didn’t fix my problem :/.

    # November 30, 2011 at 7:02 pm

    You had my hopes up!
    Just tried it and it didn’t work for me. I tried the code on some Google Web Fonts that I’ve known to have some issues in the Windows version of Chrome and Safari. The way I understand it, it is more dependent upon the anti-aliasing process. Chrome for Windows does anti-alias but just not as good as what DirectX can do. I looked into the above code, and it seems to only affect WebKit browsers on the Mac. Anyone else have any experience with this? I would love to be proved wrong!
    You can impose a hack and add

    text-shadow: 0 0 1px rgba(###,###,###,.5)

    but that doesn’t really address the issue.

    # November 30, 2011 at 7:29 pm

    Oh, right. I forgot that solved the Mac issue. But yeah, I don’t use Google web fonts so I can’t answer there. However, I haven’t seen issues with it on Typekit (at least with the fonts I use).

    # December 1, 2011 at 12:50 am

    Try using the fontsquirrel.com @FONT-FACE GENERATOR with your fonts and click the expert settings. I can’t remember off the top of my head at this time without going to fontsquirrel, but I believe there used to be a setting to help font rendering. Anyway for what ever reason it generates fonts better then most. I had the same issue with chrome fonts and a lot better luck generating my own. Good luck.

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

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag