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>
Thu, 27 Jun 2024 12:30:53 +0000 (14:30 +0200)
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 74c9130fd77bd5b7a6b3cebb86c113e19363eba6..a9a13806193790b953c3cba50090efd3a63aa4a0 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 d8874c2fda0a00a4c7daf7cf5b2eb97782c168fb..3d33baeafcccf0b34b605239765a2eed8f701f79 100644 (file)
@@ -118,8 +118,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");