Skip to content

Instantly share code, notes, and snippets.

@ssut
Forked from netj/Custom.css
Last active December 23, 2015 04:19
Show Gist options
  • Save ssut/6579537 to your computer and use it in GitHub Desktop.
Save ssut/6579537 to your computer and use it in GitHub Desktop.
/*
* 정확히 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
* Updated: 2013-09-16 by SSUT*
*/
@font-face {
font-family: AppleGothic;
src: local("Apple SD Gothic Neo"),
local("HCR Dotum LVT"), local("HCR Dotum"),
local("Nanum Gothic"),
local("AppleGothic");
}
@font-face {
font-family: "돋움";
src: local("Apple SD Gothic Neo"),
local("Nanum Gothic");
}
@font-face {
font-family: Dotum;
src: local("Apple SD Gothic Neo"),
local("Nanum Gothic");
}
@font-face {
font-family: DotumChe;
src: local("Apple SD Gothic Neo"),
local("Nanum Gothic");
}
@font-face {
font-family: "굴림";
src: local("Apple SD Gothic Neo"),
local("Nanum Gothic");
}
@font-face {
font-family: Gulim;
src: local("Apple SD Gothic Neo"),
local("Nanum Gothic");
}
@font-face {
font-family: GulimChe;
src: local("Apple SD Gothic Neo"),
local("Nanum Gothic");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment