Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
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

Closed

Description

@kevinsawicki

Screen Shot 2013-02-01 at 2 11 51 PM

Activity

  1. jonrohan commented on Feb 2, 2013

    @jonrohan
    Contributor

    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.

  2. jonrohan commented on Feb 2, 2013

    @jonrohan
    Contributor

    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.

    Source Code Styleguide-2

    Here's what it should look like

    Source Code Styleguide-3

    @caged @nathansobo @probablycorey

  3. probablycorey commented on Feb 2, 2013

    @probablycorey

    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:

    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.

    Here's what it should look like

    @caged @nathansobo @probablycorey

    —
    Reply to this email directly or view it on GitHub.

  4. kevinsawicki commented on Feb 2, 2013

    @kevinsawicki
    ContributorAuthor

    @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.

  5. jonrohan commented on Feb 2, 2013

    @jonrohan
    Contributor

    @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 Sans in my editor. 🚜

  6. nathansobo commented on Feb 2, 2013

    @nathansobo
    Contributor

    @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.

  7. jonrohan commented on Feb 5, 2013

    @jonrohan
    Contributor

    If we package up Source Code Pro with atom, will we need to include LICENSE?

  8. kevinsawicki commented on Feb 5, 2013

    @kevinsawicki
    ContributorAuthor

    I believe so after reading this, granted my specialty is maritime law and not software law.

  9. jonrohan commented on Feb 5, 2013

    @jonrohan
    Contributor

    Man, I still wish we created GitHub Mono cc @cameronmcefee @jsncostello

  10. cameronmcefee commented on Feb 5, 2013

    @cameronmcefee

    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).

  11. jonrohan commented on Feb 5, 2013

    @jonrohan
    Contributor

    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

  12. kneath commented on Feb 5, 2013

    @kneath

    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.

  13. kneath commented on Feb 5, 2013

    @kneath

    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.

  14. nathansobo commented on Feb 5, 2013

    @nathansobo
    Contributor

    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]:

    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.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/225#issuecomment-13144224.

  15. jonrohan commented on Feb 5, 2013

    @jonrohan
    Contributor

    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.

  16. kevinsawicki commented on Feb 13, 2013

    @kevinsawicki
    ContributorAuthor

    Fixed by #254

  17. added a commit that references this issue on Jul 26, 2016
  18. lock commented on Jan 27, 2019

    @lock

    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!

  19. locked as resolved and limited conversation to collaborators on Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions