ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Chinese opentype fonts can not be loaded in	luatex-plain
Date: Tue, 12 May 2009 16:37:27 +0200	[thread overview]
Message-ID: <4A0989A7.6070708@wxs.nl> (raw)
In-Reply-To: <c3f901470905120725wa934a55r6ae3d88c0e88b2ac@mail.gmail.com>

Yanrui Li wrote:
> 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.

this is because a cidmap is needed and the kpse that you use does not 
have it; upcoming versions of kpse (and luatex's kpse lib) will support 
it given that you also adapted your texmf.cnf accordingly then

so a bit patience is needed

Hans

(worls ok in mkiv because it follows a different route)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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	other threads:[~2009-05-12 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12 14:25 Yanrui Li
2009-05-12 14:37 ` Hans Hagen [this message]
2009-05-12 15:02   ` Yanrui Li
2009-05-12 15:47     ` Hans Hagen
2009-05-12 16:04       ` Yue Wang
2009-05-12 16:15         ` Wolfgang Schuster
2009-05-12 16:55   ` Dohyun Kim
2009-05-12 17:51     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A0989A7.6070708@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).