]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #80705 - tspiteri:italic-and-update-SourceCodePro, r=GuillaumeGomez
authorYuki Okushi <huyuumi.dev@gmail.com>
Tue, 23 Mar 2021 01:15:38 +0000 (10:15 +0900)
committerGitHub <noreply@github.com>
Tue, 23 Mar 2021 01:15:38 +0000 (10:15 +0900)
commit0e96c62423434d2475630f704ec4f2811d896ed4
tree0e9b3033eb19f53915b3efb106740efc65a26559
parent5d04957a4b4714f71d38326fc96a0b0ef6dc5800
parent87d17bb9e8f69b1e7c4a7997f943253db1dda636
Rollup merge of #80705 - tspiteri:italic-and-update-SourceCodePro, r=GuillaumeGomez

Update Source Code Pro and include italics

Fixes #65502.

#65665, a similar PR to this was merged but reverted because of https://github.com/rust-lang/rust/pull/65665#issuecomment-556860510.

The issue in that comment is the upstream issue https://github.com/adobe-fonts/source-code-pro/issues/217 which should now be fixed in the upstream since [2.032R-ro/1.052R-it/1.012R-VAR release](https://github.com/adobe-fonts/source-code-pro/releases/tag/2.032R-ro/1.052R-it/1.012R-VAR), so I think this can now be merged.

A couple of notes from the original PR:
* Since this PR changes the font set, I think docs.rs would have to be updated if this PR is merged.
* The fonts have a double extension (.ttf.woff); this is to keep the names consistent with the upstream font release which does that to distinguish these from the .otf.woff files (Source Code Pro otf renders poorly on older Windows system apps).
src/librustdoc/html/static/rustdoc.css