Coder Social home page Coder Social logo

Comments (5)

jjspace avatar jjspace commented on August 22, 2024 3

It seems that setting -webkit-font-smoothing: antialiased works in safari while still preventing sub-pixel antialiasing to keep those letters crisp :)

from nes.css.

BcRikko avatar BcRikko commented on August 22, 2024 2

What is going on? 😱
safari

from nes.css.

BcRikko avatar BcRikko commented on August 22, 2024 1

This code may be the cause. 🤔
https://github.com/BcRikko/NES.css/blob/1663f704c194818460ad4b2cf7d0cb1e8c25f868/scss/base/generic.scss#L16

I commented out -webkit-font-smoothing: none;.
2018-12-04 23 08 53

but Anti-aliasing will work if I remove this code. 😭 -> #40

from nes.css.

dgrcode avatar dgrcode commented on August 22, 2024 1

It seems -webkit-font-smoothing: none; doesn't break the styles in Safari, at least in v13.1.1 which I just tested.

In Safari there's very little difference between none and antialiased, but I see a significant different in Chrome. With none it's sharper and cleaner (in my opinion).

Just in case you wanted to reconsider using -webkit-font-smoothing: none;

from nes.css.

abdallahalsamman avatar abdallahalsamman commented on August 22, 2024

@jjspace can you create a PR of that please?

from nes.css.

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.