From: Debian Rust Maintainers 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; -} - * { 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");