폰트를 /usr/share/fonts 에 설치한 후 터미널에서 # fc-cache -v 를 해 보니 폰트가 적용되지 않습니다. 설치한 글꼴은 은글꼴 코어와 네이버 사전체 입니다. 페도라, 우분투에서는 동일한 방법으로 설치해서 적용하니 잘 됩니다. 어떤 문제일까요? 도움을 부탁드립니다.
말씀하신대로 시도해 봤습니다. 명령을 실행하니 폰트 캐싱이 잘 되었다고 나옵니다. 은글꼴 core 12개 글꼴이 설치되었다고 하네요. 그런데 글꼴을 바꾸려고 응용 프로그램에 들어가 보니 글꼴 목록에는 은글꼴이 없습니다. 터미널 프로파일, 시스템 글꼴 , 파이어폭스 글꼴 등 마찬가지입니다.
처음 fc-list를 해 보니 은폰트가 없었습니다. 그래서 ctrl+alt+bs를 하고 나서 root 계정으로 들어가서 fc-cache -frv 명령을 내린 후, fc-list를 해 보니 폰트 정보가 나옵니다. 어제도 재부팅을 해 봤는데 그 때는 되지 않았습니다. 계정하고 관련이 있는건가요? 어제까지는 일반 사용자 계정으로만 시도를 했었습니다. 오늘 루트 계정으로 해 보니 되어서요.
답변 감사드립니다.
추가 질문 : man 페이지에 fc-cache 옵션 중에서 'r'에 대한 설명이 없던데 이건 어떤 기능을 하는 건가요?
debian:~$ fc-cache -l
fc-cache: invalid option -- l
usage: fc-cache [-frsvV?] [--force|--really-force] [--system-only] [--verbose] [--version] [--help] [dirs]
Build font information caches in [dirs]
(all directories in font configuration by default).
-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
-v, --verbose display status information while busy
-V, --version display font config version and exit
-?, --help display this help and exit
폰트를 /usr/share/fonts에 설치하셨다고 하셨습니다.
이 디렉토리는 root만이 관리할 수 있는 디렉토리이므로 아무리 일반사용자 계정으로 fc-cache를 실행한다고 해도 권한부족으로 인해 처리가 되지 않습니다.
추가 질문에 대한 대답은 beyond님이 답하시긴 했는데 글꼴 문제인지 제대로 못 보신것 같네요.
[blockquote]
-f, --force scan directories with apparently valid caches
-r, --really-force erase all existing caches, then rescan
[/blockquote]
-f 옵션과 -r옵션의 도움말 설명입니다.
두 옵션의 차이는 기존의 폰트캐시를 인정하는지, 인정하지 않는지 입니다.
잘 될지는
잘 될지는 모르겠지만 옵션을 이렇게 해보세요.
잘 되지 않네요.
말씀하신대로 시도해 봤습니다. 명령을 실행하니 폰트 캐싱이 잘 되었다고 나옵니다. 은글꼴 core 12개 글꼴이 설치되었다고 하네요. 그런데 글꼴을 바꾸려고 응용 프로그램에 들어가 보니 글꼴 목록에는 은글꼴이 없습니다. 터미널 프로파일, 시스템 글꼴 , 파이어폭스 글꼴 등 마찬가지입니다.
1. fc-list 해보시고 2.
1. fc-list 해보시고
2. 재부팅 또는 ctrl+alt+bs 해보세요.
성공했습니다 ^^
처음 fc-list를 해 보니 은폰트가 없었습니다. 그래서 ctrl+alt+bs를 하고 나서 root 계정으로 들어가서 fc-cache -frv 명령을 내린 후, fc-list를 해 보니 폰트 정보가 나옵니다. 어제도 재부팅을 해 봤는데 그 때는 되지 않았습니다. 계정하고 관련이 있는건가요? 어제까지는 일반 사용자 계정으로만 시도를 했었습니다. 오늘 루트 계정으로 해 보니 되어서요.
답변 감사드립니다.
추가 질문 : man 페이지에 fc-cache 옵션 중에서 'r'에 대한 설명이 없던데 이건 어떤 기능을 하는 건가요?
man 해보니 정말
man 해보니 정말 안나오는군요.
폰트를
폰트를 /usr/share/fonts에 설치하셨다고 하셨습니다.
이 디렉토리는 root만이 관리할 수 있는 디렉토리이므로 아무리 일반사용자 계정으로 fc-cache를 실행한다고 해도 권한부족으로 인해 처리가 되지 않습니다.
추가 질문에 대한 대답은 beyond님이 답하시긴 했는데 글꼴 문제인지 제대로 못 보신것 같네요.
[blockquote]
-f, --force scan directories with apparently valid caches
-r, --really-force erase all existing caches, then rescan
[/blockquote]
-f 옵션과 -r옵션의 도움말 설명입니다.
두 옵션의 차이는 기존의 폰트캐시를 인정하는지, 인정하지 않는지 입니다.
답변 감사합니다.
답변 감사합니다. 일반 사용자 계정으로 'fc-cache' 명령을 줬을 때 permission denied가 발생하지 않아 권한은 이상이 없다고 생각했었습니다.
댓글 달기