사용자 글꼴을 사용하려면 @font-face
을 사용합니다. Firefox, IE, Safari 및 Mac의 Chrome에서 작동합니다. Chrome이 설치된 Windows 7에서 10px의 텍스트가 녹색이 아닌 검은 색 또는 회색으로 보입니다. ... 더 많은 테스트 후 : Firefox (Windows) 및 Safari (Windows)와 동일한 문제@ font-face rendering in Windows 7
어쩌면 Windows ClearType 렌더링과 관련이있을 수 있습니다. 그러나 Internet Explorer에서 작동하는 이유는 무엇입니까 ?? 페이지에
직접 링크 : http://www.light-work.de/chrome.html
키우면 정말 이상한! 이 문제는 10px fontsize (필요한 크기)에서만 발생합니다. light-work.de/webfontkit/
아래에서 표본 개요를 볼 수 있습니다.
더 큰 스크린 샷 : http://light-work.de/styles/02.png
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>google chrome</title>
<style>
/* Generated by Font Squirrel */
@font-face {
font-family: 'M10Regular';
src: url('http://light-work.de/styles/m10/m10-webfont.eot');
src: url('http://light-work.de/styles/m10/m10-webfont.eot?#iefix') format('embedded-opentype'),
url('http://light-work.de/styles/m10/m10-webfont.woff') format('woff'),
url('http://light-work.de/styles/m10/m10-webfont.ttf') format('truetype'),
url('http://light-work.de/styles/m10/m10-webfont.svg#M10Regular') format('svg');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'M10Regular';
line-height: 20px;
font-size: 10px;
color:#666666;
}
</style>
</head>
<body>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
</body>
</html>
크로스 브라우저 호환성을 원할 경우 언제나 Google 글꼴 http://www.google.com/webfonts – denislexic
을 사용할 수 있습니다. 이와 같은 상황에서 시도해야 할 첫 번째 일은 html : http : // validator의 유효성을 검사하는 것입니다. w3.org/ – AllisonC