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.85.0+dfsg2-2+rpi1~6^2^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=286e077f7e2cc07eeffb0dc461fd40b261fa5115;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 27496381b2..4bb6ec769b 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -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 6457ac731c..e8eaf3b70f 100644 --- a/src/librustdoc/html/static_files.rs +++ b/src/librustdoc/html/static_files.rs @@ -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");