From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61841 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5?= Newsgroups: gmane.comp.tex.context Subject: Re: How to use a true type font? Date: Wed, 22 Sep 2010 14:04:42 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285157127 6288 80.91.229.12 (22 Sep 2010 12:05:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Sep 2010 12:05:27 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 22 14:05:25 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 1OyO4j-0005L2-QN for gctc-ntg-context-518@m.gmane.org; Wed, 22 Sep 2010 14:05:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3FED5CA767; Wed, 22 Sep 2010 14:05:25 +0200 (CEST) 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 MRTAc-fNcoD4; Wed, 22 Sep 2010 14:05:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28F17CA75F; Wed, 22 Sep 2010 14:05:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 72047CA75F for ; Wed, 22 Sep 2010 14:05:19 +0200 (CEST) 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 CzTdzCEarfqT for ; Wed, 22 Sep 2010 14:05:16 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id E5AAFCA5E9 for ; Wed, 22 Sep 2010 14:05:15 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8MC5Ec6006959 for ; Wed, 22 Sep 2010 14:05:15 +0200 Original-Received: from lk-2008-nbk ([88.100.123.157]) (authenticated user lpr@pontex.cz) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Wed, 22 Sep 2010 14:05:13 +0200 In-Reply-To: User-Agent: Opera Mail/10.10 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bD9M5eRp - cfe1cd61c314 - 20100922 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:61841 Archived-At: ... Thanks, it works perfectly. I looked into c:\ConTeXt\tex\texmf\web2c\texmfcnf.lua (ln. 42) as well - it= seems to me that paths for searching for various kinds of font are prescri= bed here, see e.g.: TTFONTS =3D ".;$TEXMF/fonts/{data,truetype,ttf}//;$OSFONTD= IR", OPENTYPEFONTS =3D ".;$TEXMF/fonts/{data,opentype}//;$OSFONTDIR", (Agrees with Mojca's observation.) So if I insisted on keeping the BrickToBrick.ttf in a special directory, it= would mean to change the lines above e.g. to: TTFONTS =3D ".;$TEXMF/fonts/{data,truetype,ttf}//;$OSFONTD= IR;MySpecialDirectory", right? And one more question - maybe due to that I'm not Linux user - - what does the "!!" at the begin and the "//" at the and of some paths mea= n? Or is it something TeX-special? Maybe a link to a document will be the answer... Cheers, Lukas On Wed, 22 Sep 2010 12:16:05 +0200, Mojca Miklavec wrote: > On Wed, Sep 22, 2010 at 12:06, Mojca Miklavec wrote: >> 2010/9/22 Proch=E1zka Luk=E1=B9 wrote: >>> >>> 1) What's the best destination where the BrickToBrick.ttf should be pla= ced? >>> (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.t= tf.) >> >> You need to put it to >> a) c:\ConTeXt\tex\texmf-local\data\\BrickToBrick.ttf >> b) c:\ConTeXt\tex\texmf-local\fonts\opentype\brick\BrickToBrick.ttf >> (or truetype instead of opentype; I'm not sure what kind of font it >> is, but on the other hand I don't think that it really matters) > > An interesting observation: the font won't work if you put it under > opentype, it only works if you put it under truetype or data. But your > input works fine. > > Mojca > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________