d-rustdoc-disable-embedded-fonts
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 13 Jun 2024 11:01:11 +0000 (11:01 +0000)
===================================================================

Gbp-Pq: Name d-rustdoc-disable-embedded-fonts.patch

src/librustdoc/html/static/css/rustdoc.css
src/librustdoc/html/static_files.rs

index 6fbb4508662c7a1418492da0b5a904301371d77b..e8b96bbec5a2e317416304a4fa7dd8abceb111a0 100644 (file)
        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 767b974cc9109f6c0c35fecf71a1bff09dde17b9..5a3669d6b5c0b6c33d91fe26449636d64e2f0ebe 100644 (file)
@@ -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");