Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- port
- netsh
- GIT
- grep
- web.xml
- JavaScript
- 단축키
- import
- resource
- Quartz
- maVen
- Eclipse
- Mac
- context
- 줄바꿈 문자
- bash
- ssh
- plugin
- Source
- xargs
- vscode
- 네트워크
- find
- Windows 10
- tomcat
- IntelliJ
- lsof
- Windows
- profile
- VirtualBox
Archives
- Today
- Total
develog
[linux] ubuntu 에 폰트 설치 본문
폰트 설치하기
## 폰트 파일 복사
sudo cp /path/to/font.ttf /usr/local/share/fonts/
## 폰트 파일 권한 설정
sudo chmod 644 /usr/local/share/fonts/*
## 폰트 캐시 업데이트
sudo fc-cache -f -v
## 폰트 설치 확인
fc-list | grep 'FontName'
fc-cache
$ fc-cache --help
usage: fc-cache [-EfrsvVh] [-y SYSROOT] [--error-on-no-fonts] [--force|--really-force] [--sysroot=SYSROOT] [--system-only] [--verbose] [--version] [--help] [dirs]
Build font information caches in [dirs]
(all directories in font configuration by default).
-E, --error-on-no-fonts raise an error if no fonts in a directory
-f, --force scan directories with apparently valid caches
-r, --really-force erase all existing caches, then rescan
-s, --system-only scan system-wide directories only
-y, --sysroot=SYSROOT prepend SYSROOT to all paths for scanning
-v, --verbose display status information while busy
-V, --version display font config version and exit
-h, --help display this help and exit
Comments