在Ubuntu 18.04 LTS上安装Brackets后,我发现字体无法正确渲染。我尝试了所有与字体有关的解决方案,但没有成功。这是我的屏幕截图:https://ibb.co/b7393n,Brackets版本为:https://ibb.co/ndUow7。字体设置如下:字体:Ubuntu,字体大小:14。谢谢。
tar xvfz freetype-2.9.1.tar.gz
cd freetype-2.9.1
sudo apt build-dep libfreetype6
./configure
make
sudo make install
sudo ldconfig
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ artful-updates main"
sudo apt-get update
sudo apt-get install libfreetype6=2.8-0.2ubuntu2.1
sudo apt-mark hold libfreetype6
在终端中输入此命令,这对我很有帮助,我也遇到了同样的问题。