ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Zhichu Chen" <zhichu.chen@gmail.com>
Subject: Install New Chinese Fonts on ConTeXt using UTF8
Date: Mon, 18 Sep 2006 23:53:15 +0800	[thread overview]
Message-ID: <769ba7780609180853t21a5d267h62a4ae3cabe18272@mail.gmail.com> (raw)

Hello everybody,
    Time to disturb you again. :)
    I've search the maillist and the internet to find a solution, but
all are about htsong.ttf, htfs.ttf, etc. In fact, I don't think these
fonts are nice. I download some other beautiful free fonts and use
Hans' ``ttf2uni.rb'' to create the tfm files, enc files, map file and
afm file, then I modified the ``font-chi.tex'' file, replacing all UTF
relating fontsynonyms and map files to what I've generated. Doesn't
work any way.

Whenever ConTeXt met Chinese characters, it gave an error message like:
---------------------------------------------------------------------------------------------------------
! Font \unicodefont=cwmu0-49 at 10.0pt not loadable: Metric (TFM) file not foun
d.
<recently read> \bodyfontsize

\unicodeglyph ... \currentfontscale \bodyfontsize
                                                  \unicodestrut \unicodefont...

\insertchineseglyph ... \else \insertunicodeglyph
                                                  \fi
\horizontalchineseunicodeglyph ...ertchineseglyph
                                                  \ifcase \chineseAstatus \r...

\handlechineseunicodeglyph ...chineseunicodeglyph
                                                  \fi \fi
\uchar ...+\unicodetwo \relax \handleunicodeglyph
                                                  \endgroup
...
l.11   ä½ å
           ¥½ï¼
---------------------------------------------------------------------------------------------------------------

but in font-chi.tex, I write
----------------------------------------------------------------------------------------------------------------
\definefontsynonym [ChineseRegular]    [cwmu][encoding=cjk-uni]
----------------------------------------------------------------------------------------------------------------
why context looked for cwmu0-49 rather than cwmu49?


I have configured LaTeX with CJK package to use this font, can ConTeXt
use LaTeX's configuration?
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

                 reply	other threads:[~2006-09-18 15:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=769ba7780609180853t21a5d267h62a4ae3cabe18272@mail.gmail.com \
    --to=zhichu.chen@gmail.com \
    --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).