"리눅스 나눔폰트 설치"의 두 판 사이의 차이

 
(사용자 2명의 중간 판 9개는 보이지 않습니다)
5번째 줄: 5번째 줄:
*[[리눅스 unzip 설치]]
*[[리눅스 unzip 설치]]


==나눔폰트 다운로드==
==설치==
*[[/usr/share/fonts]]로 이동하여 나눔폰트 다운로드
<syntaxhighlight lang='bash'>
<source lang='cli'>
wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
[root@zetawiki ~]# cd /usr/share/fonts/
unzip NanumFont_TTF_ALL.zip -d NanumFont
[root@zetawiki fonts]# wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
rm -f NanumFont_TTF_ALL.zip
... (생략)
mv NanumFont /usr/share/fonts/
fc-cache -f -v
</syntaxhighlight>
 
{{소스헤더|실행예시}}
<syntaxhighlight lang='console'>
root@localhost:~# wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
--2021-09-22 06:11:51--  http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
Resolving cdn.naver.com (cdn.naver.com)... 211.216.46.16, 125.209.207.10, 125.209.207.38, ...
Connecting to cdn.naver.com (cdn.naver.com)|211.216.46.16|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14946146 (14M) [application/zip]
Length: 14946146 (14M) [application/zip]
Saving to: “NanumFont_TTF_ALL.zip”
Saving to: ‘NanumFont_TTF_ALL.zip’
 
100%[=================================================>] 14,946,146  22.5M/s  in 0.6s   


2015-09-04 16:33:37 (22.5 MB/s) - “NanumFont_TTF_ALL.zip” saved [14946146/14946146]
NanumFont_TTF_ALL.zip    100%[===================================>]  14.25M  5.92MB/s   in 2.4s
</source>


==압축 해제==
2021-09-22 06:11:54 (5.92 MB/s) - ‘NanumFont_TTF_ALL.zip’ saved [14946146/14946146]
*NanumFont 폴더에 압축을 풀고, 압축파일은 삭제
</syntaxhighlight>
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki fonts]# unzip NanumFont_TTF_ALL.zip -d NanumFont
root@localhost:~# unzip NanumFont_TTF_ALL.zip -d NanumFont
Archive:  NanumFont_TTF_ALL.zip
Archive:  NanumFont_TTF_ALL.zip
   inflating: NanumFont/NanumBrush.ttf
   inflating: NanumFont/NanumBrush.ttf
   inflating: NanumFont/NanumGothic.ttf
   inflating: NanumFont/NanumGothic.ttf
   inflating: NanumFont/NanumGothicBold.ttf
   inflating: NanumFont/NanumGothicBold.ttf
   inflating: NanumFont/NanumGothicExtraBold.ttf
   inflating: NanumFont/NanumGothicExtraBold.ttf
   inflating: NanumFont/NanumMyeongjo.ttf
   inflating: NanumFont/NanumMyeongjo.ttf
   inflating: NanumFont/NanumMyeongjoBold.ttf
   inflating: NanumFont/NanumMyeongjoBold.ttf
   inflating: NanumFont/NanumMyeongjoExtraBold.ttf
   inflating: NanumFont/NanumMyeongjoExtraBold.ttf
   inflating: NanumFont/NanumPen.ttf
   inflating: NanumFont/NanumPen.ttf
</source>
</syntaxhighlight>
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rm -f NanumFont_TTF_ALL.zip
root@localhost:~# rm -f NanumFont_TTF_ALL.zip
</source>
root@localhost:~# mv NanumFont /usr/share/fonts/
root@localhost:~# fc-cache -f -v
/usr/share/fonts: caching, new cache contents: 0 fonts, 5 dirs
/usr/share/fonts/NanumFont: caching, new cache contents: 8 fonts, 0 dirs
...
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[리눅스 나눔고딕코딩 설치]]
*[[TCPDF 한글 폰트 사용]]
*[[X윈도우 나눔고딕 폰트 설정하기]]
*[[리눅스 폰트 폴더 /usr/share/fonts]]
*[[리눅스 폰트 폴더 /usr/share/fonts]]
*[[나눔폰트]]


[[분류: 리눅스]]
[[분류: 폰트]]
[[분류: 폰트]]

2021년 9월 22일 (수) 15:15 기준 최신판

리눅스 나눔고딕폰트 설치
리눅스 나눔폰트 설치

1 사전 작업[ | ]

2 설치[ | ]

wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
unzip NanumFont_TTF_ALL.zip -d NanumFont
rm -f NanumFont_TTF_ALL.zip
mv NanumFont /usr/share/fonts/
fc-cache -f -v
실행예시
root@localhost:~# wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
--2021-09-22 06:11:51--  http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
Resolving cdn.naver.com (cdn.naver.com)... 211.216.46.16, 125.209.207.10, 125.209.207.38, ...
Connecting to cdn.naver.com (cdn.naver.com)|211.216.46.16|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14946146 (14M) [application/zip]
Saving to: ‘NanumFont_TTF_ALL.zip’

NanumFont_TTF_ALL.zip     100%[===================================>]  14.25M  5.92MB/s    in 2.4s

2021-09-22 06:11:54 (5.92 MB/s) - ‘NanumFont_TTF_ALL.zip’ saved [14946146/14946146]
root@localhost:~# unzip NanumFont_TTF_ALL.zip -d NanumFont
Archive:  NanumFont_TTF_ALL.zip
  inflating: NanumFont/NanumBrush.ttf
  inflating: NanumFont/NanumGothic.ttf
  inflating: NanumFont/NanumGothicBold.ttf
  inflating: NanumFont/NanumGothicExtraBold.ttf
  inflating: NanumFont/NanumMyeongjo.ttf
  inflating: NanumFont/NanumMyeongjoBold.ttf
  inflating: NanumFont/NanumMyeongjoExtraBold.ttf
  inflating: NanumFont/NanumPen.ttf
root@localhost:~# rm -f NanumFont_TTF_ALL.zip
root@localhost:~# mv NanumFont /usr/share/fonts/
root@localhost:~# fc-cache -f -v
/usr/share/fonts: caching, new cache contents: 0 fonts, 5 dirs
/usr/share/fonts/NanumFont: caching, new cache contents: 8 fonts, 0 dirs
...
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}