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(-) 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 @@ -79,14 +79,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");