From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22003 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: dvipdfmx Date: Fri, 19 Aug 2005 09:14:16 +0200 Message-ID: <430586C8.4090603@wxs.nl> References: <430A218C@webmail.colostate.edu> <4305095D.2000301@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1124435694 20835 80.91.229.2 (19 Aug 2005 07:14:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2005 07:14:54 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 19 09:14:53 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1E6157-0006YB-Sk for gctc-ntg-context-518@m.gmane.org; Fri, 19 Aug 2005 09:14:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 696D1127F0; Fri, 19 Aug 2005 09:14:25 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02588-05-3; Fri, 19 Aug 2005 09:14:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6540D127F4; Fri, 19 Aug 2005 09:14:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72141127F4 for ; Fri, 19 Aug 2005 09:14:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02588-05-2 for ; Fri, 19 Aug 2005 09:14:18 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 5C434127F0 for ; Fri, 19 Aug 2005 09:14:18 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j7J7EG6C031548 for ; Fri, 19 Aug 2005 09:14:16 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id C393F19862; Fri, 19 Aug 2005 08:25:25 +0200 (CEST) Original-Received: from [10.100.1.15] (unknown [10.100.1.15]) by server-1.pragma-net.nl (Postfix) with ESMTP id 7A2ED1985D for ; Fri, 19 Aug 2005 06:25:24 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: 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: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22003 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:22003 Jin-Hwan Cho wrote: > On Aug 19, 2005, at 7:19 AM, Hans Hagen wrote: > >> ctxtools --dpxmapfiles --force texmf ctxtools --dpxmapfiles --force >> texmf-local ctxtools --dpxmapfiles --force texmf-fonts >> will generate them, don't forget to mktexlsr >> btw, (new)texexec will automatically run dvipdfmx > > > ctxtools does not make right font mapping files. Especially for slanted > fonts, it ignores "-s" slant option. For example, in > texnansi-urw-palatino.map, > > texnansi-raw-uplr8a-slanted-167 URWPalladioL-Roma "0.167 SlantFont" 4 > < uplr8a.pfb texnansi.enc > > is converted to > > texnansi-raw-uplr8a-slanted-167 texnansi uplr8a > > But the right one is > > texnansi-raw-uplr8a-slanted-167 texnansi uplr8a -s .167 > > Does ctxtool use the same technique as updmap? Or, my teTeX (fink > version) > is old? i dunno about updmap, never used it; currently i load map files automatically in dvipdfmx (i could get the mapline special working) i didn't know the exact dvipdfmx mapfile syntax -) we can add a slant as follows: encoding = if line =~ /([a-z0-9\-]+)\.enc/io then $1 else '' end fontfile = if line =~ /([a-z0-9\-]+)\.(pfb|ttf)/io then $1 else nil end metrics = if line =~ /^([a-z0-9\-]+)[\s\<]+/io then $1 else nil end slant = if line =~ /\"([\d\.]+)\s+SlantFont\"/io then "-s "#{$1}" else '' end if metrics && encoding && fontfile then n += 1 "#{metrics} #{encoding} #{fontfile} #{slant}" else '' end Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------