-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Rustdoc uses fake italics for code #65502
Copy link
Copy link
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.
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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
For example https://doc.rust-lang.org/std/primitive.i32.html has the string “See also the
std::i32module” 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: