From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16343 Path: main.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.comp.tex.context Subject: [FONTS] Japanese Unicode Date: Thu, 2 Sep 2004 22:49:02 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <20040902204901.GA25326@puritan.pcp.ath.cx> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1094158163 18593 80.91.224.253 (2 Sep 2004 20:49:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2004 20:49:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 02 22:49:10 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C2yW4-0004SG-00 for ; Thu, 02 Sep 2004 22:49:08 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6CBB512783; Thu, 2 Sep 2004 22:49:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15972-01; Thu, 2 Sep 2004 22:49:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D11CD1276C; Thu, 2 Sep 2004 22:49:06 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A7E421276C for ; Thu, 2 Sep 2004 22:49:05 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15787-04 for ; Thu, 2 Sep 2004 22:49:05 +0200 (CEST) Original-Received: from mxfep02.bredband.com (unknown [195.54.107.73]) by ronja.ntg.nl (Postfix) with ESMTP id DC2511276B for ; Thu, 2 Sep 2004 22:49:04 +0200 (CEST) Original-Received: from puritan.pcp.ath.cx ([213.112.43.242] [213.112.43.242]) by mxfep02.bredband.com with ESMTP id <20040902204859.IRDF345.mxfep02.bredband.com@puritan.pcp.ath.cx> for ; Thu, 2 Sep 2004 22:48:59 +0200 Original-Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id 2C5F3AE041; Thu, 2 Sep 2004 22:49:02 +0200 (CEST) Original-To: NTG-context List Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16343 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16343 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/dvips/tetex/aae443f0.enc}{/usr/share/texmf/dvips/tetex/0ef0afca.enc= }{/usr/share/texmf/dvips/tete= x/74af c74c.enc}{/usr/share/texmf/dvips/tetex/f7= b6d320 .enc} 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=3Dmona30xx] \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 =E3=82=AA \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);}