-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rustdoc font glitch #16372
Comments
A similar thing happens for me on http://play.rust-lang.org/ with the '&&' token (a single '&' doesn't trigger it). I haven't checked the font there but I guess it's somehow related. It's in Firefox on Windows, with anti-aliasing: |
@Boddlnagg play.rust-lang.org might be using a too old version of Source Code Pro since it fetches from Google Font. Something weird through is that it's claimed to have been fixed in version 1.010 and Google Font serves version 1.017… in any case rustdoc serves the latest version which does not seem affected by this is bug so I think you should report it on rust-lang/rust-playpen (cc @thestinger). |
I hadn't realized that local fonts are preferred over webfonts. I had an old version of Source Code Pro installed that still had the bug. Maybe it's the same for you, @retep998? |
Some people use aliased text because for whatever reason they find anti-aliased text to be unreadable and gives them a headache. |
So that explains it – can you close this issue? Or should we document this. |
… r=Veykril feat: Add "One" import granularity Adds a new import granularity option "One" that merges all imports into a single use statement as long as they have the same visibility and attributes. This is similar to [rustfmt's `imports_granularity = "One"`](https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=import#imports_granularity). Fixes: rust-lang#11361
On a Windows computer with anti-aliasing disabled using Firefox the following rendering issue occurs.
![](https://camo.githubusercontent.com/0447c8a19dbf15f24f62ff6d5aedd670239131949b813890fbcb4e10a1090d6f/687474703a2f2f7075752e73682f614b766c6d2f386430613432653138302e706e67)
Changing the font from Source Code Pro to anything else fixes it.
The text was updated successfully, but these errors were encountered: