1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Date: Thu, 14 Jul 2022 13:17:39 +0200
Subject: d-rustdoc-disable-embedded-fonts
===================================================================
---
src/librustdoc/html/render/write_shared.rs | 2 --
src/librustdoc/html/static/css/rustdoc.css | 8 --------
src/librustdoc/html/static_files.rs | 23 -----------------------
3 files changed, 33 deletions(-)
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -67,14 +67,6 @@
font-display: swap;
}
-/* Avoid using legacy CJK serif fonts in Windows like Batang. */
-@font-face {
- font-family: 'NanumBarunGothic';
- src: url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");
- font-display: swap;
- unicode-range: U+AC00-D7AF, U+1100-11FF, U+3130-318F, U+A960-A97F, U+D7B0-D7FF;
-}
-
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
--- a/src/librustdoc/html/static_files.rs
+++ b/src/librustdoc/html/static_files.rs
@@ -126,8 +126,6 @@
source_code_pro_semibold => "static/fonts/SourceCodePro-Semibold.ttf.woff2",
source_code_pro_italic => "static/fonts/SourceCodePro-It.ttf.woff2",
source_code_pro_license => "static/fonts/SourceCodePro-LICENSE.txt",
- nanum_barun_gothic_regular => "static/fonts/NanumBarunGothic.ttf.woff2",
- nanum_barun_gothic_license => "static/fonts/NanumBarunGothic-LICENSE.txt",
}
pub(crate) static SCRAPE_EXAMPLES_HELP_MD: &str = include_str!("static/scrape-examples-help.md");
|