rustdoc: avoid legacy Korean fonts in Windows
This commit is contained in:
parent
1025db84a6
commit
c150772737
2 changed files with 9 additions and 1 deletions
BIN
src/librustdoc/html/static/noto-sans-kr-v13-korean-regular.woff
Normal file
BIN
src/librustdoc/html/static/noto-sans-kr-v13-korean-regular.woff
Normal file
Binary file not shown.
|
|
@ -66,6 +66,14 @@
|
|||
font-display: swap;
|
||||
}
|
||||
|
||||
/* Avoid legacy CJK fonts in Windows */
|
||||
@font-face {
|
||||
font-family: 'Noto Sans KR';
|
||||
src: url("noto-sans-kr-v13-korean-regular.woff") format("woff");
|
||||
font-display: swap;
|
||||
unicode-range: U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF;
|
||||
}
|
||||
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
|
|
@ -90,7 +98,7 @@ html {
|
|||
/* General structure and fonts */
|
||||
|
||||
body {
|
||||
font: 16px/1.4 "Source Serif 4", serif;
|
||||
font: 16px/1.4 "Source Serif 4", "Noto Sans KR", serif;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
padding: 10px 15px 20px 15px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue