-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Code Editor font not clear on Linux #6094
Comments
Thanks for the heads up @CommanderAlchemy. Sometimes we never see these articles let alone the comment threads. @larz0 @njx @peterflynn you guys have a better handle on font rendering. Is this similar to issues we've had with CEF before? |
One more question. @CommanderAlchemy, are you running with a high-DPI setting? |
@CommanderAlchemy could you give an example of what type of rendering you prefer and we'll see if we can tweak the CSS for linux since font rendering is generally different for different OS's. |
@jasonsanjose Im running KDE with default DPI settings so I would say no. It's hard to really say it looks like its washed up a bit. Will try to experiment a bit. Maybe another font? |
@CommanderAlchemy text tend to be bolder on Linux compared Mac and Windows so maybe we can use the default font-smoothing for Linux if that's what Linux users want. That'll make the text bolder. |
Workaround: follow these steps to customize the code editor font. I'll leave this open with Low priority rather than closing as dupe of #5801 since that bug seems more focused on how the font looks when it's made bigger than the default font size (which might actually be an issue on all platforms). |
Another thing you can try, as @LarZ alluded to, is changing the antialiasing setting>
If you find that improves the appearance a lot, would you mind uploading another screenshot? (Ideally of the same text so we can compare -- so we can consider making that setting the default on Linux) |
Thanks again for these fast responses really! Here is a screenshot with, smoothing on left and without on the right. For me personal thought is that the clarity feels a bit better but the look is worse. Most noticeable on "index.html" text. After playing around a bit, I tried to use my coding front that I use for other applications Droid Sans Mono Slashed |
using ubuntu 12.04 and MVA monitors the font is indeed hard to read or 'blurry' also, i can't easily do the workaround since it seems there is no less file distributed with the linux build. so i attempted to edit the minified css instead. i wonder if you'll be able to see any difference? (or if these screenshots look good on mac/windows?) |
I tried brackets on a different monitor (smaller w/ higher DPI) and the default fonts were readable (although that was also on ubuntu 10.04). Even all of the screenshots above look fine. I suspect this is a DPI issue and made worse on large monitors with lower DPI (my monitors are 27" but the resolution is only 1920x1080, so they have a lower DPI). That said, I wonder if it would be possible to get things like the default font size/scaling (and perhaps even font, colours, etc) from the OS. It is certainly nice to be able to over-ride those per application, but it is somewhat expected that an application tries to match your local defaults (which have generally been chosen to work well on your setup). That request is certainly in the nice-to-have category, although if you care about first impressions, then at least putting a first-run popup saying "here is how to adjust the fonts so they look good on your display" might be an easy improvement. |
Bracket's font rendering is still pretty much screwed in Linux and sadly that makes it unusable there. --> Going back to Emacs ;) |
Here's nice extension for you to play with, maybe you can get better font rendering from one of the fonts: https://github.com/tirithen/brackets-fonts |
@larz0 Tried that already. Font rendering in the shell itself is the primary problem. |
yeah @bassu - by applying the fonts extension, the high DPI extension and bumping the font size up it is very usable. i also like the dark obsidian theme from the theme extension. the default font is terrible though - although only on my workstation with large MVA screens (but which has lower DPI) brackets gurus - i dug into the code a bit and saw that both windows and mac have a less override for codemirror - but linux does not. i wanted to understand why that was the case - in particular the history of the mac font issues (why it uses the Pro version of the font). |
You might want to try https://github.com/stowball/brackets-legibility - this cranks up the font sizes. My screens have a very low-DPI (27" @ 1920x1080) so despite the description, that extension helped a lot. |
The default font(family) is not good. Change to one used by gedit or geany or sublime text |
#8630 this should solve the problem by setting to the font smoothing to none... I think that its also a matter of taste... |
The problem persists, Brackets 1.6.0-16680 on Ubuntu 16.04, the font rendering is poor. |
how to solve this issue ? |
Not sure what it is but the font just feels weird in the code editor. Not beeing 100% clear/sharp.
Seems other people are also complaining about it on : http://www.webupd8.org/2013/11/install-brackets-in-ubuntu-via-ppa-open.html
The text was updated successfully, but these errors were encountered: