diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-05-26 13:30:54 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-26 13:30:54 +0900 |
| commit | 0264f4fe4aa5c91773a82aa60fc3ebdb5f24ec2f (patch) | |
| tree | f8f51efeaa24913cc14b0f17f08b0134f05b90d5 /src/librustdoc/html/render/write_shared.rs | |
| parent | 47a90f452050d4ea484206447babb07dd33c21d5 (diff) | |
| parent | 8a2d66337e49d5b8e60911cb34c9e15f5123488f (diff) | |
| download | rust-0264f4fe4aa5c91773a82aa60fc3ebdb5f24ec2f.tar.gz rust-0264f4fe4aa5c91773a82aa60fc3ebdb5f24ec2f.zip | |
Rollup merge of #84048 - konan8205:master, r=jsha
Avoid CJK legacy fonts in Windows As metioned in #84035, the default serif CJK font in Windows is meh-looking. To avoid this, we should use sans-serif font or provide CJK glyph supported font in `rustdoc.css`.
Diffstat (limited to 'src/librustdoc/html/render/write_shared.rs')
| -rw-r--r-- | src/librustdoc/html/render/write_shared.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs index bd781e7b741..dd0fb3a9e02 100644 --- a/src/librustdoc/html/render/write_shared.rs +++ b/src/librustdoc/html/render/write_shared.rs @@ -33,6 +33,8 @@ crate static FILES_UNVERSIONED: Lazy<FxHashMap<&str, &[u8]>> = Lazy::new(|| { "SourceCodePro-Semibold.ttf.woff" => static_files::source_code_pro::SEMIBOLD, "SourceCodePro-It.ttf.woff" => static_files::source_code_pro::ITALIC, "SourceCodePro-LICENSE.txt" => static_files::source_code_pro::LICENSE, + "noto-sans-kr-v13-korean-regular.woff" => static_files::noto_sans_kr::REGULAR, + "noto-sans-kr-v13-korean-regular-LICENSE.txt" => static_files::noto_sans_kr::LICENSE, "LICENSE-MIT.txt" => static_files::LICENSE_MIT, "LICENSE-APACHE.txt" => static_files::LICENSE_APACHE, "COPYRIGHT.txt" => static_files::COPYRIGHT, |
