Revert "Force all Webkit-browsers/forks to use SVG fonts"

This is the possible cause of serious rendering issues with Chrome on
Windows 7.

As of Chrome 38, "SVG fonts are no longer supported, except on Windows
systems older than Windows 7"
See http://blog.chromium.org/2014/08/chrome-38-beta-new-primitives-for-next.html

Bug # 17129

This reverts commit 4d4c5ae76b.
pull/2248/head
Alex Coles 10 years ago
parent 670df4b410
commit b3226fad0d
  1. 9
      app/assets/stylesheets/global/_mixins.sass

@ -259,12 +259,3 @@ $button_gray_font_color: #222222
src: font-url('#{$file-path}.eot')
src: font-url('#{$file-path}.eot?#iefix') format('embedded-opentype'), font-url('#{$file-path}.woff') format('woff'), font-url('#{$file-path}.ttf') format('truetype'), font-url('#{$file-path}.svg##{$svg-font-id}') format('svg')
text-rendering: optimizeLegibility
// Always use SVG fonts (rather than WOFF/TTF) in WebKit-based browers
// FIXME: we only want to target Chrome on Windows
@media screen and (-webkit-min-device-pixel-ratio:0)
@font-face
font-family: $font-family
font-weight: $weight
font-style: $style
src: font-url('#{$file-path}.svg##{$svg-font-id}') format('svg')

Loading…
Cancel
Save