From 9807b76092955767ee581b224fede531e780c063 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 12 Apr 2010 03:03:43 -0700 Subject: [PATCH] [Compass Core] Use the font url location in the font face mixin too. Closes #108. --- frameworks/compass/stylesheets/compass/css3/_font-face.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/compass/stylesheets/compass/css3/_font-face.scss b/frameworks/compass/stylesheets/compass/css3/_font-face.scss index 43c5e880..da4d364d 100644 --- a/frameworks/compass/stylesheets/compass/css3/_font-face.scss +++ b/frameworks/compass/stylesheets/compass/css3/_font-face.scss @@ -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: //