Giter Club home page Giter Club logo

Comments (6)

mietek avatar mietek commented on May 16, 2024

If you zoom in on your screenshot, you'll notice there is subpixel antialiasing on the file names and the line numbers, and non-subpixel antialiasing on the code. Here's a clear example.

This may be Atom's design choice. Fortunately, you can easily overrule this choice with the help of a user agent stylesheet. Just locate the appropriate CSS selector in Atom's code, and style it with -webkit-font-smoothing: subpixel-antialiased — as long as you're using a WebKit-based browser, that is.

from pragmatapro.

jibsen avatar jibsen commented on May 16, 2024

Thanks, that is probably the correct setting, but the chromium version that Atom runs in on Windows appears to ignore the setting no matter what I put there. I tried disabling hardware acceleration, but that did not help either.

Btw, for anyone looking to try this, use File->Open Your Stylesheet, and put the -webkit line in the .editor block.

from pragmatapro.

mietek avatar mietek commented on May 16, 2024

Did you try adding !important at the end?

from pragmatapro.

jibsen avatar jibsen commented on May 16, 2024

I think that works, thanks a lot:

spot_the_foo_2

from pragmatapro.

mietek avatar mietek commented on May 16, 2024

Additionally, for subpixel antialiasing to work in Atom, the “Use Hardware Acceleration” setting must be off.

from pragmatapro.

fabrizioschiavi avatar fabrizioschiavi commented on May 16, 2024

Thank you mietek for your precious help!!

from pragmatapro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.