From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16352 Path: main.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.comp.tex.context Subject: Re: [FONTS] Japanese Unicode Date: Fri, 3 Sep 2004 17:34:35 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <20040903153435.GA4578@puritan.pcp.ath.cx> References: <20040902204901.GA25326@puritan.pcp.ath.cx> <20040903093921.290a9604@glenlivet.elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094225803 26583 80.91.224.253 (3 Sep 2004 15:36:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2004 15:36:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 03 17:36:23 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 1C3G6x-0000CR-00 for ; Fri, 03 Sep 2004 17:36:23 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C42FA1276C; Fri, 3 Sep 2004 17:36:22 +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 20827-03; Fri, 3 Sep 2004 17:36:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A37B612778; Fri, 3 Sep 2004 17:34:39 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32FBF12778 for ; Fri, 3 Sep 2004 17:34:38 +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 20827-02 for ; Fri, 3 Sep 2004 17:34:36 +0200 (CEST) Original-Received: from mxfep02.bredband.com (unknown [195.54.107.73]) by ronja.ntg.nl (Postfix) with ESMTP id 6BFB31276C for ; Fri, 3 Sep 2004 17:34:36 +0200 (CEST) Original-Received: from puritan.pcp.ath.cx ([213.112.43.242] [213.112.43.242]) by mxfep02.bredband.com with ESMTP id <20040903153436.EIKN26974.mxfep02.bredband.com@puritan.pcp.ath.cx> for ; Fri, 3 Sep 2004 17:34:36 +0200 Original-Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id 3CAF6AE041; Fri, 3 Sep 2004 17:34:36 +0200 (CEST) Original-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <20040903093921.290a9604@glenlivet.elvenkind.com> 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:16352 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16352 * Taco Hoekwater [Sep 03, 2004 14:40]: > > Warning: pdfetex (file cork-lmr10): Font cork-lmr10 at 600 not found > > Warning: pdfetex (file mona30xx-raw-mona): Font mona30xx-raw-mona at 600 > > then usually there is a missing map entry for that font, or the map > file is not loaded by pdftex at all. OK. So I was missing a lot of stuff. Anyway, I got it sort of working. What I did was // Update texmf.cnf to list TEXMFLOCAL = /usr/share/texmf/local instead // of TEXMFLOCAL = /usr/local/share/texmf. # ls mona.ttf ttx2enc.xsl # ttx -t cmap -t name mona.ttf : : # xsltproc --param vector "'30'" ttx2enc.xsl mona.ttx > mona30xx.enc # texfont --makepath --install --vendor=pcp --collection=mona \ > --encoding=mona30xx : : # TEXMF=/usr/share/texmf # echo "Map lm.map" > $TEXMF/web2c/updmap.cfg # updmap : : # echo "map +mona30xx-pcp-mona.map" > $TEXMF/pdftex/config/pdftex.cfg # mkdir $TEXMF/dvips/local # cp mona30xx.enc $TEXMF/dvips/local/ # cp $TEXMF/local/fonts/map/mona30xx-pcp-mona.map $TEXMF/pdftex/config/ # texhash : : # texexec mona30xx-pcp-mona.tex : : # gpdf mona30xx-pcp-mona.pdf // Stare with incredible disappointment at the result. At least some of the glyphs came out alright, but a lot of them are missing. For the rest I get little gray squares. For example, mona30xx.enc lists /glyph00462 % 0x30aa KATAKANA LETTER O yet that symbols appears as a gray square. What gives? Further Questions: 1) Eventhough the above procedure seems to work somewhat well, it's still rather complicated and I don't understand why texfont doesn't copy the .enc file to the enc/ directory it creates. 2) Why doesn't pdftex find the map file in $TEXMF/local/fonts/map? I've tried manipulating $TEXMF/web2c/texmf.cnf, changing the following: TEXFONTMAPS = .;$TEXMF/fontname -> TEXFONTMAPS = .;$TEXMF/fontname;$TEXMF/fonts/map but that didn't do it, even though 'kpsewhich --show-path=map' seems to pick it up. 3) Why doesn't pdftex find the .enc file once copied to the enc/ directory? Why do I have to place it under $TEXMF/dvips/? Still, thanks for the heads-up on pdftex not finding the .map file. 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);}