Skip to content

Instantly share code, notes, and snippets.

@codian
Created July 29, 2012 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codian/3195898 to your computer and use it in GitHub Desktop.
Save codian/3195898 to your computer and use it in GitHub Desktop.
사파리 6에서 기본 폰트를 설정을 위한 User CSS
/*
사파리 6에서 기본 폰트 설정이 없어짐. 대신 Preferences > Advanced > Style sheet 옵션을
통해 CSS를 지정하여 기본 폰트를 지정할 수 있음. 다음은 기본 폰트를 다음 나눔고딕(OTF)로 지정하고
입반적으로 사용되는 폰트명에 대해 alias 설정 한다.
*/
/* 기본 폰트를 나눔고딕으로 지정 */
body { font-family: NanumGothicOTF; }
/* Font alias 설정 */
@font-face { font-family: "나눔고딕"; src: local("NanumGothicOTF"); }
@font-face { font-family: "NanumGothic"; src: local("NanumGothicOTF"); }
@font-face { font-family: "나눔고딕 Bold"; src: local("NanumGothicOTF"); font-weight: bold; }
@font-face { font-family: "굴림"; src: local("Apple SD Gothic Neo"); }
@font-face { font-family: "Gulim"; src: local("Apple SD Gothic Neo"); }
@font-face { font-family: "돋움"; src: local("Apple SD Gothic Neo"); }
@font-face { font-family: "dotum"; src: local("Apple SD Gothic Neo"); }
@font-face { font-family: "맑은 고딕"; src: local("Apple SD Gothic Neo"); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment