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: removed some embedded fonts
Forwarded: not-needed
src/librustdoc/html/static/css/rustdoc.css | 8 --------
src/librustdoc/html/static_files.rs | 2 --
2 files changed, 10 deletions(-)
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 2749638..4bb6ec7 100644
@@ -109,14 +109,6 @@ xmlns="http://www.w3.org/2000/svg" fill="black" height="18px">\
font-display: swap;
}
-/* Avoid using legacy CJK serif fonts in Windows like Batang. */
-@font-face {
- font-family: 'NanumBarunGothic';
- src: url("NanumBarunGothic-13b3dcba.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;
}
diff --git a/src/librustdoc/html/static_files.rs b/src/librustdoc/html/static_files.rs
index 6457ac7..e8eaf3b 100644
@@ -109,8 +109,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");
|