Just doing some adjustments in Deepin and the last step would be the font rendering. Actually it's sucks. Literally.
So I just wanted to install infinality-bundle package (the best so far), added the needed PPAs and stuff and then wanted to install this package with the following commands:
sudo nano /etc/apt/sources.list
#Infinality Fonts
deb http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu trusty main
.....and Deepin Terminal says that it is going to remove EVERY DAMN PROGRAM from my computer. Just...WTF? Debian was perfect, Fedora was perfect but seriously guys...what's going on here?
Anyway, if I can't install this package (which is unnacceptable IMHO) is it possible to tweak the font rendering/hinting in the system?
Cheers,
SlazO
*** SOLUTION ***
1., In terminal:
sudo gedit /etc/fonts/local.conf
Copy the Code
2., Paste this in the file:
true
true
hintslight
lcddefault
Copy the Code
3., Backup the XResources file
cp .Xresources .Xresources.bak
Copy the Code
If you get an error "cp: cannot stat ‘.Xresources’: No such file or directory" then don't care about it and move forward.
4., gedit .Xresources
If there is anything in file delete everything and paste this:
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Copy the Code
Hit save.
5., xrdb -merge ~/.Xresources
And that's it. Before you reboot you should check the current font hinting mode. Maybe you'll need to install gnome-tweak-tool (sudo apt-get install gnome-tweak-tool) Check the current state with the
gsettings get org.gnome.settings-daemon.plugins.xsettings hinting
Copy the Code
command. If it says "slight" you're good. If not, you can change it with the
gsettings set org.gnome.settings-daemon.plugins.xsettings hinting slight
Copy the Code
command. !!! DO NOT USE !!! any other type of hinting like none, full, medium. Slight is perfect.
Do you have an image (screenshot of some text) to compare the result of your suggestion?
Reply Like 0 View the author
erajah
deepin
2016-07-13 09:12
#2
Hi All,
This simpler fix should do the trick. Just follow this few steps.
1. Go to you Home folder
2. Create a new empty text document and rename it to .fonts.conf
* After renaming the file, it will disappear [no need to panic]. Just type .fonts.conf in your search bar in nautilus. *
3. Copy and paste the code below into the file you just created.
Just doing some adjustments in Deepin and the last step would be the font rendering. Actually it's sucks. Literally.
So I just wanted to install infinality-bundle package (the best so far), added the needed PPAs and stuff and then wanted to install this package with the following commands:
.....and Deepin Terminal says that it is going to remove EVERY DAMN PROGRAM from my computer. Just...WTF? Debian was perfect, Fedora was perfect but seriously guys...what's going on here?
Anyway, if I can't install this package (which is unnacceptable IMHO) is it possible to tweak the font rendering/hinting in the system?
Cheers,
SlazO
*** SOLUTION ***
1., In terminal:
2., Paste this in the file:
3., Backup the XResources file
4., gedit .Xresources
If there is anything in file delete everything and paste this:
Hit save.
5., xrdb -merge ~/.Xresources
And that's it. Before you reboot you should check the current font hinting mode. Maybe you'll need to install gnome-tweak-tool (sudo apt-get install gnome-tweak-tool) Check the current state with the
command. If it says "slight" you're good. If not, you can change it with the
command. !!! DO NOT USE !!! any other type of hinting like none, full, medium. Slight is perfect.