Tutorial: Install TrueType Font on Ubuntu

Sunday, November 10, 2013

What is TrueType Font? TrueType Font (TTF) is an outline font standard developed by Apple and Microsoft in the late 1980s as a competitor to Adobe's Type 1 fonts used in PostScript. It has becom e the most common format for fonts on both the Mac OS and Microsoft Windows operating system.
The familiar TrueType Font are Times Roman, Helvetica, Courier, etc. In Microsoft Windows operating system fonts are Times New Roman (compatible with Times Roman), Arial (compatible with Helvetica), and Courier New (compatible with Courier), etc.

By default, Ubuntu has no TrueType Font (TTF). So Ubuntu users often need TrueType Font for Open Office, Libre Office, Gimp, and another programs. This article will give you tutorial how to install TTF (TrueType Font) on Ubuntu (here I use Ubuntu 13.10). So check this out.
  1. At the first step, you must to prepare the TTF file. You can download TrueType Fonts from internet or copy-paste from Windows font (PathWindows/Windows/Fonts). 
  2. Put the TTF files in the directory /home/user/Font (in this case, my user is mudafiq, so directory address is /home/mudafiq/Font).
  3. Open Terminal (Ctrl + Alt + T)
  4. Switch to superuser by type: sudo su then type your ubuntu password.
  5. Entry to the directory /usr/local/share/fonts by using the following command:
    cd /usr/local/share/fonts

  6. Then create a directory with the name "truetypefonts".
    mkdir truetypefonts


  7. Copy TTF files from /home/user/Font into truetypefonts directory (my user is mudafiq).
    cp /home/user/Font/*.ttf truetypefonts/


  8. We can check the file by using this command:
    ls truetypefonts

  9. From images above, TTF files has been copy to truetypefonts directory. Then we change file owner to the root by using this following command:
    cd truetypefonts
    cd for entry to truetypefonts directory. Then:
    chown root *.ttf
    to change TTF file owner to the root.





  10. Then add new fonts to system-wide font index, so all applications can see them by using this following command:
    fc-cache

  11. Try font from application Libre Office or Open Office.

    Images above is aladdin font, which is a truetype font.


1 comment

  1. After trying all tutorials, yours worked seamlessly. Thanks,

    ReplyDelete

 

Search This Blog

Follow My Twitter