Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica Technical FAQs Services & Resources / Mathematica / Systems & Installation / Unix
-----
 /
HP-UX
*Mathematica
*Network Mathematica
*webMathematica
*gridMathematica
*Personal Grid Edition
*Wolfram Workbench
*Wolfram Education Group
*Application Packages
*Mathematica for Students
*Mathematica CalcCenter
*Publicon
*A New Kind of Science Explorer
*Mathematical Explorer
*Mathematica Teacher's Edition
*Calculus WIZ
*Mathematica Player
*Ask about this page
*Print this page
*Email this page
*Give us feedback
*
Sign up for our newsletter:

매쓰매티카 프론트엔드 실행시 xset 에러메시지가 나는 이유는?

이 문제의 주 원인은 매쓰매티카 리소스 파일들의 폰트 리스트 최대값 셋팅과 관련되어 있습니다. 원래는 최대값이 2000 으로 셋팅되어 있었습니다. 그러나 보통 5000 이상의 폰트들이 HP-UX 시스템에 인스톨되어 있으므로 최대값을 6000 지정하시기를 적극 권장합니다. 아래에 최대값을 새로 지정하는 방법이 나와 있습니다.

1.

Specific.tr 을 아래의 디렉토리에서

 

/usr/local/mathematica/4.1/SystemFiles/FrontEnd/TextResources/X

 

홈 (home) 디렉토리로 복사합니다.

 

~/.Mathematica/4.1/SystemFiles/FrontEnd/TextResources/X/Specific.tr

2.

@@resource maxForXListFonts 리소스값을 2000 에서 3000...6000 사이로 변경합니다.

문제의 다른 원인은 X server 의 Type1 폰트 지원과 관련되어 있습니다. mathematica 스크립트는 xset 명령을 두번 콜하여 두개의 폰트 디렉토리들을 X 폰트 서치경로에 포함시킵니다. 첫번째 콜은 비트맵 폰트인 *.bdf 폰트들을 추가하며, 두번째 콜은 PostScript 폰트인 Type1 폰트들을 추가합니다.

어떤 시스템들에서는 mathematica 스크립트를 실행시키면 폰트 xset 에러가 나기도 합니다. 이는 디폴트 X server 가 Type1 폰트를 지원하지 않을때 일어납니다. 만약에 프론트엔드를 실행할수 있고 정상적으로 동작한다면 위의 메시지는 단순한 경고메시지 입니다.

mathematica 스크립트를 아래와 같이 수정하십시요. 아래와 같은 라인을 찾아서

font=$topdir/SystemFiles/Fonts/Type1 [ $havefonts -lt 2 ] && xset fp+ $font

아래와 같이 주석문으로 만드십시요.

# font=$topdir/SystemFiles/Fonts/Type1 # [ $havefonts -lt 2 ] && xset fp+ $font

계속해서 폰트와 관련된 문제가 발생하면 아래의 URL 을 참고 하시기 바랍니다.

http://support.wolfram.com/mathematica/systems/unix/interface/unixxserver.html

Download this FAQ as a Mathematica 5.2 Notebook






 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [en] [ja]