I apologize that this has been brought to comp.text.tex before but without any useful resolutions. As I have been facing this problem for a few years already and remain hopeless, I will be grateful for any insights. I only learned of this mailing list a few days ago so I think I may have a try here. If it remains unresolved, then I will give up.

I'm trying to pdflatex the following document:
===============================================

\documentclass[12pt]{article}

\usepackage{CJK}

\begin{document}

\begin{CJK}{UTF8}{arialuni}
\noindent 江山易改,本性難移。\\
这是简体中文测试。\\
\end{CJK}

\end{document}

=====================================

arialuni is the Arial Unicode MS TTF bundled with MS Office, and I installed in latest version of teTeX (also tried TeXlive 2005 as well with similar results) with steps similar to the following:

ttf2tfm arialuni.ttf -w [EMAIL PROTECTED]@
mv *.enc $TEXMF/fonts/enc
mv *.tfm $TEXMF/fonts/tfm
mv arialuni.ttf $TEXMF/fonts/truetype
# Generate $TEXMF/fonts/map/arialuni.map according to generated files
echo "Map arialuni.map" >> $TEXMF/web2c/updmap.cfg
texhash
updmap-sys


Operating system is Debian unstable, reproducible on Fedora Core 5 as well. pdflatex segfaults toward the end. But if I take away the full-width comma from the document, the PDF can then be generated successfully with no segfault.

In the past, probably before change to pdfeTeX, an empty space was substituted for the comma in the PDF without segfault. I don't quite understand why the font contained the glyph for full-width comma (U+FF0C) but it (in fact all U+FFxx glyphs) refuse to render in the final PDF for this particular font.

Another font installed, bitstream cyberbit, is able to render U+FFxx glyphs on PDF without problems.

The latest CJK package and Unicode.sfd didn't help with the issue. Any ideas on why it is failing? It seems so strange that I cannot explain in any sensible way.

TIA,
Bernard Chan.



_______________________________________________
Cjk maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to