[NTG-context] [FONTS] Japanese Unicode

Nikolai Weibull context-list at pcppopper.org
Thu Sep 2 22:49:02 CEST 2004


I'm trying to get some Japanese ideographs in my document, but haven't
succeeded yet.  Basically, what I've done is used Adam Lindsay's XSL-T
stuff for creating an .enc for my .ttf (mona.ttf) and then run texfont
to install the font in /usr/share/texmf/local/fonts.  Now, I can't get
the test .tex-file working because I get

Warning: pdfetex (file cork-lmr10): Font cork-lmr10 at 600 not found
{/usr/share/texmf/dvips/tetex/bbad153f.enc}</usr/share/texmf/fonts/type1/bluesk
y/cm/cmsy7.pfb>{/usr/share/texmf/dvips/tetex/aae443f0.enc}</usr/share/texmf/fon
ts/type1/bluesky/cm/cmmi10.pfb>{/usr/share/texmf/dvips/tetex/0ef0afca.enc}</usr
/share/texmf/fonts/type1/bluesky/cm/cmr5.pfb>{/usr/share/texmf/dvips/tetex/74af
c74c.enc}</usr/share/texmf/fonts/type1/bluesky/cm/cmti10.pfb></usr/share/texmf/
fonts/type1/public/marvosym/marvosym.pfb>{/usr/share/texmf/dvips/tetex/f7b6d320
.enc}</usr/share/texmf/fonts/type1/bluesky/cm/cmr8.pfb></usr/share/texmf/fonts/
type1/bluesky/cm/cmsy10.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmr6.pfb>
Warning: pdfetex (file mona30xx-raw-mona): Font mona30xx-raw-mona at 600 not fo
und

from it.  Now, these are only warnings, so I tried showing it with
gpdf (xpdf), ggv, and acroread for linux.  Nothing worked correctly, and
only gpdf was able to show anything at all (albeit it wasn't right).  So
I figured I'd try it myself.  I wrote the following

type-mone30xx.tex:
\starttypescript[serif][mona30]
  \definefontsynonym[Mona30-Roman][mona30xx-mona][encoding=mona30xx]
\stoptypescript
\starttypescript[serif][mona30][name]
  \definefontsynonym[Serif][Mona30-Roman]
\stoptypescript
\starttypescript[Mona30]
  \definetypeface[Mona30][rm][serif][mona30][default]
\stoptypescript

and

test.tex:
\useregime[utf8]
\usetypescriptfile[type-mona30]
\usetypescript[Mona30]
\setupbodyfont[Mona30]
\starttext
オ
\stoptext

Guess what...the resulting PDF is completely empty.  Could someone
_please_ tell me what I'm missing?  I know I've been asking a lot of
questions lately and perhaps most could have been answered by me delving
deeper into the problem.  The issue for me right now, though, is that
I'm really stressed for time, as I need to get my masters' thesis done
soon, and a lot is working against me at the moment.  So, again, if you
can help out in any way, _please_ do.
	nikolai


--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}


More information about the ntg-context mailing list