How to install Arial font or any true type font in Debian Wheezy

13,055

Solve the problem with:

wget http://ftp.br.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb

#Dependence for dpkg 
apt-get install cabextract 

#Install fonts by dpkg
dpkg -i ttf-mscorefonts-installer_3.6_all.deb

reboot

After this the report works fine.

Share:
13,055

Related videos on Youtube

Fabricio
Author by

Fabricio

Updated on September 18, 2022

Comments

  • Fabricio
    Fabricio almost 2 years

    I have a web page deployed in server linux (Wheezy server version) and this web page generate a PDF file using a Arial font. I've looked at

    /usr/share/fonts/truetype/ 
    

    and there is no Arial font found there. Only:

    DejaVuSans-Bold.ttf
    DejaVuSansMono-Bold.ttf
    DejaVuSansMono.ttf
    DejaVuSans.ttf
    DejaVuSerif-Bold.ttf
    DejaVuSerif.ttf
    

    How to install Arial font?

    • Fabricio
      Fabricio almost 8 years
      PS: The command apt-get install ttf-mscorefonts-installer, don't works
    • Zoredache
      Zoredache almost 8 years
      Doesn't work how? Did you make sure you had the contrib repo enabled?
    • Fabricio
      Fabricio almost 8 years
      Yes, i added this contrib in sources.list :deb http.us.debian.org/debian main contrib and after, i used aptitude update
    • Fabricio
      Fabricio almost 8 years
      i've tested in Ubuntu 12.04 Desktop . Works fine
  • Håkan Lindqvist
    Håkan Lindqvist almost 8 years
    It really ought to work to just add contrib to the regular sources as per wiki.debian.org/SourcesList#Example_sources.list though