[Compass Core] Use the font url location in the font face mixin too. Closes .

This commit is contained in:
Chris Eppstein 2010-04-12 03:03:43 -07:00
parent 28731c499a
commit 9807b76092

View File

@ -12,14 +12,14 @@
@if $style {
font-style: $style; }
@if $eot {
src: stylesheet-url($eot); }
src: font-url($eot); }
@if $postscript {
src: local("#{$name}"), local("#{$postscript}"), #{$font-files}; }
@else {
src: local("#{$name}"), #{$font-files}; } } }
// EXAMPLE
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot", "thisname")
//
// will generate:
//