LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with installing fonts (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-installing-fonts-4175494515/)

ali.abry 02-11-2014 03:15 AM

problem with installing fonts
 
Hi every body
here is the things i did to install some new fonts using tutorial in "LPIC-1 Linux Professional Institute Certification" but they're not showing in libreoffice:
first i made a directory in my home directory and put new fonts in it and then running these to commands to make font.dir file :
Code:

mkfontscale
mkfontdir

after that i put this address to my xorg.conf at section "Files" and rebooted the system :
Code:

FontPath        "/home/aliali/Font"

John VV 02-11-2014 03:26 AM

depending on the Operating system
put the fonts in a "dot" folder
~/.fonts
that is a lowercase f in .fonts

dot files are hidden files and folders
then log out and log back in again

yogesh_attarde 02-11-2014 03:29 AM

Hi,

Which distro are you using?

If you are using Centos, you should copy font at /usr/share/fonts and run the fc-cache -fv command to build font information.


Regards,
Yogesh

ali.abry 02-11-2014 03:49 AM

i have ubuntu 12.04
is the way i did is right ? i cane use GUI way but i wanted to learn terminal way

Randicus Draco Albus 02-11-2014 04:00 AM

Since Buntu is based on Debian, it should be an easy procedure of copying or moving the sub-directory containing your founts into /etc/fonts and then setting the permissions to match the other sub-directories.

ali.abry 02-11-2014 08:10 AM

actually i wanted to learn that way of installing font since its one of the topics of LPIC1 ?
can any one help me with that way of installing font


All times are GMT -5. The time now is 07:42 PM.