-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-retina text rendering is bad #51
Comments
@zpao +1000. I've been seeing some screenshots from non-retina that have wanted to make me cry. |
@johanbrook I agree. I've lost the "just use subpixel-antialiasing all the time" argument too many times though so I hedged my bets 😛 |
In case anybody else comes across this and it's not "fixed" the way you want, you can use termCSS: `
x-screen {
-webkit-font-smoothing: subpixel-antialiased !important;
}
`, |
Hey all. I noticed this same issue at work today after customizing the fonts in my hyperterm config. My fonts looked great on my laptop's retina display, but looked kinda 💩 on my external monitor. I played around in the devtools and can confirm the above fix worked out for me. Anyway, here's a theme I made that adds subpixel-antialiased font smoothing: https://github.com/ali/hyper-font-smoothing Edit (10/23) renamed package to |
People without retina displays will have to use this package: https://github.com/ali/hyperterm-subpixel-antialiased |
Even on a retina display this default looks awful on macOS |
Any suggestions? |
Hyper 2 uses https://github.com/xtermjs/xterm.js instead of 🚨warning in the upcoming 3.0 release of |
Setting The |
Unfortunately doesn't seem to change much on macOS. Here are three windows. Top is hyper, terminal.app in the middle, vs code on the bottom 3rd. |
This fix does not work for me. I am on version 2 on OSX 10.12.6 Anyone know of a fix? |
Can you try setting |
None of the above things worked for me. Type this in the command line and reboot. This setting also stays between reboots.
|
Here is the actual problem explained: https://ahmadawais.com/fix-macos-mojave-font-rendering-issue/ Now fonts look smoother, but another problem appears after rebooting - gaps between glyphs: |
To edit the font smoothing setting at application-level and not system-wide,
|
There's a rule, presumably down in Electron, that is setting
-webkit-font-smoothing: antialiased
forx-screen
. Perhaps I'm extra sensitive to this, but this looks absolutely terrible on non-retina screens. When I toggle that rule in the inspector everything looks great. Personally I think that also looks better on a retina screen. It might be worth considering enforcing subpixel-antialiasing (IMO always, but could be on a media query for < 2 pixel density), or eventually some setting even.The text was updated successfully, but these errors were encountered: