Skip to content

Font hinting behavior on Windows is inconsistent and causing visual pain #1547

Closed

Description

@saschanaz

Description

Some UI components uses RGB-based subpixel font hinting when other components uses gray antialiasing, thus causes pain on eye.

  1. Repository tab. The tab elements has proper subpixel hinting whereas the commit list just uses normal antialiasing.

    image

  2. Code diff. No subpixel hinting at all. See 'DOMH' part which has worst hinting.

    image

Version

GitHub Desktop version: 0.5.3

OS version: 10.0.15063

Expected behaviour: Subpixel font hinting for all texts

Actual behaviour: Subpixel hinting for parts of texts

Reproduces how often: 100%

Activity

  1. niik commented on May 17, 2017

    @niik
    Member

    Yeah, this is terrible but unfortunately there's not a whole lot we can do about it. In some cases we're able to turn on subpixel antialiasing (see #1452 for example) but in most cases we can't. Chromium can't do subpixel antialiasing when it has to merge GPU layers.

    For our lists we're able to enable it as long as they don't scroll. The moment they do chrome puts in a transparent scroll overlay that triggers layer merging and thus we loose subpixel antialiasing.

    If anyone has any tricks up their sleeves I'm all ears, https://bugs.chromium.org/p/chromium/issues/detail?id=227101 does not look promising.

  2. saschanaz commented on May 17, 2017

    @saschanaz
    ContributorAuthor

    To workaround, can we use larger font size as the previous Windows client did? The new client uses smaller font size and thus is affected harder.

  3. added
    bug
    and removed on Jun 29, 2017
  4. joshaber commented on Jul 19, 2017

    @joshaber
    Contributor

    It doesn't sound like there's anything actionable for us here. Users can use Zoom to increase the font size, and we can hope Chromium has some tricks up their sleeves to improve text rendering on Windows.

  5. locked as resolved and limited conversation to collaborators on Jul 21, 2018
  6. unlocked this conversation on Sep 27, 2018
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions