Revert "Added utility for loading web fonts using @font-face."

This reverts commit 5ea5d3d6f3.
This commit is contained in:
Chris Eppstein 2009-12-21 07:53:13 -08:00
parent f6b319268e
commit 423d8616a6

View File

@ -1,19 +0,0 @@
//**\\
@font-face loading utility
Provides custom web fonts that can be referenced by name for any font-family
declaration.
Set up the !font_path variable for where your font-files are stored. You
should have files in both .eot and .otf formats.
+font-face( "Compass Sans Regular", "compass_sans_reg", "CompassSans-Regular" )
!font_path ||= "/stylesheets/fonts"
=font-face(!family_name, !file_basename, !local_family_name)
!file_path = "#{!font_path}/#{!file_basename}"
@font-face
font-family= "'#{!family_name}'"
src= url(!file_path+".eot")
src= local("'#{!family_name}'"), local("'#{!local_family_name}'"), url(!file_path+".otf") format('opentype')