문서의 이전 판입니다!
/* Recommended */ @font-face{ font-family:ng; src:url(NanumGothic.eot); src:local(※), url(NanumGothic.woff) format(‘woff’) } body{font-family:나눔고딕, NanumGothic, ng}
AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType font/woff .woff <FilesMatch "\.(ttf|otf|eot|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> # 아래와 같이 여러 도메인을 추가 할 수 있다는 얘기가 있는데, 실제론 작동하지 않았다. Header add Access-Control-Allow-Origin "http://domain1.com" Header add Access-Control-Allow-Origin "http://domain2.com"
unicode-range
로 특정 영역만 적재가 가능하다. 2012년 현재 IE 9+, Webkit 계열만 지원.@font-face { font-family: foo; src: url('foo.ttf'); unicode-range: U+31-33; }