Re: [css3-fonts] @font-face font-family names used in other @font-face rules

Le 04/03/2013 19:52, Tab Atkins Jr. a écrit :
> @font-face {
>    font-family: "FooWithBarAmpersand";
>    src: url("http://example.com/foo.ttf");
> }
> @font-face {
>    font-family: "FooWithBarAmpersand";
>    src: url("http://example.com/bar.ttf");
>    unicode-range: u+26;
> }
>
> Note that you can do this even if you don't control the CSS that sets
> up the initial foo.ttf face, as long as you ensure that it appears
> first in the CSS document order.  For example, if you're loading a
> "Wendy One" font from Google's webfont directory, you can do:
>
> @import url(http://fonts.googleapis.com/css?family=Wendy+One);
> @font-face {
>    font-family: "Wendy One";
>    src: url("fancy-ampersand.ttf");
>    unicode-range: u+26;
> }

I think that Adam asked for the opposite: only use the ampersand from a 
font from Google Web Fonts.

-- 
Simon Sapin

Received on Monday, 4 March 2013 19:21:14 UTC