Skip to content

Instantly share code, notes, and snippets.

@yous
Last active September 16, 2021 11:57
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 yous/91ff6ca317304654aa71e7fdf504e25d to your computer and use it in GitHub Desktop.
Save yous/91ff6ca317304654aa71e7fdf504e25d to your computer and use it in GitHub Desktop.
Replace old fonts with new ones
/* ==UserStyle==
@name Replace fonts in macOS
@namespace https://github.com/yous
@version 1.0.0
@description Replace old fonts with better ones
@author yous
@homepageURL https://gist.github.com/yous/91ff6ca317304654aa71e7fdf504e25d
@updateURL https://gist.github.com/yous/91ff6ca317304654aa71e7fdf504e25d/raw/replace-fonts-macos.user.css
@license CC-BY-4.0
==/UserStyle== */
@-moz-document regexp(".*") {
@font-face {
font-family: "AppleGothic";
src: local("-apple-system");
}
}
/* ==UserStyle==
@name Replace fonts in Windows
@namespace https://github.com/yous
@version 1.0.0
@description Replace old fonts with better ones
@author yous
@homepageURL https://gist.github.com/yous/91ff6ca317304654aa71e7fdf504e25d
@updateURL https://gist.github.com/yous/91ff6ca317304654aa71e7fdf504e25d/raw/replace-fonts-windows.user.css
@license CC-BY-4.0
==/UserStyle== */
@-moz-document regexp(".*") {
@font-face {
font-family: "바탕";
src: local("Source Han Serif KR");
}
@font-face {
font-family: "Batang";
src: local("Source Han Serif KR");
}
@font-face {
font-family: "바탕체";
src: local("Source Han Serif KR");
}
@font-face {
font-family: "BatangChe";
src: local("Source Han Serif KR");
}
@font-face {
font-family: "돋움";
src: local("system-ui");
}
@font-face {
font-family: "Dotum";
src: local("system-ui");
}
@font-face {
font-family: "돋움체";
src: local("system-ui");
}
@font-face {
font-family: "DotumChe";
src: local("system-ui");
}
@font-face {
font-family: "굴림";
src: local("system-ui");
}
@font-face {
font-family: "Gulim";
src: local("system-ui");
}
@font-face {
font-family: "굴림체";
src: local("system-ui");
}
@font-face {
font-family: "GulimChe";
src: local("system-ui");
}
@font-face {
font-family: "새굴림";
src: local("system-ui");
}
@font-face {
font-family: "New Gulim";
src: local("system-ui");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment