Best regards, Liu DongMiao On Sat, Nov 15, 2008 at 16:12, Hongsheng Zhao <[EMAIL PROTECTED]> wrote: > Dear Werner, > > When I run pdflatex twice, I found that the em-dash input using --- > will give me the em-dash (U + 2014) in the pdf file, while the > \CJKchar{"0A1}{"0AA} will give a symbol of HORIZONTAL BAR, i.e., U + > 2015.
Actually, ``---'' gives you em-dash in cmr font. \CJKchar{"0A1}{"0AA}, or \CJKchar[UTF8]{"20}{"14}, will give you U+2014 in your font. They are different, and you can use fontforge to check your pfb file. Or you can use dvitype to convert your dvi file to txt file. > So, I think the \CJKchar{"0A1}{"0AA} command should give me the > em-dash, why it will give me the HORIZONTAL BAR? Please check U+2014 in your pfb file. And you will find that it's a ``HORIZONTAL BAR'' as you said. Finally, ``---'' uses fonts in cmr-type, and \CJK uses fonts in CJK-type. > Please find the pfb font file including the em-dash invoked by the > above minimal example from here: > > ftp://159.226.135.215/incoming/em-dash-HORIZONTAL-BAR/gbkhei25.pfb ---below is chinese 总而言之,---用的是英文字体,而\CJKchar用的是中文字体,你可以检查下中文字体里的U+2014这个字符的形状。CJK大体上来说,是英文部分使用英文字体,中文部分使用中文字体。 _______________________________________________ Cjk maillist - Cjk@ffii.org https://lists.ffii.org/mailman/listinfo/cjk