<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
</style>
</head>
<body class='hmmessage'>
The problem is solved by setting $OSFONTDIR.&nbsp;<BR>
Sorry for the noise.<BR>
&nbsp;<BR>
Best,<BR>
Wenchang<BR>&nbsp;<BR>
<HR id=stopSpelling>
From: sunwch@hotmail.com<BR>To: xetex@tug.org<BR>Date: Thu, 13 Aug 2009 00:05:12 +0200<BR>Subject: [XeTeX] Problem with font setting in Linux<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:9pt;font-family:新細明體;}
</STYLE>
The following tex file works well in a Windows system, but not in Linux:<BR>&nbsp;<BR>\documentclass{article} <BR>\begin{document}<BR>\font\1="DejaVu Serif"<BR>\1<BR>This is OK.<BR><BR>\font\2="[DejaVuSerif.ttf]"<BR>\2<BR>This will give an error in&nbsp;Linux.<BR>Why?<BR>\end{document}<BR>&nbsp;<BR>Best,<BR>Wenchang<BR><BR><BR>
<HR>
用部落格分享照片、影音、趣味小工具和最愛清單,盡情秀出你自己 — <A href="http://spaces.live.com/">Windows Live Spaces</A><br /><hr />用部落格分享照片、影音、趣味小工具和最愛清單,盡情秀出你自己 — <a href='http://spaces.live.com/' target='_new'>Windows Live Spaces</a></body>
</html>