From: Debian Rust Maintainers Date: Thu, 14 Jul 2022 11:17:39 +0000 (+0200) Subject: removed some embedded fonts X-Git-Tag: archive/raspbian/1.91.1+dfsg1-1+rpi1~1^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fe08f7780c4bbc38c11cb23705599e4ea0926bf8;p=rustc.git removed some embedded fonts Forwarded: not-needed =================================================================== Gbp-Pq: Topic behaviour Gbp-Pq: Name d-rustdoc-disable-embedded-fonts.patch --- diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 09d289d570..a4a142cc21 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -178,14 +178,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 e670c2f39e..3a09bff9ce 100644 --- a/src/librustdoc/html/static_files.rs +++ b/src/librustdoc/html/static_files.rs @@ -107,8 +107,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");