Source Code Pro

These are set of free programming fonts from Adobe -

There is another option but these fonts are not monospaced! What an idiocy!

It is absolutely crucial to have a consistent set of nice big fonts on a shitty laptops.

in ~/.fonts.conf or .config/fontconfig/fonts.conf - a local, per-user configuration for the fontconfig library. You may increase DPI setting.

<?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<match target="pattern">
<edit name="dpi" mode="assign">
<match target="font">
    <edit mode="assign" name="autohint">
<match target="font">
    <edit mode="assign" name="rgba">
<match target="font">
    <edit mode="assign" name="hinting">
<match target="font">
    <edit mode="assign" name="hintstyle">
<match target="font">
    <edit mode="assign" name="antialias">
<match target="pattern">
   <edit mode="append" name="lcdfilter">
<match target="font">
    <test name="weight" compare="more">
    <edit name="autohint" mode="assign">

in ~/.Xresources - local, per user configuration for the freetype library.

Xft.antialias: 1
Xft.autohint: 0
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
Xft.rgba: rgb

then ~/.config/gtk-3.0/settings.ini up GTK font rendering





gsettings set org.gnome.desktop.interface scaling-factor 1

gsettings set org.gnome.desktop.interface gtk-theme 'Ambiance'
gsettings set org.gnome.desktop.wm.preferences theme 'Ambiance'

gsettings set org.gnome.settings-daemon.plugins.xsettings hinting full
gsettings set org.gnome.settings-daemon.plugins.xsettings antialiasing rgba

gsettings set org.gnome.desktop.interface document-font-name 'Source Code Variable Light 16'
gsettings set org.gnome.desktop.interface monospace-font-name 'Source Code Pro Light 16'

and via ~/.xsettingsd

Xft/Antialias 1
Xft/DPI 96
Xft/Hinting 1
Xft/HintStyle "hintfull"
Xft/RGBA "rgb"


(set-face-attribute 'default nil
                    :family "Source Code Pro Light"
                    :slant 'normal
                    :height 165
                    :weight 'light
                    :width 'normal)


  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  '(fixed-pitch ((t (:family "Source Code Pro Light" :height 165))))
  '(variable-pitch ((t (:family "Source Code Variable Light" :height 165))))


in ~/.gvimrc (it will read ~/.vimrc as well

set background=dark
colorscheme NeoSolarized

""set guifont=SF\ Pro\ Text\ Light\ 16
set guifont=Source\ Code\ Pro\ Light\ 16

set guioptions-=m  "menu bar
set guioptions-=T  "toolbar
set guioptions-=r  "scrollbar

Not all the fonts in Gnome Terminal and Emacs are consistent.

See also Solarized

Last modified 2 years ago Last modified on Dec 25, 2018, 1:01:49 PM
Note: See TracWiki for help on using the wiki.