From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16143 Path: main.gmane.org!not-for-mail From: Matt Gushee Newsgroups: gmane.comp.tex.context Subject: Re: How to use PostScript font Date: Wed, 18 Aug 2004 15:16:05 -0600 Sender: ntg-context-bounces@ntg.nl Message-ID: <20040818211605.GA1624@swordfish> References: <672d10671a77.671a77672d10@tampabay.rr.com> Reply-To: Matt Gushee , 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 1092863989 9626 80.91.224.253 (18 Aug 2004 21:19:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Aug 2004 21:19:49 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 18 23:19:34 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 1BxXqH-0001Y0-00 for ; Wed, 18 Aug 2004 23:19:33 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A94812788; Wed, 18 Aug 2004 23:19:33 +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 00327-02; Wed, 18 Aug 2004 23:19:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D07812787; Wed, 18 Aug 2004 23:16:08 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 46C7612787 for ; Wed, 18 Aug 2004 23:16:07 +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 32678-02 for ; Wed, 18 Aug 2004 23:16:06 +0200 (CEST) Original-Received: from mz1.forethought.net (unknown [216.241.36.12]) by ronja.ntg.nl (Postfix) with ESMTP id 471B312783 for ; Wed, 18 Aug 2004 23:16:06 +0200 (CEST) Original-Received: from [216.241.35.41] (helo=swordfish) by mz1.forethought.net with esmtp (Exim 4.30) id 1BxXmv-00027D-D9 for ntg-context@ntg.nl; Wed, 18 Aug 2004 15:16:05 -0600 Original-Received: from matt by swordfish with local (Exim 3.35 #1 (Debian)) id 1BxXmv-0000xe-00 for ; Wed, 18 Aug 2004 15:16:05 -0600 Original-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <672d10671a77.671a77672d10@tampabay.rr.com> User-Agent: Mutt/1.3.27i 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:16143 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16143 On Wed, Aug 18, 2004 at 03:16:43PM -0400, skhilji@tampabay.rr.com wrote: > Someone suggsted that I use the actual font names. So I tried: That would be me. But what I really meant was that you may need to know those names in order to solve the problem, not that you can expect to use them directly in ConTeXt. Now I would say you should use a typescript if you can. There's no real benefit to using low-level font commands except that you might avoid the need to create typescripts. Because it looks to me like you probably need to either change the names of the fonts to conform to the built-in typescripts, or write your own typescript. The former could cause trouble if you ever want to use the fonts in LaTeX, so you're probably better off writing your own typescript. It's a bit weird at first, but really quite easy when you get used to it; hmm--let me give you a sample: I'll attach below my Palatino typescript. I haven't used it much lately, so I can't recall if it works 100%, but it might help you get started. I also use TeTeX on Linux, so it might be usable as is. For more info, there's a Fonts in ConTeXt manual that tells you most of what you need to know, and then Bill McClain has some good examples on the Web ... I believe his site is . Fonts in TeX take a while to master, but once you do, life is great! (I think ... I hope ... I'll let you know when I get there ;-) -- type-palatino.tex ------------------------------------------------- \usetypescriptfile[type-buy] \starttypescript [serif] [palatino] [8r] \usetypescript[serif][fallback] \definefontsynonym [Palatino-Roman] [pplr8r] [encoding=8r] \definefontsynonym [Palatino-Bold] [pplb8r] [encoding=8r] \definefontsynonym [Palatino-Italic] [pplri8r] [encoding=8r] \definefontsynonym [Palatino-Bold-Italic] [pplbi8r] [encoding=8r] \definefontsynonym [Palatino-Slanted] [pplro8r] [encoding=8r] \definefontsynonym [Palatino-Bold-Slanted] [pplbo8r] [encoding=8r] \definefontsynonym [Palatino-Caps] [pplrc8t] [encoding=8t] \stoptypescript \starttypescript [serif] [palatino] [name] \definefontsynonym [Serif] [Palatino-Roman] \definefontsynonym [SerifBold] [Palatino-Bold] \definefontsynonym [SerifItalic] [Palatino-Italic] \definefontsynonym [SerifBoldItalic] [Palatino-Bold-Italic] \definefontsynonym [SerifSlanted] [Palatino-Slanted] \definefontsynonym [SerifBoldSlanted] [Palatino-Bold-Slanted] \definefontsynonym [SerifCaps] [Palatino-Caps] \stoptypescript \starttypescript[PalatinoFace] \definetypeface [Palatino] [rm] [serif] [palatino] [default] [encoding=8r] \stoptypescript -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USA Horses bear manure through mgushee@havenrock.com its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.)