Rustdoc uses fake italics for code #65502
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
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:
The text was updated successfully, but these errors were encountered: