From a841d3a839ff34670aa23e0f5be11731dc978b33 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Fri, 3 Aug 2012 10:46:41 -0700 Subject: [PATCH] derp, not everyone wants a cdn from google. if anyone who has this problem wants to fix it, you need to set cross origin headers for your fonts if they are hosted from another domain for FF to recognize them. You cant set said header on cloudfront. Revert "fix roboto in firefox"" This reverts commit e87d9af52c40c56a6fc0be3d520b4db7172a3cc3. --- app/assets/stylesheets/new_styles/_typography.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/new_styles/_typography.scss b/app/assets/stylesheets/new_styles/_typography.scss index 194caa994..af01b9bb4 100644 --- a/app/assets/stylesheets/new_styles/_typography.scss +++ b/app/assets/stylesheets/new_styles/_typography.scss @@ -1,22 +1,19 @@ /* Roboto */ @font-face { font-family : Roboto; - src : url('https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA') format('woff'), - image-url('fonts/Roboto-Regular.ttf'); + src : image-url('fonts/Roboto-Regular.ttf'); weight : normal; } @font-face { font-family : Roboto-Bold; - src : url('https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw') format('woff'), - - image-url('fonts/Roboto-Bold.ttf'); + src : image-url('fonts/Roboto-Bold.ttf'); weight : normal; } @font-face { font-family : Roboto-Light; - src : url('https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw') format('woff'), image-url('fonts/Roboto-Light.ttf'); + src : image-url('fonts/Roboto-Light.ttf'); weight : normal; }