From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9216 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: MM fonts and texfont Date: Sat, 14 Sep 2002 21:09:08 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020914210641.01fdf008@remote-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399556 1415 80.91.224.250 (23 Oct 2002 18:59:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:59:16 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: "Bruce D'Arcus" In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:9216 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9216 At 03:01 PM 9/11/2002 -0400, Bruce D'Arcus wrote: >Hi Hans, > >I was able to get texfont to generate some (but not all) of the instances >and metrics of Myriad MM that I wanted, but I could never get the font >working correctly because I couldn't figure out how to set up the typescript >file correctly. Do you have any example typescripts you could make >available that allow one to access fonts like light or semibold or medium >(or condensed)? > >What I did instead: used a fantastic perl package called Fontkit: > > > >This script makes using MM fonts totally transparent for LaTeX. If you >invoke an instance that is not currently installed (say semibold, >semicondensed), it will automatically generate metrics and fonts and typeset >it. (It'd nice if It could be modified to work with ConTeXt.) > >Anyway, I used that to generate the files, then modified a font file I have >for ConTeXt... Now it works , though I don't know how to access anything >more than the standard bold, italic, etc. ==== typeface.tex ====== \loadmapfile [texnansi-adobe-myriad.map] \starttypescript [sans] [myriad] [name] \definefontsynonym [Sans] [Myriad] \definefontsynonym [SansBold] [MyriadBold] \definefontsynonym [SansItalic] [MyriadItalic] \definefontsynonym [SansBoldItalic] [MyriadBoldItalic] \definefontsynonym [SansSlanted] [MyriadItalic] \definefontsynonym [SansBoldSlanted] [MyriadBoldItalic] \definefontsynonym [SansCaps] [Myriad] \stoptypescript \starttypescript [sans] [myriad] [texnansi,ec,8r] \definefontsynonym [Myriad] [\typefaceencoding-myriadmm-weight-400-width-600] [encoding=\typefaceencoding] \definefontsynonym [MyriadBold] [\typefaceencoding-myriadmm-weight-700-width-600] [encoding=\typefaceencoding] \definefontsynonym [MyriadItalic] [\typefaceencoding-myriadmm-it-weight-400-width-600] [encoding=\typefaceencoding] \definefontsynonym [MyriadBoldItalic] [\typefaceencoding-myriadmm-it-weight-700-width-600] [encoding=\typefaceencoding] \stoptypescript ====== main file ===== \usetypescriptfile[typeface] \definetypeface [mainface] [ss] [sans] [myriad] [default] [encoding=texnansi] \setupbodyfont[mainface,ss,10pt] ======= Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------