Skip to content

Instantly share code, notes, and snippets.

@netj
Created March 13, 2012 05:45
Show Gist options
  • Save netj/2027047 to your computer and use it in GitHub Desktop.
Save netj/2027047 to your computer and use it in GitHub Desktop.
맥 웹브라우저에서 AppleGothic 그만 보이게 하는 사용자 스타일 시트
/*
* 정확히 AppleGothic만 다른 글꼴로 바꾸는 사용자 스타일 시트
*
* 애플고딕을 쓰도록 명시적으로 지정한 사이트에서도 원하는 글꼴로 바꿀 수 있게 해주는 방법이며,
* 영문 글꼴이나 다른 한글 글꼴까지 몽땅 하나로 통일해서 써야 했던 font-family를 강제로 지정하는 방식과는 달리
* 정확히 애플고딕만 다른 글꼴로 바꿔서 사용하는 매우 깔끔한 방법입니다. :)
*
* 사용 방법:
* Safari는 아무 곳에나 저장해두고 환경설정 > 고급 > 스타일 시트에서 파일 선택
* Google Chrome은 ~/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css
*
* Home: https://gist.github.com/2027047
* Author: Jaeho Shin <netj@sparcs.org>
* Created: 2012-03-12
*/
@font-face {
font-family: AppleGothic;
src: local("Apple SD Gothic Neo"),
local("HCR Dotum LVT"), local("HCR Dotum"),
local("Nanum Gothic"),
local("AppleGothic");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment