![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Since the latest code push it's possible to embed web fonts in your stylesheet via the style wizard. What is the corresponding property if you want to set it in a theme layer? I'm working on a layout but don't use it as my journal style (which means I can't use the wizard).
Tags:
Not sure this is what you wanted
Date: 2012-12-08 12:09 pm (UTC)des = "Embedded fonts stylesheet URL";
note = "The URL must point to a font stylesheet such as 'http://fonts.googleapis.com/css?family=Average+Sans' and not directly at the font file. Embedded fonts can slow page loading time. Blank the field to stop using them.";
}
set font_sources = "";
Re: Not sure this is what you wanted
Date: 2012-12-09 03:15 pm (UTC)If I just use 'set font_sources = "";' and include a link such as 'http://fonts.googleapis.com/css?family=Average+Sans' nothing happens.
What am I doing wrong here?
no subject
Date: 2012-12-09 03:29 pm (UTC)Can you check your code and make sure you don't have an extra '? Looking at the source code of your journal I see it's fetching http://cssproxy.dreamwidth.org/?u=http://fonts.googleapis.com/css%3Ffamily%3DAverage%2BSans%27 instead of http://cssproxy.dreamwidth.org/?u=http://fonts.googleapis.com/css%3Ffamily%3DAverage%2BSans
See? There's an extra %27 at the end of the URL.
The prop should be set like so:
set font_sources = "http://fonts.googleapis.com/css?family=Average+Sans";
no subject
Date: 2012-12-09 03:53 pm (UTC)I'm testing 'http://fonts.googleapis.com/css?family=Grand+Hotel'
no subject
Date: 2012-12-09 04:01 pm (UTC)no subject
Date: 2012-12-09 06:00 pm (UTC)no subject
Date: 2012-12-09 06:03 pm (UTC)no subject
Date: 2012-12-10 05:03 pm (UTC)no subject
Date: 2012-12-10 07:33 pm (UTC)Edit: looking at the comments on the bug, it seems this was done on purpose. I had initially put the option in a difference place but was asked to move it to another function (I don't know why though as I don't know how stylesheet inheritance and cleaning works).
no subject
Date: 2012-12-09 04:06 am (UTC)