Having Microsoft Fonts on Linux (Ubuntu)

I have been using Ubuntu in the office lately. However, I did not have the standard fonts that you would find on a Windows system for use in documents. So I simply used the following method to add them:

# sudo aptitude install msttcorefonts

For these fonts to display in 96dpi you may also need to add a line in your /etc/X11/xorg.conf:

# sudo vi /etc/X11/xorg.conf

Add this line in the Section “Device” somewhere before EndSection

Option     "DPI" "96x96"

Then you will need to either restart X or reboot to apply the settings. After the restart/reboot you can use the following command to see if you are using 96dpi.

# xdpyinfo | grep resolution

Published by

Adam

Application Architect from Florida

Leave a Reply

Your email address will not be published. Required fields are marked *