From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41995 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: fonts (in luatex) (again) Date: Mon, 30 Jun 2008 08:56:06 +0200 Message-ID: <115224fb0806292356s7f312fbbod57ada5a7d78e736@mail.gmail.com> References: <441B3D72-7906-465D-881E-2A821D1CBFC5@di.unito.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214812802 23092 80.91.229.12 (30 Jun 2008 08:00:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2008 08:00:02 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 30 10:00:47 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KDEJQ-0006Tn-96 for gctc-ntg-context-518@m.gmane.org; Mon, 30 Jun 2008 10:00:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2069A1FBC6; Mon, 30 Jun 2008 09:59:44 +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 02420-02; Mon, 30 Jun 2008 09:59:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B32821FBD4; Mon, 30 Jun 2008 09:22:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F25A31FB1D for ; Mon, 30 Jun 2008 09:22:32 +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 30191-01-3 for ; Mon, 30 Jun 2008 09:21:58 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by ronja.ntg.nl (Postfix) with ESMTP id 5CA621FBD4 for ; Mon, 30 Jun 2008 08:56:20 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so880739ywm.74 for ; Sun, 29 Jun 2008 23:56:06 -0700 (PDT) Original-Received: by 10.151.42.9 with SMTP id u9mr7877021ybj.83.1214808966515; Sun, 29 Jun 2008 23:56:06 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Sun, 29 Jun 2008 23:56:06 -0700 (PDT) In-Reply-To: <441B3D72-7906-465D-881E-2A821D1CBFC5@di.unito.it> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41995 Archived-At: Hi Andrea, On Sat, Jun 28, 2008 at 5:34 PM, Andrea Valle wrote: > Following Wolfgang's advice (thanks) I have followed the delicious thread. > So I have > 1. downloaded the fonts and installed automatically via macosx Fontbook app > (they are available in my system) > 2. I have created a file named type-delicious.tex containing: > \starttypescript [sans] [delicious] > \setups[font:fallback:sans] > \definefontsynonym [Sans] [Delicious-Regular] > \definefontsynonym [SansItalic] [Delicious-Italic] > \definefontsynonym [SansBold] [Delicious-Bold] > \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] > \definefontsynonym [SansCaps] [Delicious-Caps] > \stoptypescript > \starttypescript [sans] [delicious] > \definefontsynonym [Delicious-Regular] [name:Delicious-Roman] > [features=default] > \definefontsynonym [Delicious-Italic] [name:Delicious-Italic] > [features=default] > \definefontsynonym [Delicious-Bold] [name:Delicious-Bold] > [features=default] > \definefontsynonym [Delicious-BoldItalic] > [name:Delicious-BoldItalic] [features=default] > \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps] > [features=default] > \stoptypescript > \starttypescript [delicious] > \definetypeface [delicious] [ss] [sans] [delicious] [default] > \stoptypescript > > (which I do not understand: but that's another story) > I have saved the file under the same folder of tex file I'm working at > 3. then I have called: context --generate 3.1. Generate name entries for the font database To access fonts with the name you have to create the database with the entries: mtxrun --script font --reload > 4. In my tex file I have added: > \usetypefile [delicious] > \usetypescript[delicious] > \setupbodyfont[delicious] > 5. while compiling I'm having a problem with delicious. > Log attached Make a test with the fonts and the files in the same directory. When this did not work access the fonts by filename and not by fontname, to do thos you have to replace "name:" by "file:", this is unproblematic for the delicious fonts because fontname and filename are equal. Regards Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________