NES.css icon indicating copy to clipboard operation
NES.css copied to clipboard

Blurry Font in H1 in Chrome

Open robotrono opened this issue 5 years ago • 10 comments

https://i.imgur.com/TiEvmPR.png in Firerfox works fine, its normal?

robotrono avatar Dec 05 '18 12:12 robotrono

Thanks 🙇

It seems to be no problem to me. 🤔 please let me know about your environment. 🙏

my environment

  • macOS High Sierra
  • Chrome 70
  • Firefox 63

h1

BcRikko avatar Dec 05 '18 12:12 BcRikko

This is related to #40, #72, #75. It has to do with the font-smoothing property and how it's handled on different systems/browsers. @robotrono what OS are you on?

jjspace avatar Dec 05 '18 16:12 jjspace

@jjspace @BcRikko

I'm using Windows 10, Chrome 71 and Firefox 63 64 bits.

robotrono avatar Dec 05 '18 23:12 robotrono

Right so as I mentioned in my PR pertaining to this, according to caniuse the font-smoothing property only applies on OSX platforms so won't change anything on other platforms. In my quick testing on my windows machine it doesn't seem like the font smoothing works. However I also dont have a super high res/retina monitor so I might not even be able to see it.

jjspace avatar Dec 06 '18 02:12 jjspace

@robotrono I can't reproduce this issue on: Ubuntu FF 63 64bit OSX FF 63 64bit OSX Chrome 70 64bit

abdallahalsamman avatar Dec 08 '18 08:12 abdallahalsamman

Win10 FF 63

win

abdallahalsamman avatar Dec 08 '18 08:12 abdallahalsamman

@robotrono can you please try to reproduce the bug on the latest develop branch?

abdallahalsamman avatar Dec 08 '18 08:12 abdallahalsamman

@evexoio I need npm right?

robotrono avatar Dec 09 '18 05:12 robotrono

Yes, Here's a step by step to get your css

git clone https://github.com/nostalgic-css/NES.css.git
cd NES.css
npm install
npm run build

then you'll find your css in css/nes.min.css

abdallahalsamman avatar Dec 09 '18 12:12 abdallahalsamman

Setting font-weight: normal; makes the font a lot less blurry (Windows 10, Chrome 71). Apparently the font has no bold style. Perhaps we can use both properties, font-weight and font-smoothing.

2019-01-21 08_54_23-window

sandrosc avatar Jan 21 '19 08:01 sandrosc