From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6651 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Re[3]: Enabling protruding Date: Thu, 24 Jan 2002 16:36:07 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020124163607.31770881.taco@elvenkind.com> References: <5.1.0.14.1.20020124112706.039925c0@server-1> <5.1.0.14.1.20020123181552.03559da8@server-1> <5.1.0.14.1.20020123181552.03559da8@server-1> <5.1.0.14.1.20020124112706.039925c0@server-1> <5.1.0.14.1.20020124142552.02dbccd8@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035397167 12483 80.91.224.250 (23 Oct 2002 18:19:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:19:27 +0000 (UTC) Cc: bourbaki@bigfoot.com, ntg-context@ntg.nl Original-To: "Hans Hagen" In-Reply-To: <5.1.0.14.1.20020124142552.02dbccd8@server-1> Xref: main.gmane.org gmane.comp.tex.context:6651 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6651 On Thu, 24 Jan 2002 14:45:25 +0100 "Hans Hagen" wrote: > sure, but the main problem is that one cannot ask the filesystem what fonts > there are (try to open a font file from within tex); also, building this > into context only for cmr is not worth the trouble and slowing down overhead Well, actually, this works ... \newif\iffontexists \def\testfont#1{{\batchmode \global\fontexistsfalse \font\junk=#1\junk \ifdim\fontdimen5\junk>0pt \global\fontexiststrue \fi }} \testfont{cmr10 } \testfont{cmmmr10 } :) -- groeten, Taco