ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Install New Chinese Fonts on ConTeXt using UTF8
@ 2006-09-18 15:53 Zhichu Chen
  0 siblings, 0 replies; only message in thread
From: Zhichu Chen @ 2006-09-18 15:53 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-18 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-18 15:53 Install New Chinese Fonts on ConTeXt using UTF8 Zhichu Chen

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).