about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-04-29 14:15:28 -0700
committerManish Goregaokar <manishsmail@gmail.com>2019-04-29 14:15:28 -0700
commit7aab005341cbac2c0a1d41ef103321fc06e76feb (patch)
tree015b70b22da0e677710007d9a08b2fde2b130f26 /src
parenta55c2eb325029960991508e64650a139b040d24f (diff)
downloadrust-7aab005341cbac2c0a1d41ef103321fc06e76feb.tar.gz
rust-7aab005341cbac2c0a1d41ef103321fc06e76feb.zip
Revert "Update Source Code Pro fonts to version 2.030"
This reverts commit 6bafc58cedc6f409dbcd8919a25b2f5d425f42ae.
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/render.rs2
-rw-r--r--src/librustdoc/html/static/SourceCodePro-LICENSE.txt (renamed from src/librustdoc/html/static/SourceCodePro-LICENSE.md)2
-rw-r--r--src/librustdoc/html/static/SourceCodePro-Regular.woffbin95872 -> 55472 bytes
-rw-r--r--src/librustdoc/html/static/SourceCodePro-Semibold.woffbin95576 -> 55360 bytes
-rw-r--r--src/librustdoc/html/static_files.rs2
5 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index be349de05ca..f4af362a557 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -938,7 +938,7 @@ themePicker.onblur = handleThemeButtonsBlur;
           static_files::source_code_pro::REGULAR)?;
     write(cx.dst.join("SourceCodePro-Semibold.woff"),
           static_files::source_code_pro::SEMIBOLD)?;
-    write(cx.dst.join("SourceCodePro-LICENSE.md"),
+    write(cx.dst.join("SourceCodePro-LICENSE.txt"),
           static_files::source_code_pro::LICENSE)?;
     write(cx.dst.join("LICENSE-MIT.txt"),
           static_files::LICENSE_MIT)?;
diff --git a/src/librustdoc/html/static/SourceCodePro-LICENSE.md b/src/librustdoc/html/static/SourceCodePro-LICENSE.txt
index 1177330426d..07542572e33 100644
--- a/src/librustdoc/html/static/SourceCodePro-LICENSE.md
+++ b/src/librustdoc/html/static/SourceCodePro-LICENSE.txt
@@ -18,7 +18,7 @@ with others.
 
 The OFL allows the licensed fonts to be used, studied, modified and
 redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded, 
+fonts, including any derivative works, can be bundled, embedded,
 redistributed and/or sold with any software provided that any reserved
 names are not used by derivative works. The fonts and derivatives,
 however, cannot be released under any other type of license. The
diff --git a/src/librustdoc/html/static/SourceCodePro-Regular.woff b/src/librustdoc/html/static/SourceCodePro-Regular.woff
index 117c7e5142c..5576670903a 100644
--- a/src/librustdoc/html/static/SourceCodePro-Regular.woff
+++ b/src/librustdoc/html/static/SourceCodePro-Regular.woff
Binary files differdiff --git a/src/librustdoc/html/static/SourceCodePro-Semibold.woff b/src/librustdoc/html/static/SourceCodePro-Semibold.woff
index 270873a86a0..ca972a11dc4 100644
--- a/src/librustdoc/html/static/SourceCodePro-Semibold.woff
+++ b/src/librustdoc/html/static/SourceCodePro-Semibold.woff
Binary files differdiff --git a/src/librustdoc/html/static_files.rs b/src/librustdoc/html/static_files.rs
index 24fe61e977a..3a2c24b1a96 100644
--- a/src/librustdoc/html/static_files.rs
+++ b/src/librustdoc/html/static_files.rs
@@ -103,7 +103,7 @@ pub mod source_code_pro {
     pub static SEMIBOLD: &'static [u8] = include_bytes!("static/SourceCodePro-Semibold.woff");
 
     /// The file `SourceCodePro-LICENSE.txt`, the license text of the Source Code Pro font.
-    pub static LICENSE: &'static [u8] = include_bytes!("static/SourceCodePro-LICENSE.md");
+    pub static LICENSE: &'static [u8] = include_bytes!("static/SourceCodePro-LICENSE.txt");
 }
 
 /// Files related to the sidebar in rustdoc sources.