You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Cursor and selection is off with bolded code theme #225
I'll post-comment my suggestion with a little knowledge, Not all monospaced fonts are the same. Some monospaced font creators don't include italic and/or bold versions of their font, so the OS makes up for this by trying to calculate what it will look like. When this happens, the char width will not be the same.
Here's our current default stack Inconsolata, Monaco, Courier when you line up the elements.
I'll post-comment my suggestion with a little knowledge, Not all monospaced fonts are the same. Some monospaced font creators don't include italic and/or bold versions of their font, so the OS makes up for this by trying to calculate what it will look like. When this happens, the char width will not be the same.
Here's our current default stack Inconsolata, Monaco, Courier when you line up the elements.
@jonrohan thanks for the font details, I didn't know that.
I think atom definitely needs to support variable character widths long-term, I realize this issue is kind of a duplicate of #132 but now more evident since we started respecting bold and italic styles in themes.
@cobyism pointed me to Adobe's Source Code Pro, which I believe has a proper fixed-width bold. Perhaps we should use it as our default font as a stopgap measure until we implement proper horizontal pixel calculations for variable-width fonts? I definitely think we need to support it properly pretty soon, though.
I'd still love it, but we'd probably need to hire/contract someone. I know of a guy if we want to go that direction, cc @kneath (who had valid reasons not to do so, I believe).
I created a job description, no idea if it'll get approved.
For this issue I think the solution is we need to support mix-width font position. We never know what font people are gonna throw in there with a theme or fontFamily
Also to clarify, my frustration with using a custom font for GitHub.com has a lot to do with webfonts. It would slow down page loads and stop the content from loading, which is kind of a deal breaker for me. There's also the whole UTF8 madness of needing to design every character on earth.
I had this idea at the summit: We should cast Proxima Nova and the Octicons
out of metal and get a classic typesetting rig for the museum. We could
also get a metal version GitHub Mono. Could be cool to do classic analog
typesetting of famous repos or something.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/225#issuecomment-13144224.
Also to clarify, my frustration with using a custom font for GitHub.com has a lot to do with webfonts. It would slow down page loads and stop the content from loading, which is kind of a deal breaker for me
Totally with you on that, what I'm suggesting is not a webfont but an actual ttf that users will have installed on their machines, either voluntarily or via a desktop property. This really is a discussion for @github/branding at this point.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
jonrohan commentedon Feb 2, 2013
The easy fix is to un-un-comment the text-mate-theme fix.
I could also suggest we use a different monospaced font by default.
The hard, and probably correct way is to calculate position with multiple char widths.
jonrohan commentedon Feb 2, 2013
I'll post-comment my suggestion with a little knowledge, Not all monospaced fonts are the same. Some monospaced font creators don't include italic and/or bold versions of their font, so the OS makes up for this by trying to calculate what it will look like. When this happens, the char width will not be the same.
Here's our current default stack
Inconsolata, Monaco, Courierwhen you line up the elements.Here's what it should look like
@caged @nathansobo @probablycorey
probablycorey commentedon Feb 2, 2013
Bummer. It is still safe to assume they all have the same height?
On Feb 1, 2013, at 6:00 PM, Jon Rohan [email protected] wrote:
kevinsawicki commentedon Feb 2, 2013
@jonrohan thanks for the font details, I didn't know that.
I think atom definitely needs to support variable character widths long-term, I realize this issue is kind of a duplicate of #132 but now more evident since we started respecting bold and italic styles in themes.
jonrohan commentedon Feb 2, 2013
@probablycorey yeah the heights will all be the same.
@kevinsawicki with the mix-width support, we'll be able to allow me to finally use
Comic Sansin my editor. 🚜nathansobo commentedon Feb 2, 2013
@cobyism pointed me to Adobe's Source Code Pro, which I believe has a proper fixed-width bold. Perhaps we should use it as our default font as a stopgap measure until we implement proper horizontal pixel calculations for variable-width fonts? I definitely think we need to support it properly pretty soon, though.
jonrohan commentedon Feb 5, 2013
If we package up Source Code Pro with atom, will we need to include LICENSE?
kevinsawicki commentedon Feb 5, 2013
I believe so after reading this, granted my specialty is maritime law and not software law.
jonrohan commentedon Feb 5, 2013
Man, I still wish we created
GitHub Monocc @cameronmcefee @jsncostellocameronmcefee commentedon Feb 5, 2013
I'd still love it, but we'd probably need to hire/contract someone. I know of a guy if we want to go that direction, cc @kneath (who had valid reasons not to do so, I believe).
jonrohan commentedon Feb 5, 2013
I created a job description, no idea if it'll get approved.
For this issue I think the solution is we need to support mix-width font position. We never know what font people are gonna throw in there with a theme or
fontFamilykneath commentedon Feb 5, 2013
I'd be interested to see how much it costs. Do you have any idea what the range might be?
Of note, http://johnaugust.com/2013/introducing-courier-prime — Courier with real bold. And free.
kneath commentedon Feb 5, 2013
Also to clarify, my frustration with using a custom font for GitHub.com has a lot to do with webfonts. It would slow down page loads and stop the content from loading, which is kind of a deal breaker for me. There's also the whole UTF8 madness of needing to design every character on earth.
nathansobo commentedon Feb 5, 2013
I had this idea at the summit: We should cast Proxima Nova and the Octicons
out of metal and get a classic typesetting rig for the museum. We could
also get a metal version GitHub Mono. Could be cool to do classic analog
typesetting of famous repos or something.
On Tue, Feb 5, 2013 at 11:38 AM, Kyle Neath [email protected]:
jonrohan commentedon Feb 5, 2013
Totally with you on that, what I'm suggesting is not a webfont but an actual ttf that users will have installed on their machines, either voluntarily or via a desktop property. This really is a discussion for @github/branding at this point.
kevinsawicki commentedon Feb 13, 2013
Fixed by #254
Merge pull request #225 from atom/bo-update-package-generator
lock commentedon Jan 27, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!