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>
Wed, 4 Dec 2024 17:07:54 +0000 (18:07 +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 df9776ff5f88c9767c61ecf1e6d046c5942b3e72..df4fcee63aced6e220f3a70efd6f68ac99e945a3 100644 (file)
@@ -107,14 +107,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");