Advertisement
ShoLah0

fedora fonts

Apr 24th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. sudo dnf install gnome-tweak-tool
  2.  
  3. # rpmfusion.org
  4. # neue Paketquellen aktiviert
  5. su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
  6.  
  7. # neue fonts installiert
  8. su -c "dnf install freetype-freeworld"
  9.  
  10. # Adjust the hinting style and enable RGB anti-aliasing. Ubuntu it using hintslight hinting by default, Fedora comes with hintmedium.
  11. # Additionally, we need RGB instead of grayscale anti-aliasing. Open a terminal and execute the following commands to set the anti-aliasing and hinting style:
  12. gsettings "set" "org.gnome.settings-daemon.plugins.xsettings" "hinting" "slight"
  13. gsettings "set" "org.gnome.settings-daemon.plugins.xsettings" "antialiasing" "rgba"
  14.  
  15. # Activate the lcddefault lcdfilter. Unfortunately, there is no GSettings key for it (at least as Iā€™m writing this),
  16. # therefore you have to create a hidden .Xresource file with the Xft.lcdfilter: lcddefault setting in your home directory. Open a terminal and execute the following command to do so:
  17. echo "Xft.lcdfilter: lcddefault" > ~/.Xresources
  18.  
  19.  
  20.  
  21. $cat /etc/fonts/local.conf
  22. <?xml version='1.0'?>
  23. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  24. <fontconfig>
  25. <match target="font">
  26. <edit name="antialias" mode="assign">
  27. <bool>true</bool>
  28. </edit>
  29. <edit name="autohint" mode="assign">
  30. <bool>false</bool>
  31. </edit>
  32. <edit name="embeddedbitmap" mode="assign">
  33. <bool>false</bool>
  34. </edit>
  35. <edit name="hinting" mode="assign">
  36. <bool>true</bool>
  37. </edit>
  38. <edit name="hintstyle" mode="assign">
  39. <const>hintslight</const>
  40. </edit>
  41. <edit name="lcdfilter" mode="assign">
  42. <const>lcdlight</const>
  43. </edit>
  44. <edit name="rgba" mode="assign">
  45. <const>rgb</const>
  46. </edit>
  47. </match>
  48. </fontconfig>
  49.  
  50.  
  51. ~
  52. ~
  53. ~
  54. ~
  55. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement