From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85007 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: MacOsX Mavericks and Luatex Date: Fri, 25 Oct 2013 07:13:00 +0900 Message-ID: <52699B6C.6090401@wxs.nl> References: <52692BE9.7080804@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382652788 18217 80.91.229.3 (24 Oct 2013 22:13:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 22:13:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 25 00:13:12 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZT9T-0002gb-GY for gctc-ntg-context-518@m.gmane.org; Fri, 25 Oct 2013 00:13:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97FDD1024D; Fri, 25 Oct 2013 00:13:10 +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 YWY6COYegC9R; Fri, 25 Oct 2013 00:13:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7A046101E9; Fri, 25 Oct 2013 00:13:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FD99101E9 for ; Fri, 25 Oct 2013 00:13:06 +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 Aqf10WWEVXdR for ; Fri, 25 Oct 2013 00:13:05 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id EB6C6101E3 for ; Fri, 25 Oct 2013 00:13:04 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9OMD3BY022914 for ; Fri, 25 Oct 2013 00:13:04 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.0.4.6; Original-Received: from [10.0.4.6] (unverified [10.0.4.6]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 11661-1713362 for ; Fri, 25 Oct 2013 00:13:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VKFad4jo - 17892dce5ec6 - 20131025 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85007 Archived-At: On 10/25/2013 7:01 AM, Schmitz Thomas A. wrote: > > On 24 Oct 2013, at 16:44, Aditya Mahajan wrote: > >> You need to set it to a dummy directory! See: http://tex.stackexchange.c= om/a/136073/323 > > No, even that doesn=92t help: > > echo $OSFONTDIR > /tmp/dummy > > and then on a first run (after regnerating the format with this variable = set), I get lines such as > > fonts > names > 'OSFONTDIR' specifies path '/Users/tas/Library/= Fonts' > fonts > names > 'OSFONTDIR' specifies path '/Library/Fonts' > fonts > names > 'OSFONTDIR' specifies path '/System/Library/Fon= ts' > fonts > names > globbing path '/System/Library/Fonts/**.OTF' > fonts > names > 68 system files identified, 2 skipped, 2 duplic= ates, 66 hash entries added, runtime 43.223 seconds > > So something appears to be overriding the variable that I set. But what? = And why? And how do I stop it? > > On 24 Oct 2013, at 23:40, Hans Hagen wrote: > >> I don't understand the speed issue. We're talking about relatively few f= onts only and context will not scan them unless there is a change. After a = remake a rescan takes < 9 sec on my laptop and < 6 sec once the directories= have been cached (windows 8 / 64 bit / i7 / ssd). >> >> Only an initial full scan takes a while (deleted cache), but that's most= ly because I have a pretty large font collection in my texmf-fonts tree. > > You=92re right of course that it=92s only the initial run when a new font= cache has to be built, but the time I get on os x is much longer than what= you report: > > with rescanning of system fonts: > system | total runtime: 114.131 (yes, that=92s almost 2 minutes!) > > And I don=92t want to twiddle my thumbs for two minutes, and don=92t want= to use those =93system fonts=94 (or if I want to use them, I will copy the= m to my texmf directories)! hm, i wonder why that takes so long as i get: tex tree: 561 tree files identified, 5 skipped, 5 duplicates, 556 hash entries = added, runtime 14.282 seconds 426 tree files identified, 7 skipped, 5 duplicates, 419 hash entries = added, runtime 12.297 seconds 8 tree files identified, 0 skipped, 0 duplicates, 8 hash = entries added, runtime 0.188 seconds 0 tree files identified, 0 skipped, 0 duplicates, 0 hash = entries added, runtime 0.156 seconds 677 tree files identified, 1 skipped, 1 duplicates, 676 hash entries = added, runtime 0.672 seconds system: 2 system files identified, 0 skipped, 0 duplicates, 2 hash = entries added, runtime 0.047 seconds 437 system files identified, 57 skipped, 57 duplicates, 380 hash entries = added, runtime 20.001 seconds 20 system files identified, 1 skipped, 1 duplicates, 19 hash = entries added, runtime 0.063 seconds 0 system files identified, 0 skipped, 0 duplicates, 0 hash = entries added, runtime 0.031 seconds 0 system files identified, 0 skipped, 0 duplicates, 0 hash = entries added, runtime 0.047 seconds anyway, in a next beta you can set this in texmf.cnf.lua: return { content =3D { directives =3D { ["fonts.usesystemfonts"] =3D false, }, }, } Best do that in texmf-local as a next update will overwrite the main cnf = file. Entries in the he local file overload main ones. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________