![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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:
And yet, I'm still seeing this text display in Times New Roman.
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 :-)
no subject
Date: 2012-12-22 07:16 pm (UTC)I'm seeing your title in, well, a different font now.
I give up trying to make the HTML cleaner not hate me.
Date: 2012-12-22 08:15 pm (UTC)<FilesMatch "\.(ttf|otf|woff|eot)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
Re: I give up trying to make the HTML cleaner not hate me.
Date: 2012-12-23 11:21 am (UTC)Re: I give up trying to make the HTML cleaner not hate me.
Date: 2012-12-23 02:21 pm (UTC)no subject
Date: 2012-12-23 11:19 am (UTC)Now I'm trying to add to it to make it use the Adobe Centaur font (which is nicer) if the user has that installed, and use the free webfont if not. I've set the hosted version to chmod 000 so that I can see what I'm doing, and I'm trying out src: local statements in the css file. And it only works in Chrome, not Firefox. Does firefox not pay attention to src:local or something?
I've got rid of the IE-fixing stuff for now for simplicity, and the css I'm trying is:
EDIT: But now it's working... I suspect there is some caching going on here and confusing things, either by the browsers or by DW's cssproxy. Ah well, it seems to work for now...
no subject
Date: 2012-12-23 08:40 pm (UTC)no subject
Date: 2012-12-23 09:36 pm (UTC)