Hi Hans,

I tried to use Chinese opentype fonts with luatex + plain fmt but I
failed. Only with Chinese TTF fonts it can work.

This a simple example:

\pdfoutput=1
\font\myfont=AdobeSongStd-Light

\myfont
我想实现 LuaTeX 对中文的支持

\end

When I compiled it, I got the following messages:

This is LuaTeX, Version beta-0.41.0-2009051221 (Web2C 7.5.7)
 \write18 enabled.
(tt.tex (luatex-basics.tex) (luatex-fonts.tex <luatex-fonts-merged.lua> <luatex
-fonts.lua loaded in 0.027 seconds>) (luatex-mplib.tex)
LuaTeX warning: lua-loaded font [51] (/usr/share/fonts/adobe/AdobeSongStd-Light
.otf) has no characters!
[1{/opt/context/tex/texmf/fonts/map/pdftex/plain/pdftex.map}] ){/opt/context/te
x/texmf/fonts/enc/dvips/lm/lm-rep-cmrm.enc}</opt/context/tex/texmf/fonts/type1/
public/lm/lmr10.pfb>
Output written on tt.pdf (1 page, 17128 bytes).
Transcript written on tt.log.

My test environment is minimals 2009.05.12 11:27 with Linux x86.

-- 
Best wishes,
Li Yanrui
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to