Monday, 4 June 2012

Adding Fonts to Fontconfig and Geany editor in centos

 Adding Fonts to Fontconfig

Adding new fonts to the Fontconfig subsystem is a straightforward process.
  1. To add fonts system-wide, copy the new fonts into the /usr/share/fonts/ directory. It is a good idea to create a new subdirectory, such as local/ or similar, to help distinguish between user-installed and default fonts.
    To add fonts for an individual user, copy the new fonts into the .fonts/ directory in the user's home directory.
  2. Use the fc-cache command to update the font information cache, as in the following example:
    fc-cache <path-to-font-directory>
    In this command, replace <path-to-font-directory> with the directory containing the new fonts (either /usr/share/fonts/local/ or /home/<user>/.fonts/). 

Install TTF font in CentOS

 3.Installing TTF font in CentOS is very easy. You will need root access.
To install, follow these simple commands;

 check if directory /usr/share/fonts/TTF exists, if it does not exist, create it.
#mkdir /usr/share/fonts/TTF
copy any *.TTF file font you want to install to /usr/share/fonts/TTF/ directory
then run the command:
#/sbin/service xfs reload


Geany editor installation and configuration:
973  yum install perl*
  974  yum clean all
  975  yum update
  976  yum install yum-utils
  977  yum install perl*
  978  ls
  980  yum install gawk
  989  yum install gtk2*
  990  ls
  996  cd intltool-0.40.6// did u get error regarding intltool install this tool ....
  997  ./configure
  998  exit
  999  yum install geany geany-plugins-*
*************

1 comment:

  1. The Linux Stuff: Adding Fonts To Fontconfig And Geany Editor In Centos >>>>> Download Now

    >>>>> Download Full

    The Linux Stuff: Adding Fonts To Fontconfig And Geany Editor In Centos >>>>> Download LINK

    >>>>> Download Now

    The Linux Stuff: Adding Fonts To Fontconfig And Geany Editor In Centos >>>>> Download Full

    >>>>> Download LINK 4A

    ReplyDelete