removed some embedded fonts
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Tue, 29 Oct 2024 12:18:35 +0000 (13:18 +0100)
Forwarded: not-needed
===================================================================

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

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

index 28df8d3f011fe42e64de3bed90c62ffc9695cbdf..477e491cb23d3a1fc86e6f566bfc94377f12e6af 100644 (file)
@@ -105,14 +105,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-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 6157598ba3888a59b914a4ea7cbb6fcb752e4e56..aed392872491973f0a6e33c10e13174c23a2cd7a 100644 (file)
@@ -117,8 +117,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");