Search code examples
cssfontscross-browsertypography

font weights differing in webkit and firefox


Im finalizing a design for which ive been working soley in firefox up to this point, just taking it across to webkit the first time ive notice is my headings differ quite allot, they are in Helvetica Neue UltraLight 50px, so in css :

font-family: "helvetica neue"; font-weight:100; font-size:50px; 

when viewed in firefox it looks like the version on the left

viewed in webkit (safari, chrome, ios safari) it looks like the version on the right

firefox helvetica neue ultra light webkit helvetica neue ultra light

any idea how i can bring these two further closer together ?

ive also made a small jsfiddle if any one wants to play around with the css,


Solution

  • I've had luck with this in the past for pesky webkit fonts displaying bolder than intended:

    -webkit-font-smoothing: antialiased;
    

    I would also recommend using a CSS @font-face to display Helvetica Neue fonts. Helvetica Neue is not on all computers and operating systems by default. Hope this helps! :)