Ubuntu - Install Source Code Pro

Source Code Pro is a font from Adobe that looks amazingly similar to Droid Sans Mono to me, except that it has a larger space between lines which I quite like in my gnome-terminal where the line-height cannot be adjusted.

Installation Script

To install the font in Ubuntu, simply execute the following script


mkdir /tmp/$FONT_NAME
cd /tmp/$FONT_NAME
wget $URL -O "`echo $FONT_NAME`.tar.gz"
tar --extract --gzip --file ${FONT_NAME}.tar.gz
sudo mkdir /usr/share/fonts/truetype/$FONT_NAME
sudo cp -rf /tmp/$FONT_NAME/. /usr/share/fonts/truetype/$FONT_NAME/.
fc-cache -f -v


No comments:

Post a Comment