From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39348 Path: news.gmane.org!not-for-mail From: weg@indiscrete.org (Eythan Weg) Newsgroups: gmane.comp.tex.context Subject: Re: Two questions about use of system ttf fonts Date: Sat, 01 Mar 2008 10:27:05 -0500 Message-ID: <87skzaxy5y.fsf@indiscrete.org> References: <87r6evztpb.fsf@indiscrete.org> <47C83C87.7000707@wxs.nl> 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 1204385317 30614 80.91.229.12 (1 Mar 2008 15:28:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2008 15:28:37 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 01 16:29:02 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 1JVTdz-0004Si-PO for gctc-ntg-context-518@m.gmane.org; Sat, 01 Mar 2008 16:28:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F4511FBBE; Sat, 1 Mar 2008 16:28:19 +0100 (CET) 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 02243-02-5; Sat, 1 Mar 2008 16:27:55 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA65E1FB72; Sat, 1 Mar 2008 16:27:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE87D1FB72 for ; Sat, 1 Mar 2008 16:27:52 +0100 (CET) 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 02243-02-4 for ; Sat, 1 Mar 2008 16:27:15 +0100 (CET) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id 1FCE01FB4E for ; Sat, 1 Mar 2008 16:27:15 +0100 (CET) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JVTcH-0006oW-EA for ntg-context@ntg.nl; Sat, 01 Mar 2008 15:27:13 +0000 Original-Received: from 74-140-110-141.dhcp.insightbb.com ([74.140.110.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Mar 2008 15:27:13 +0000 Original-Received: from weg by 74-140-110-141.dhcp.insightbb.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Mar 2008 15:27:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 74-140-110-141.dhcp.insightbb.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:3FSXW33DnQ4y0OSfz7fCl/7LpC0= 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:39348 Archived-At: Hans Hagen Fri, 29 Feb 2008 18:10:31 +0100 Eythan Weg wrote: > What does context need to find the font? mtxrun --script font --reload will generate a font database which will provide access by name Hans I created the table as suggested above and in the file names.tma appears a line line like: ["caliban"]={ "ttf", "Caliban", "Caliban.ttf", false }, I thought one might use \font\test=caliban at 12pt but this fails: Font \test=caliban at 12pt not loadable: metric data not found or bad. Now I remove the data base, and also the files Caliban.tma Caliban.tmc and define \font\test=Caliban at 12pt This works, provided that OSFONTDIR is well-defined in the shell. Thank you. eythan ___________________________________________________________________________________ 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 ___________________________________________________________________________________