Xorg 6.8.2 에서 ms font 사용하기

서지훈의 이미지

사용해 보신분 계신가요?
xtt모듈이 없어서 freetype 모듈로 할려구 해도 에러만 나니 답답하군요.
몇 일째 이거 삽질 중인데...
XFree-4.5.0 소스 가져다 xtt 모듈만 따로 만들어서 사용해도 소용이 없군요.
아... 답답햐...

참고적으로다가 제 머신은 FreeBSD 5-STABLE 입니다.

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

File attachments: 
첨부파일 크기
Image icon sc.png590.88 KB
Image icon xfontsel.png8.23 KB
sangu의 이미지

서지훈 wrote:
사용해 보신분 계신가요?
xtt모듈이 없어서 freetype 모듈로 할려구 해도 에러만 나니 답답하군요.
몇 일째 이거 삽질 중인데...
XFree-4.5.0 소스 가져다 xtt 모듈만 따로 만들어서 사용해도 소용이 없군요.
아... 답답햐...

참고적으로다가 제 머신은 FreeBSD 5-STABLE 입니다.

어떤 프로그램에서 ms font을 이용하려고 하시나요?

서지훈의 이미지

전체적으로 ms gulimche를 사용할려 하는데...
이게 제일 무난하고 깔끔하더라고요.
그런데 freetype 모듈에서 올리면 에러가 나네요.
아니면 혹시 이거를 대체할만한 아름다운 서체 있으면 추천 좀 해주세요.

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

#include <com.h> <C2H5OH.h> <woman.h>
do { if (com) hacking(); if (money) drinking(); if (women) loving(); } while (1);

sangu의 이미지

서지훈 wrote:
전체적으로 ms gulimche를 사용할려 하는데...
이게 제일 무난하고 깔끔하더라고요.
그런데 freetype 모듈에서 올리면 에러가 나네요.
아니면 혹시 이거를 대체할만한 아름다운 서체 있으면 추천 좀 해주세요.

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

어떤 에러인지요? 저도 xorg-x11 6.8.2을 사용하지만 그런 현상이 없습니다.

그리고 GNOME2 환경이라면 글꼴 폴더에 복사를 하고 그 글꼴을 선택만 하면 전체적으로 사용할 수 있습니다.

----
참고로 말씀 드리면 xfontset을 위한 xtt 모듈은 xorg-x11 6.8.x에서 더이상 지원을 하지 않고 freetype 모듈이 기본입니다.

환상경의 이미지

1. ms gulim.ttc를 복사해온뒤 /usr/share/fonts/ko 아래에 디렉을 만들어서 넣어줍니다.
2. 다음의 명령을 실행해줍니다.
3. mkfontscale
mkfontdir
ttmkfdir
fc-cache -fv

하면 등록이 되어 있을텐데요

아 /etc/fonts/fonts.conf 에 /usr/share/fonts 이부분이 기본으로 등록되어있으니 그냥 하셔도 됩니다.

==================================================================
정체된 일상.... 계기를 만들어야 하는데........
BLOG : http://khmirage.tistory.com/

서지훈의 이미지

sangu wrote:
서지훈 wrote:
전체적으로 ms gulimche를 사용할려 하는데...
이게 제일 무난하고 깔끔하더라고요.
그런데 freetype 모듈에서 올리면 에러가 나네요.
아니면 혹시 이거를 대체할만한 아름다운 서체 있으면 추천 좀 해주세요.

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

어떤 에러인지요? 저도 xorg-x11 6.8.2을 사용하지만 그런 현상이 없습니다.

그리고 GNOME2 환경이라면 글꼴 폴더에 복사를 하고 그 글꼴을 선택만 하면 전체적으로 사용할 수 있습니다.

----
참고로 말씀 드리면 xfontset을 위한 xtt 모듈은 xorg-x11 6.8.x에서 더이상 지원을 하지 않고 freetype 모듈이 기본입니다.


ms font가 xorg-x11 6.8.x에서 잡으 셨다고요?
그럼 know-how좀 공유를 ...
전 별의별 발악을 하고 여기저기 사이트에 물어 봐도 별 수가 없군요.
xtt가 xorg에 포함되어 있지 않은건 아는 사실인데 제가 알기론 할글 폰트를 올릴땐 xtt를 사용해야 제대로 되는걸로 알고 있습니다.

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

#include <com.h> <C2H5OH.h> <woman.h>
do { if (com) hacking(); if (money) drinking(); if (women) loving(); } while (1);

정태영의 이미지

서지훈 wrote:
xtt가 xorg에 포함되어 있지 않은건 아는 사실인데 제가 알기론 할글 폰트를 올릴땐 xtt를 사용해야 제대로 되는걸로 알고 있습니다.

아니요 절대 아닙니다....
freetype 모듈을 사용해도 됩니다...

다만 xtt를 쓰면 볼드 폰트가 없는 경우에도 pseudo bold 를 만들어낼 수 있을 뿐이지요...

그나마도 xfont 를 사용하는 프로그램에 한해서 입니다..
X 로그를 잘 살펴보시기 바랍니다... 왜 안됐는지는 로그에 남아있을 듯 싶군요...

오랫동안 꿈을 그리는 사람은 그 꿈을 닮아간다...

http://mytears.org ~(~_~)~
나 한줄기 바람처럼..

서지훈의 이미지

정태영 wrote:
서지훈 wrote:
xtt가 xorg에 포함되어 있지 않은건 아는 사실인데 제가 알기론 할글 폰트를 올릴땐 xtt를 사용해야 제대로 되는걸로 알고 있습니다.

아니요 절대 아닙니다....
freetype 모듈을 사용해도 됩니다...

다만 xtt를 쓰면 볼드 폰트가 없는 경우에도 pseudo bold 를 만들어낼 수 있을 뿐이지요...

그나마도 xfont 를 사용하는 프로그램에 한해서 입니다..
X 로그를 잘 살펴보시기 바랍니다... 왜 안됐는지는 로그에 남아있을 듯 싶군요...


실제로 사용하실때 잘 잡히 셨나 보네요?
근데 왜 제꺼는 안될까요?
xfontsel에서 보면은 ms 가 있기는 한데...
선택만 하면 뻗어 버리니 ㅡㅡㅋ

근데 실제로 xorg에서 올려 보신분 계신가요?
ms font

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

#include <com.h> <C2H5OH.h> <woman.h>
do { if (com) hacking(); if (money) drinking(); if (women) loving(); } while (1);

orangecrs의 이미지

몇일전에 프비 4.11깔았다가 부득이 사운드의 문제로(이건 해결책이 없더군요...^^) 5.4를 어제 깔었습니다. 급하게 설정하고... 전 트루타입 글꼴 잘쓰고 있네요... freetype이고요...
간만에 프비깔았는데 느끼는 건...프비빠르고 좋은데, 갠적으로 리눅스보다(젠투) 체감속도는 훨씬 좋습니다, 하지만 여전히 사운드문제는 골을 쥐어짜는군요..;;; OSS...

어쨋든 한글사용에 문제가 있으시다니 조그마한 참고가 되시길...
(한데 freetpye을 제대로 설치하셨는데 freeze가 된다는 건가요?
/usr/X11R6/etc/fonts/fonts.conf 파일에 트루타입글꼴 설치한 디렉토리제대로 써주셨나요?) 제 xorg.conf 파일 입니다.

# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **********************************************************************
# Refer to the xorg.conf(5) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"
    Load       "ddc"
#    Load       "extmod"
    Load       "int10"
    Load       "record"
    Load       "vbe"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"
    Option "Buttons"   "5"
    Option "ZAxisMapping" "4 5"
    Option "Device"      "/dev/sysmouse"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"	"256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice" 
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync    30-96

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-160

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "** ATI Radeon (generic)               [radeon]"
    Driver      "radeon"
    VideoRam    32768
    Option "AGPMode" "4"
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "** ATI Radeon (generic)               [radeon]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

 Section "DRI"
    Mode 0666
 EndSection

댓글 첨부 파일: 
첨부파일 크기
Image icon 0바이트

---------------------------------------------------
야!...

sangu의 이미지

서지훈 wrote:

실제로 사용하실때 잘 잡히 셨나 보네요?
근데 왜 제꺼는 안될까요?
xfontsel에서 보면은 ms 가 있기는 한데...
선택만 하면 뻗어 버리니 ㅡㅡㅋ

근데 실제로 xorg에서 올려 보신분 계신가요?
ms font

<어떠한 역경에도 굴하지 않는 '하양 지훈'>


뻗을 때 에러 메세지가 출력 되나요?

쓰레드가 계속 반복되는 되요. 정확히 어떤 환경에서 글꼴을 이용할지 ( GNOME2 프로그램인지 아니면 FontSet을 이용하는 프로그램-xterm, emacs, gtk1-인지) 그리고 어떤 에러 메시지가 출력 되는지를 알려주세요.

xfontsel에서 보인다면 일단 글꼴이 인식 되었네요.

----

X log, xorg.conf, xfontsel 에러 메세지 등등을 올려주세요.

댓글 첨부 파일: 
첨부파일 크기
Image icon 0바이트

정태영의 이미지

서지훈 wrote:
실제로 사용하실때 잘 잡히 셨나 보네요?
근데 왜 제꺼는 안될까요?
xfontsel에서 보면은 ms 가 있기는 한데...
선택만 하면 뻗어 버리니 ㅡㅡㅋ

근데 실제로 xorg에서 올려 보신분 계신가요?
ms font

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

실제로 xorg 에서 올렸습니다... freetype 모듈을 사용했구요... xfontsel 에 등록되는 건 아시겠지만 xfont 를 사용하는 경우이고.. xfont에 폰트를 등록하려면... FONTPATH를... xorg.conf 에 추가하거나 xfs에 해당 fontpath 를 추가해줘야 합니다..

fontpath 에는.. fonts.dir 등이 정상적으로 생성되어 있어야 하구요... 이건 ttmkfdir;mkfontdir 커맨드로 만들 수 있습니다...

ms-fonts 가 있는 폴더로 가서 ttmkfdir;mkfontdir 을 치신 후 FONTPATH 에 ms-fonts 폴더가 제대로 추가되었는지를 확인하세요... 퍼미션도 확인해보시구요

그리고 qt나 gtk2 등을 사용하는 애플리케이션들에서는... xfont 를 사용하지 않습니다.... Xft2 를 직접 사용하며... Xft2 는... fontconfig 에서 font 를 관리하게 됩니다..

그렇기 때문에 Xft2 에 폰트를 등록하려면 /etc/fonts.conf 에 경로가 추가되어야 하고 (대게 /usr/share/fonts 밑에 있다면 자동으로 등록됩니다.. 하위 디렉토리는 recursive 하게 뒤져서...)

fontconfig 에 등록된 폰트는 fc-list 로 확인 가능합니다..

그리고 그냥 안됩니다 프리즈되요라기보다 어떤 배포판을 사용하고 어디서 패키징한 Xorg 의 어떤 버젼을 쓰는데 잘 안됩니다 라고 쓰시는게 더 좋은 답변이 달리지 않을까 싶군요 ;)

오랫동안 꿈을 그리는 사람은 그 꿈을 닮아간다...

http://mytears.org ~(~_~)~
나 한줄기 바람처럼..

서지훈의 이미지

한글:-ms-gulim-medium-r-normal--0-0-0-0-c-0-ksc5601.1987-0
영문:-ms-gulimche-medium-r-normal-*-0-161-*-*-m-*-iso8859-*

예전엔 이런 형식으로 사용을 했는데...
fndry가 ms에서 microsoft 변경 된건가요?
흠흠흠... ㅡㅡㅋ
microsoft로는 인식이 되고 선택도 되지만 뭔가 전에랑 느낌이 다른것 같았는데...

그리고, xfontsel에서의 에러 메세지 올려 드리고 싶으도 시스템이 회사에 있어서 올려 드릴길이 없군요.
흠흠흠...

Quote:
그리고 그냥 안됩니다 프리즈되요라기보다 어떤 배포판을 사용하고 어디서 패키징한 Xorg 의 어떤 버젼을 쓰는데 잘 안됩니다 라고 쓰시는게 더 좋은 답변이 달리지 않을까 싶군요

당연히 X.org에서 배포된 소스 버젼입니다.
다른데서 배포하는 곳이 있나요?
그리고 설정에는 별다른 문제점이 없는듯 합니다.
전에 XFree86-4 버젼에서 사용하든거 그대로 *.ttc/font.dir/font.alias를 복사해서 사용하는 데도 선택만 하면 xfontsel프로그램이 다운 되니 이게 답답한건데...
다른 분들은 다들 gulim.ttc랑 batang.ttc가 잘 된다니...
뭔가 자료를 더 찾아 삽질을 더 해야 겠군요.

암... 이게 쓰다 안쓰니깐 정말 X 환경 잡기 힘들군요. ㅡㅡㅋ

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

#include <com.h> <C2H5OH.h> <woman.h>
do { if (com) hacking(); if (money) drinking(); if (women) loving(); } while (1);

서지훈의 이미지

orangecrs wrote:
몇일전에 프비 4.11깔았다가 부득이 사운드의 문제로(이건 해결책이 없더군요...^^) 5.4를 어제 깔었습니다. 급하게 설정하고... 전 트루타입 글꼴 잘쓰고 있네요... freetype이고요...
간만에 프비깔았는데 느끼는 건...프비빠르고 좋은데, 갠적으로 리눅스보다(젠투) 체감속도는 훨씬 좋습니다, 하지만 여전히 사운드문제는 골을 쥐어짜는군요..;;; OSS...

어쨋든 한글사용에 문제가 있으시다니 조그마한 참고가 되시길...
(한데 freetpye을 제대로 설치하셨는데 freeze가 된다는 건가요?
/usr/X11R6/etc/fonts/fonts.conf 파일에 트루타입글꼴 설치한 디렉토리제대로 써주셨나요?) 제 xorg.conf 파일 입니다.

# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **********************************************************************
# Refer to the xorg.conf(5) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"
    Load       "ddc"
#    Load       "extmod"
    Load       "int10"
    Load       "record"
    Load       "vbe"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"
    Option "Buttons"   "5"
    Option "ZAxisMapping" "4 5"
    Option "Device"      "/dev/sysmouse"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"	"256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice" 
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync    30-96

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-160

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "** ATI Radeon (generic)               [radeon]"
    Driver      "radeon"
    VideoRam    32768
    Option "AGPMode" "4"
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "** ATI Radeon (generic)               [radeon]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

 Section "DRI"
    Mode 0666
 EndSection


근데... 사용하신 폰트가 ms gulim font인가요?
제가 보기엔 좀 틀린거 같은데 ^^
근데... gulim.ttc는 어디다 복사를 하시고 잡으신 건가요?

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

#include <com.h> <C2H5OH.h> <woman.h>
do { if (com) hacking(); if (money) drinking(); if (women) loving(); } while (1);

정태영의 이미지

서지훈 wrote:
한글:-ms-gulim-medium-r-normal--0-0-0-0-c-0-ksc5601.1987-0
영문:-ms-gulimche-medium-r-normal-*-0-161-*-*-m-*-iso8859-*

예전엔 이런 형식으로 사용을 했는데...
fndry가 ms에서 microsoft 변경 된건가요?
흠흠흠... ㅡㅡㅋ
microsoft로는 인식이 되고 선택도 되지만 뭔가 전에랑 느낌이 다른것 같았는데...

fndry 값은 그다지 큰 의미 있는 값이 아니며... ttmkfdir;mkfontdir 등을 사용해서 만들면 hanyang system 이 됩니다...

실제 한양에서 만들어서 ms 에 사용권을 판 폰트니까요...

오랫동안 꿈을 그리는 사람은 그 꿈을 닮아간다...

http://mytears.org ~(~_~)~
나 한줄기 바람처럼..

orangecrs의 이미지

Quote:
근데... 사용하신 폰트가 ms gulim font인가요?
제가 보기엔 좀 틀린거 같은데 ^^
근데... gulim.ttc는 어디다 복사를 하시고 잡으신 건가요?

ms gullim 맞구요. 틀리게 보이시는건... 저도 리눅스랑 프비랑 약간 틀리게 나오더군요. 렌더러가 프비에서 약간은 틀리게 그려주는 모양입니다. 어플리케이션(gtk2)의 글꼴은 굴림이 아니고 윤디자인폰트입니다. 단지 파폭의 글자만... 저같은 경우 한글의 경우 그놈(gtk2) 위주로 사용하기때문에 xfont를 잘 이용하지 않습니다. 태영님 말씀데로 xfont를 이용할려면 gullim.ttc들을 복사해두신 디렉토리를 xorg.conf에 FontPath를 추가해주셔야 하고 gkt2,즉 Xft2체제의 fontconfig가 자동으로 찾는 디렉토리는 /etc/fonts/fonts.conf에

<dir>/usr/X11R6/lib/X11/fonts</dir>

의 형식으로 넣어주시거나 혹은 저 디렉아래에 저 처럼 corean이라는 디렉을 만드셔서 굴림폰트를 복사해두시면 재귀적으로 찾아서 gtk2어플에서 자동으로 폰트를 표시합니다. 단 프비에서는 /etc/fonts/fonts.conf가 아니라 /usr/X11R6/etc/fonts/fonts.conf입니다.

---------------------------------------------------
야!...

댓글 달기

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