-->

GoogleSearch



추천영상: 12인치 천체망원경으로 촬영한 토성

Scientist. Husband. Daddy. --- TOLLE. LEGE
외부자료의 인용에 있어 대한민국 저작권법(28조)과 U.S. Copyright Act (17 USC. §107)에 정의된 "저작권물의 공정한 이용원칙 | the U.S. fair use doctrine" 을 따릅니다. 저작권(© 최광민)이 명시된 모든 글과 번역문들에 대해 (1) 복제-배포, (2) 임의수정 및 자의적 본문 발췌, (3) 무단배포를 위한 화면캡처를 금하며, (4) 인용 시 URL 주소 만을 사용할 수 있습니다. [후원 | 운영] [대문으로] [방명록] [옛 방명록] [티스토리 (백업)]

이 블로그 검색

Installing TrueType fonts to Linux

라벨:




1. Create folder under “/usr/share/fonts”

e.g. mkdir /usr/share/fonts/myfonts

2. Change font file permission

e.g. chmod 775 -R /usr/share/fonts/myfonts

3. fc-cashing on the font directory

1. Make a new directory in your home called .fonts (note leading . )
2. Copy the downloaded TTF file into this directory
3. Change directory to .fonts (cd ~/.fonts/)
4. Run the command: mkfontscale (creates fonts.scale)
5. Run the command: mkfontdir (creates fonts.dir)
6. Run the command: fc-cache -fv ~/.fonts (rebuilds ~/.fontconfig/)

e.g.

cd /usr/share/fonts
fc-cache myfonts


4. Done!


OR

Install the chkfontpath package from ATrpms (Click on either the i686 or x86_64 package, depending on whether you have a 32-bit or 64-bit machine).

As root, install some packages you'll need for the following steps:

yum install rpm-build cabextract ttmkfdir wget

Download the MS Core Fonts Smart Package File:

wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec

Build the Core Fonts package:

rpmbuild -ba msttcorefonts-2.0-1.spec

Install the Core Fonts package:

yum install --nogpgcheck /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm




라벨:





Scientist. Husband. Daddy. --- TOLLE. LEGE
외부자료의 인용에 있어 대한민국 저작권법(28조)과 U.S. Copyright Act (17 USC. §107)에 정의된 "저작권물의 공정한 이용원칙 | the U.S. fair use doctrine" 을 따릅니다. 저작권(© 최광민)이 명시된 모든 글과 번역문들에 대해 (1) 복제-배포, (2) 임의수정 및 자의적 본문 발췌, (3) 무단배포를 위한 화면캡처를 금하며, (4) 인용 시 URL 주소 만을 사용할 수 있습니다. [후원 | 운영] [대문으로] [방명록] [옛 방명록] [티스토리 (백업)] [신시내티]

-