우분투(SimSun)에 글꼴이 없습니다.

우분투(SimSun)에 글꼴이 없습니다.

이전에는 Miktex를 사용하여 창 7에서 Xelatex를 사용하여 파일을 컴파일했는데 제대로 작동합니다. 이제 Ubuntu 12.04에 TexLive 2009를 설치하고 동일한 파일을 다시 컴파일하는데 컴파일 후 다음과 같은 오류가 발생합니다( xelatex myfile.tex).

kpathsea: Running mktexmf SimSun
! I can't find file `SimSun'.
<*> ...:=ljfour; mag:=1; nonstopmode; input SimSun

Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input SimSun

Transcript written on mfput.log.
grep: SimSun.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input SimSun' failed to make SimSun.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font \zf@basefont=SimSun at 10.0pt not loadable: Metric (TFM) file or install
ed font not found.
<to be read again> 
               \let 
l.30 \setCJKmainfont{SimSun}
Set Chinese font, complusory
? 

Ubuntu의 Window 7에서 MikTex에 사용 가능한 글꼴을 사용할 수 있는 방법이 있습니까? 아니면 다른 처리 방법이 있나요?

MWE:

\documentclass[a4paper]{article}

\usepackage{xeCJK}
\setCJKmainfont{SimSun}
\xeCJKsetup{PunctStyle=kaiming,CJKspace=true,CheckSingle=true} 

\begin{document}
宋體中文字
\end{document}

답변1

문제는 (L)ubuntu에서는 파일 이름이 대소문자를 구분하지만 Windows(XP)에서는 그렇지 않다는 것입니다. Windows에서 Ubuntu로 이동할 때 이 문제가 발생했습니다.

관련 정보