Use the code below to use Pretendard as a webfonts in a Latin environment with a small file size. Provided font-family name is "Pretendard Std"
.
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-std.min.css" />
cdnjs, UNPKG
<link rel="stylesheet" as="style" crossorigin href="https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/pretendard-std.css" />
<link rel="stylesheet" as="style" crossorigin href="https://unpkg.com/[email protected]/dist/web/static/pretendard-std.css" />
@import url("https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-std.min.css");
cdnjs, UNPKG
@import url("https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/pretendard-std.css");
@import url("https://unpkg.com/[email protected]/dist/web/static/pretendard-std.css");
Use the code below to use Pretendard Std faster by loads the font-slices required from the page. Provided font-family name is "Pretendard Std"
.
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-std-dynamic-subset.min.css" />
cdnjs, UNPKG
<link rel="stylesheet" as="style" crossorigin href="https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/pretendard-std-dynamic-subset.css" />
<link rel="stylesheet" as="style" crossorigin href="https://unpkg.com/[email protected]/dist/web/static/pretendard-std-dynamic-subset.min.css" />
@import url("https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-std-dynamic-subset.min.css");
cdnjs, UNPKG
@import url("https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/pretendard-std-dynamic-subset.css");
@import url("https://unpkg.com/[email protected]/dist/web/static/pretendard-std-dynamic-subset.min.css");
You can use Pretendard Std dynamic subset much faster and smaller file size with a variable weight axis. Use the code below to use Pretendard Std with the variable dynamic subset. Provided font-family name is "Pretendard Std Variable"
.
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable-std-dynamic-subset.min.css" />
cdnjs, UNPKG
<link rel="stylesheet" as="style" crossorigin href="https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/variable/pretendardvariable-std-dynamic-subset.css" />
<link rel="stylesheet" as="style" crossorigin href="https://unpkg.com/[email protected]/dist/web/variable/pretendardvariable-std-dynamic-subset.css" />
@import url("https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable-std-dynamic-subset.min.css");
cdnjs, UNPKG
@import url("https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/variable/pretendardvariable-std-dynamic-subset.css");
@import url("https://unpkg.com/[email protected]/dist/web/variable/pretendardvariable-std-dynamic-subset.css");
Use the code below to use Pretendard Std with a variable weight axis. Provided font-family name is "Pretendard Std Variable"
.
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable-std.min.css" />
cdnjs, UNPKG
<link rel="stylesheet" as="style" crossorigin href="https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/variable/pretendardvariable-std.css" />
<link rel="stylesheet" as="style" crossorigin href="https://unpkg.com/[email protected]/dist/web/variable/pretendardvariable-std.css" />
@import url("https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable-std.min.css");
cdnjs, UNPKG
@import url("https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/variable/pretendardvariable-std.css");
@import url("https://unpkg.com/[email protected]/dist/web/variable/pretendardvariable-std.css");
If you want to fit the system-font as much as possible, the following font-family are recommended:
font-family: -apple-system, BlinkMacSystemFont, "Pretendard Std Variable", "Pretendard Std", Pretendard, Roboto, "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
If you want to provide the same environment anywhere, the following font-family are recommended:
font-family: "Pretendard Std Variable", "Pretendard Std", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
Pretendard Std can be installed on the machine and used as a system font.
brew tap homebrew/cask-fonts
brew install font-pretendard-std
# configuration.nix
{
fonts.packages = with pkgs; [
pretendard-std
];
}