我正在使用来自Google Fonts的Ubuntu字体:
<link href='http://fonts.googleapis.com/css?family=Ubuntu:300,400,300italic,400italic,500,500italic,700,700italic' rel='stylesheet' type='text/css' />
我的样式表:
body {
font-family: 'ubuntu',arial;
}
虽然它能正常工作,但如果安装一个与 Google 字体同名的字体(Ubuntu),就会覆盖来自 Google Fonts 的字体。
是否有可能强制浏览器使用来自 Google Fonts 的字体?
local('Something Nonexistant')
?为什么不只是删除本地内容,使其只剩下url('whatever')
? - Matt Grandelocal()
的情况下看看是否在所有浏览器中都能正常工作是一个好主意。这有可能成立。 - Jonas Lekevicius