owen

Administrator

Last active 2 years ago

  1. 2 years ago
    Mon May 18 15:47:52 2015

    The solution was to use 'image' instead of 'url' as the source e.g

    src: image('/fonts/custom-webfont.eot');

  2. Mon May 18 15:43:19 2015

    When including a custom font via font face the font is not pulled through into the TDK or editor.

    In the CSS I have:

    @font-face {
    font-family: 'custom-webfont';
    src: url('/fonts/custom-webfont.eot');
    src: url('/fonts/custom-webfont.eot?#iefix') format('embedded-opentype'),
    url('/fonts/custom-webfont.woff2') format('woff2'),
    url('/fonts/custom-webfont.woff') format('woff'),
    url('/fonts/custom-webfont.ttf') format('truetype'),
    url('/fonts/custom-webfont.svg#custom-webfont') format('svg');
    font-weight: normal;
    font-style: normal;
    }

    h1, h2 etc all have the correct values for font-family. I have the custom fonts in the assets folder but they are not working with 'url'.

  3. Mon May 18 10:02:54 2015
    owen started the conversation Including custom fonts using font-face.

    How do you include custom font assets from a font-face generator?

  4. Wed Feb 4 11:23:41 2015
    Dave changed owen's group to Administrator.
  5. Wed Feb 4 11:23:38 2015
    Dave changed owen's group to Member.
  6. Wed Feb 4 11:23:32 2015
    Dave changed owen's group to Administrator.