CentOS 5.3 폰트 설치

jin6093의 이미지

폰트를 /usr/share/fonts 에 설치한 후 터미널에서 # fc-cache -v 를 해 보니 폰트가 적용되지 않습니다. 설치한 글꼴은 은글꼴 코어와 네이버 사전체 입니다. 페도라, 우분투에서는 동일한 방법으로 설치해서 적용하니 잘 됩니다. 어떤 문제일까요? 도움을 부탁드립니다.

beyond의 이미지

잘 될지는 모르겠지만 옵션을 이렇게 해보세요.

# fc-cache -frv
jin6093의 이미지

말씀하신대로 시도해 봤습니다. 명령을 실행하니 폰트 캐싱이 잘 되었다고 나옵니다. 은글꼴 core 12개 글꼴이 설치되었다고 하네요. 그런데 글꼴을 바꾸려고 응용 프로그램에 들어가 보니 글꼴 목록에는 은글꼴이 없습니다. 터미널 프로파일, 시스템 글꼴 , 파이어폭스 글꼴 등 마찬가지입니다.

sephiron의 이미지

1. fc-list 해보시고
2. 재부팅 또는 ctrl+alt+bs 해보세요.

jin6093의 이미지

처음 fc-list를 해 보니 은폰트가 없었습니다. 그래서 ctrl+alt+bs를 하고 나서 root 계정으로 들어가서 fc-cache -frv 명령을 내린 후, fc-list를 해 보니 폰트 정보가 나옵니다. 어제도 재부팅을 해 봤는데 그 때는 되지 않았습니다. 계정하고 관련이 있는건가요? 어제까지는 일반 사용자 계정으로만 시도를 했었습니다. 오늘 루트 계정으로 해 보니 되어서요.

답변 감사드립니다.

추가 질문 : man 페이지에 fc-cache 옵션 중에서 'r'에 대한 설명이 없던데 이건 어떤 기능을 하는 건가요?

beyond의 이미지

man 해보니 정말 안나오는군요.

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옵션의 도움말 설명입니다.
두 옵션의 차이는 기존의 폰트캐시를 인정하는지, 인정하지 않는지 입니다.

jin6093의 이미지

답변 감사합니다. 일반 사용자 계정으로 'fc-cache' 명령을 줬을 때 permission denied가 발생하지 않아 권한은 이상이 없다고 생각했었습니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.