Skip to content
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

Source Code Pro on Windows doesn't render as nicely #25

Closed
jaguilar opened this issue Oct 1, 2012 · 6 comments
Closed

Source Code Pro on Windows doesn't render as nicely #25

jaguilar opened this issue Oct 1, 2012 · 6 comments

Comments

@jaguilar
Copy link

jaguilar commented Oct 1, 2012

I like the way Source Code Pro looks on Mac OS X and Linux. But on Windows it is not really usable next to, e.g., Consolas.

Here's Source Code Pro:

Markdown on Windows

And Consolas:

Consolas on Windows

These are at the same point sizes.

Another weird thing I noticed is that the font that comes up when I select Source Code Pro is the same as the one when I select a random string of text like "foasfboasdj". However, if I select Source Code Pro in Notepad, I see the same font, so I don't know what to think. Maybe it's installed incorrectly? But I honestly cannot see how that would be considering I can see it in the fonts directory and it looks about the same there.

Any ideas what's going on? Is this how it's supposed to look on Windows?

@jaguilar
Copy link
Author

jaguilar commented Oct 1, 2012

Edit: this may be because I accidentally installed two varieties of the regular weight of the font. At any rate, when I reinstalled the font it started to look more sane. Sorry about this.

@jaguilar jaguilar closed this as completed Oct 1, 2012
@pauldhunt
Copy link
Contributor

Make sure you have only one format installed, either TTF or OTF, but not both. On Windows, the TTF files will render better than the OTF fonts in system apps.

@ghost
Copy link

ghost commented Dec 24, 2014

@pauldhunt can you elaborate on that?

@pauldhunt
Copy link
Contributor

I thought that the above instructions were fairly explicit. Is there anything in particular you wanted more info on?

@ghost
Copy link

ghost commented Dec 31, 2014

This

On Windows, the TTF files will render better than the OTF fonts in system apps.

@miguelsousa
Copy link
Member

@svnpenn The difference between the rendering of TrueType and OpenType-CFF fonts on Windows has mostly gone away with DirectWrite. This post will give you some insight: http://blog.typekit.com/2010/10/15/type-rendering-operating-systems/

Centril added a commit to Centril/rust that referenced this issue Nov 20, 2019
…dePro, r=GuillaumeGomez

Update Source Code Pro and include italics

Fixes rust-lang#65502.

A few notes:
  * As stated in rust-lang#65502, this does increase the download size.
  * 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](adobe-fonts/source-code-pro#25 (comment))).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants