bad font rendering in sublime text 3 on macOS Mojave - sublimetext3

After upgrading to macOS Mojave the font rendering in Sublime Text 3 is not working correctly.

Just reporting the answer stated here by MTuner
Apple removed colored sub-pixel antialiasing in MacOS Mojave
(https://developer.apple.com/videos/play/wwdc2018/209/ starting from ~28min)
To make fonts look normal in Sublime Text, add to Preferences:
// For the editor
"font_options": [ "gray_antialias" ],
// For the sidebar / other elements
"theme_font_options": [ "gray_antialias" ],

Thanks for the Tip!!
you saved my eyes... but unfortunately Sublime isn't the only software with an horrible font.
If you want to enable antiAliasing in all OS as before on High Sierra, you can run from Terminal the command:
defaults write -g CGFontRenderingFontSmoothingDisabled -bool FALSE

Related

Incorrect rendering in Anaconda + Spyder (wrong colours in text)

When opening Anaconda (and starting Spyder from it) today, I experienced some (to me) unexplainable, rendering problems (I'm not sure whether this is the correct term). The text is not displayed as it normally is, see example pictures below:
This is an example for how it looks like in the Anaconda Navigator (GUI)
This is how the Spyder editor looks like in light mode -> green dots inside the black text
This is how the Spyder editor looks like in dark mode-> pink dots inside the black text
The icons in Spyder and the text inside the documentation window are not touched by this.
The warning that I get in the shell is: libpng warning: bKGD: invalid, but I did not find any helpful resources on it.
`
I do not have these problems in any other program, everything looks normal.
I uninstalled and reinstalled anaoconda completely using this approach (link to guide), which is basically what the Anaconda Docs are recommending, but the same thing occurs in the fresh install as well.
I'm using Ubuntu 20.04.1 LTS with KDE, Anaconda Navigator 1.9.12 and Spyder 4.1.4.
Can you point me in a direction of how to resolve this? Thanks a lot!
Let me know if any useful information is missing!
I fixed it by first install ImageMagick
sudo apt install imagemagick-6.q16
and then running
cd <anaconda location>
mogrify $(find . -name '*.png')
This fixed the problem for me.

Corrupted visual from python chromeos linux

I am using a chromebook with linux beta turned on to use a terminal to run python3 scripts. they worked fine until recently when any pop out window (pygame, pyplot) look corrupted. the windows have black bars covering them for pyplot or are completely covered in black for pygame. the code in the python scripts are unchanged and worked just fine a couple of weeks ago.
I have already turned off linux beta, then returned it back on, reinstalling packages which didn't alleviate the issue. Any help is IMMENSELY appreciated!!
I installed Qt5 bindings via pip install PyQt5 and changed the backend to Qt5Agg per How to change backends in matplotlib / Python and that fixed the black bars for me.

Vim background colour is different

I'm using gVim 8.x 64-bit on Window 10 that I installed using chocolatey vim tux package.
Just recently I started getting these highlights when I open files.
I'm using solarized colorscheme. When I set the colorscheme manually, the highlights disappear.

GUI applications messed up in Cygwin X

I have installed gvim, xinit, xorg-server in my cygwin installation.
When I start 'XWin Server' and then a Cygwin terminal (DISPLAY=:0.0), I am able to open gvim.
But the visual quality is pathetic. Characters appear half-rendered and choppy looking.
For example, the colorscheme command in gvim's command bar
[EDIT - Adding one more screenshot]
Looks like redrawing/rendering is the issue here. As I type in vim, the cursor 'imprints' are left behind on top of characters.
The font is Monospace 10 and font itself renders correctly.
Works fine for me with Monospace font.
Install some fonts and make your tests, gvim by default does not pull the installation of any font.

gnuplot cursor not moving on OSX 10.9?

I have recently installed OSX 10.9, with the latest version of XQuartz and gnuplot 4.6.4
When I move the cursor across the gnuplot window the coordinates shown in the bottom left corner do not update. I am testing this using plot sin(x). The desired functionality I am describing is seen here.
I believe that this was working under OSX 10.7, so I am not sure what is the problem.
Installing gnuplot through macports instead of building from the official sourceforge download site solved the issue.
I also installed the wxt terminal while I was at it since it offers some improved features, but x11 works fine too. (Thanks #Christoph for bringing me to learn about wxt).
Instructions:
Install macports
Open the terminal and enter port variants gnuplot followed by sudo port install gnuplot +wxwidgets
(Note: the installation may take a while, but is all automated)

Resources