-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
For example https://doc.rust-lang.org/std/primitive.i32.html has the string “See also the std::i32
module” which inludes code in italics. This is rendered using fake italics because the Source Code Pro italic font is not included.
Adding the italic font would fix this, but at the cost of having an extra font to download. Is the better formatting worth the (one-time?) download?
If there is an interest, I can prepare a PR to include the latest version of Source Code Pro including the italic font. The sizes are as follows:
Font | Current Size | Latest Size |
---|---|---|
Regular | 55472 | 95872 |
Semibold | 55360 | 95576 |
Italic | 84264 | |
Total | 110832 | 275712 |
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.