• Resolved David Wang

    (@blogjunkie)


    Hi there, you can specify the font-weight and style with @font-face like this:

    @font-face {
       font-family: 'Ubuntu';
          src: url('Ubuntu-RI-webfont.eot');
          src: url('Ubuntu-RI-webfont.eot?#iefix') format('embedded-opentype'),
               url('Ubuntu-RI-webfont.woff') format('woff');
       font-weight: 400;
       font-style: italic;
    }
    
    @font-face {
       font-family: 'Ubuntu';
          src: url('Ubuntu-B-webfont.eot');
          src: url('Ubuntu-B-webfont.eot?#iefix') format('embedded-opentype'),
               url('Ubuntu-B-webfont.woff') format('woff');
       font-weight: 700;
       font-style: normal;
    }

    Is there a way to do this with Custom Fonts? If not, is this a feature in development? Thank you!

Viewing 15 replies - 16 through 30 (of 47 total)
Viewing 15 replies - 16 through 30 (of 47 total)
  • The topic ‘Different font weights’ is closed to new replies.