3

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?

  • 1
    PS: The command apt-get install ttf-mscorefonts-installer, don't works – Fabricio Jul 26 '16 at 22:10
  • Doesn't work how? Did you make sure you had the contrib repo enabled? – Zoredache Jul 27 '16 at 3:08
  • Yes, i added this contrib in sources.list :deb http.us.debian.org/debian main contrib and after, i used aptitude update – Fabricio Jul 27 '16 at 11:29
  • i've tested in Ubuntu 12.04 Desktop . Works fine – Fabricio Jul 27 '16 at 12:03
3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.