(no subject)

Dec. 22nd, 2012 05:55 pm
[personal profile] swaldman posting in [community profile] style_system
I squeeeed quite a lot when I heard that webfont support was now available in the wizard.
However, I can't figure out how to use it. I think that I'm doing something wrong with DW, but it may be that I'm doing something wrong more generally - I'm new to this.

So I've used FontSquirrel's excellent converter to produce versions of the font in all the various formats, and I've hosted them all at http://www.firecloud.org.uk/07509_centaur-webfont.extension.

I've created a file at http://www.firecloud.org.uk/centaur.css, which contains:
@font-face {
    font-family: 'Centaur';
    src: url('http://www.firecloud.org.uk/07509_centaur-webfont.eot');
    src: url('http://www.firecloud.org.uk/07509_centaur-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://www.firecloud.org.uk/07509_centaur-webfont.woff') format('woff'),
         url('http://www.firecloud.org.uk/07509_centaur-webfont.ttf') format('truetype'),
         url('http://www.firecloud.org.uk/07509_centaur-webfont.svg#centaurregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
In the Dreamwidth Customize wizard, I have put the font to use as "Centaur,Times New Roman,serif" in a number of fields, and I have put "http://www.firecloud.org.uk/centaur.css" as the "Embedded fonts stylesheet URL ".

And yet, I'm still seeing this text display in Times New Roman.

Help! What am I missing?

Thanks :-)
 

Date: 2012-12-23 08:40 pm (UTC)
exor674: Computer Science is my girlfriend (Default)
From: [personal profile] exor674
Yeah, DW's cssproxy caches the cleaned content for 5 minutes ( unless you have a no-caching specified in the http headers, so next time you want to mess with things, set that first and wait for it to expire! ).

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 8th, 2025 10:28 am
Powered by Dreamwidth Studios