<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
</style>
</head>
<body class='hmmessage'>
<BR>&gt; I don't think that \XeTeXuseglyphmetrics is useful in this context.<BR>&gt; It only tells xetex to *use* the existing informations about height<BR>&gt; and depth (the bounding box), it doesn't generate or change them. <BR>&gt; <BR>&gt; I don't know anything about CJK so I can't offer a solution only<BR>&gt; some ideas:<BR>&gt; - change the font itself<BR>&gt; - Look if \XeTeXinterchartoks can be used<BR><BR>&gt; - Use commands for the punctuation marks (e.g. by activating the<BR>&gt; chars) and then define them as you want (this can probably be done<BR>&gt; on a font level).<BR><BR>Yes, it is the way to solve this problem.<BR>To do that (deleting redundant spaces around a punctuation glyph), we have to know the bbox.<BR>&nbsp;<BR>I think a primitive like \XeTeXuseglyphmetrics is useful.&nbsp; For example, with \XeTeXuseglyphmetrics=1,&nbsp;the spaces around a CJK glyph with be trimed, which is exact what I wanted.<BR>Once we have such a primitive, it is easy to&nbsp!
 ;set punctuation glyphs, including margin kerning and more.<BR>&nbsp;<BR>Best,<BR>Wenchang&nbsp;<BR>&nbsp;<BR><BR><br /><hr />邀請大家來參加派對吧! <a href='http://www.microsoft.com/windows/windowslive/products/events.aspx' target='_new'>邀請大家來參加派對吧!</a></body>
</html>