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
40
41
42
43
|
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(-)
Index: rust/src/librustdoc/html/static/css/rustdoc.css
===================================================================
--- rust.orig/src/librustdoc/html/static/css/rustdoc.css
+++ rust/src/librustdoc/html/static/css/rustdoc.css
@@ -80,14 +80,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;
-}
-
* {
box-sizing: border-box;
}
Index: rust/src/librustdoc/html/static_files.rs
===================================================================
--- rust.orig/src/librustdoc/html/static_files.rs
+++ rust/src/librustdoc/html/static_files.rs
@@ -123,8 +123,6 @@ static_files! {
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");
|