From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64524 Path: news.gmane.org!not-for-mail From: Marco Pessotto Newsgroups: gmane.comp.tex.context Subject: Re: Minimal ConTeXt and texfont! Date: Tue, 14 Dec 2010 14:21:01 +0100 Message-ID: <87ipyw8p8i.fsf@universe.krase.net> References: <4D05E6F1.9080807@ziggo.nl> <4D062BDD.2040601@ziggo.nl> <4D0743A7.5000103@ziggo.nl> <30BEB349-AEB2-4B35-9E6C-E8F5B3479CC2@gmail.com> <4D074CC3.5070600@ziggo.nl> <87bp4oa5uj.fsf@universe.krase.net> <4D076BC8.5050105@ziggo.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: dough.gmane.org 1292332901 30158 80.91.229.12 (14 Dec 2010 13:21:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2010 13:21:41 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 14 14:21:37 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PSUox-0007sK-66 for gctc-ntg-context-518@m.gmane.org; Tue, 14 Dec 2010 14:21:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4DDEBCA8E7; Tue, 14 Dec 2010 14:21:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nxQsFEIGVF-z; Tue, 14 Dec 2010 14:21:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79A39CA8E0; Tue, 14 Dec 2010 14:21:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 416C7CA8E0 for ; Tue, 14 Dec 2010 14:21:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ff3LhzRomTho for ; Tue, 14 Dec 2010 14:21:18 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id B2561CA8DA for ; Tue, 14 Dec 2010 14:21:18 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBEDLH8Y025217 for ; Tue, 14 Dec 2010 14:21:18 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PSUof-0007kw-0b for ntg-context@ntg.nl; Tue, 14 Dec 2010 14:21:17 +0100 Original-Received: from 78-2-1-67.adsl.net.t-com.hr ([78.2.1.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Dec 2010 14:21:17 +0100 Original-Received: from melmothx by 78-2-1-67.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Dec 2010 14:21:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 78-2-1-67.adsl.net.t-com.hr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:5v4GXsbRyJh58lZS2DqVCjH59t8= X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDH1li76 - 9f718add9f26 - 20101214 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:64524 Archived-At: "Verhaag, G.C.H.M." writes: > Well I've put my ttf into: texmf-fonts/fonts/data, and entered the > following sequence of commands: > > mktexlsr > > mtxrun --scripts fonts --reload > > context --generate > > Then I checked using the following command: > > mtxrun --script fonts --list --all --pattern=*snow* > > which yielded the following output: > > plymouthrocksnowdusted plymouthrocksnowdusted > PlymouthSnowDusted.ttf > plymouthrocksnowdustednormal plymouthrocksnowdusted > PlymouthSnowDusted.ttf > > So this seams to be okay! > > Next I used the proposed context file: > > \definefont[snowdust][file:snowdusted*default] > \starttext > \snowdust SnowDusted > \stoptext > try instead \usemodule[simplefonts] % load the module \setmainfont[PlymouthRock 'SnowDusted'] I don't know if the '' in the family name will break the module. I downloaded the file and checked with otfinfo -a file.ttf to get the family name. You should do the same. http://wiki.contextgarden.net/Fonts_in_LuaTeX#With_the__simplefonts_module -- Marco ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________