From 423d8616a6310f04be3b324931f58cf7d9c601a4 Mon Sep 17 00:00:00 2001 From: Chris Eppstein <chris@eppsteins.net> Date: Mon, 21 Dec 2009 07:53:13 -0800 Subject: [PATCH] Revert "Added utility for loading web fonts using @font-face." This reverts commit 5ea5d3d6f3449206771f30de41581fd6bce9850b. --- .../compass/utilities/text/_fonts.sass | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 frameworks/compass/stylesheets/compass/utilities/text/_fonts.sass diff --git a/frameworks/compass/stylesheets/compass/utilities/text/_fonts.sass b/frameworks/compass/stylesheets/compass/utilities/text/_fonts.sass deleted file mode 100644 index da02ee6d..00000000 --- a/frameworks/compass/stylesheets/compass/utilities/text/_fonts.sass +++ /dev/null @@ -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')