“...I've been working since 2008 with Ruby / Ruby on Rails, love a bit of Elixir / Phoenix and learning Rust. I also poke through other people's code and make PRs for OpenSource Ruby projects that sometimes make it. Currently working for InPay...”

Rob Lacey
Senior Software Engineer, UK

Installing new fonts on Ubuntu

Normally I do all of my image manipulation on Windows with Photoshop as I am not a big fan of GIMP, so I’ve never had to install a new font before. Not immediately obvious but you can do it like so.

rl@bloodandguts:~$ sudo mkdir /usr/share/fonts/truetype/robl/
rl@bloodandguts:~$ sudo cp /home/rl/Desktop/HorsePuke.ttf /usr/share/fonts/truetype/robl/
rl@bloodandguts:~$ sudo fc-cache -fv
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
.......
/usr/share/fonts/truetype/robl: caching, new cache contents: 1 fonts, 0 dirs
.......
fc-cache: succeeded
GPK of the Day Mad DONNA