레드햇 9 에서 윈도우 폰트 사용하기(안되여 T.,T)

soccermaru의 이미지

리눅스 기본 폰트가 넘 흐릿하게 보여서
윈도우용 폰트를 사용할까해서 여기저기 자료들 보고 따라했는데
안되네요
제가 마지막으로 따라한 설정법인데 여기서 머 다른거 또 해줘야
하는지요

윈도우용 글꼴을 Linux에 설치하시는 방법은 아래의 순서대로 해주시면 됩니다.

1. 윈도우 굴림, 바탕 폰트를 확인

c:\windows\fonts\gulim.ttc
c:\windows\fonts\batang.ttc

2. 폰트를 넣어둘 디렉토리를 생성하고, 윈도우 폰트를 복사해 넣는다.

mkdir /usr/share/fonts/ms-gulim
mkdir /usr/share/fonts/ms-batang

(현재 디렉토리는 마운트된 윈도우 폰트 디렉토리라고 가정)
cp gulim.ttc /usr/share/fonts/ms-gulim
cp batang.ttc /usr/share/fonts/ms-batang

3. /etc/X11/XF86Config 파일을 편집

아래 두 줄을 FontPath 부분에 추가해 준다.

FontPath "/usr/share/fonts/ms-gulim"
FontPath "/usr/share/fonts/ms-batang"

같은 파일의 Section "Module" 을 확인하고

Load "xtt"

가 없으면 추가해 준다.

Load "freetype"

이 있을 경우 주석처리 한다.

4. /etc/X11/fs/config 파일을 편집

catalogue 부분에

/usr/share/fonts/ms-gulim,
/usr/share/fonts/ms-batang
(쉼표에 주의!!)

을 추가하고,

/usr/share/fonts/ko/TrueType

부분을 주석처리한다.

5. /etc/fonts/fonts.conf 에 위 글꼴의 디렉토리를 추가한다.

/usr/share/fonts/ms-gulim


/usr/share/fonts/ms-batang

6. xfs 데몬을 재시작하고, fc-cache 명령을 실행한다.

x윈도우 상에서 작업을 진행했다면 우선 로그아웃하여 빠져 나온 후,

/etc/init.d/xfs restart
/usr/bin/fc-cache

를 실행한다.

thisrule의 이미지

이렇게 해보세요.
/usr/share/fonts 아래에 msfonts 라는 디렉토리를 만들고
그 안에 gulim.ttc, batang.ttc를 복사해 넣습니다.
그리고, 루트계정에서 fc-cache 하세요.
확인하는 방법은 fc-list | grep Gulim 하면 됩니다.

soccermaru의 이미지

이 RPM 깔았더니 윈도우 굴림체랑 거의 비슷한 굴림체가 이제 잡히네요

ftp://ftp.haansoftlinux.com/pub/haansoftlinux/OS/2005/Workstation/RPMS/hanyang-ttf-2.0-2hs.noarch.rpm

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.