Skip to content

Instantly share code, notes, and snippets.

@thefish
Last active August 29, 2015 13:58
Show Gist options
  • Save thefish/9972664 to your computer and use it in GitHub Desktop.
Save thefish/9972664 to your computer and use it in GitHub Desktop.
Monaco font on Ubuntu with antialiasing
#!/bin/bash
cd /usr/share/fonts/truetype/
sudo mkdir ttf-monaco
cd ttf-monaco/
sudo wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf
sudo mkfontdir
cd ..
fc-cache
sudo echo "<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- ...other settings can be here... -->
<match target="font">
<test name="family"> <string>Monaco</string> </test>
<edit name="embeddedbitmap"> <bool>false</bool> </edit>
</match>
</fontconfig>" > /etc/fonts/conf.avail/71-fix-monaco.conf
cd /etc/fonts/conf.d
sudo ln -s ../conf.avail/71-fix-monaco.conf .
@thefish
Copy link
Author

thefish commented Apr 4, 2014

http://i.imgur.com/HSUqBF6.png
Monaco 9 seems to be most comfortable font for console.
To install, run this script, and logout/login out of X session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment