From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53083 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Performance and fonts issues Date: Tue, 22 Sep 2009 09:25:43 +0200 Message-ID: <4AB87BF7.4030502@wxs.nl> References: <4AB7EFF6.3030801@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253604374 27518 80.91.229.12 (22 Sep 2009 07:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Sep 2009 07:26:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 22 09:26:07 2009 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.50) id 1MpzlF-0002vE-JO for gctc-ntg-context-518@m.gmane.org; Tue, 22 Sep 2009 09:26:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16F26C9ADD; Tue, 22 Sep 2009 09:26:04 +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 ceDujjBywJtl; Tue, 22 Sep 2009 09:26:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DA4CC9AAA; Tue, 22 Sep 2009 09:26:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0173FC9AAA for ; Tue, 22 Sep 2009 09:25:59 +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 wziBIKTRrukt for ; Tue, 22 Sep 2009 09:25:45 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 6ED3AC9A1F for ; Tue, 22 Sep 2009 09:25:45 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 10154-1840426 for ; Tue, 22 Sep 2009 09:25:45 +0200 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <4AB7EFF6.3030801@gmail.com> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 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:53083 Archived-At: Vyatcheslav Yatskovsky wrote: > Startup time is 0.531 seconds. OK. Then, why on the Earth all these > lmxxx fonts are loaded, if I use Minion Pro typescript? 2.7sec... Hmmm. > Seems like a root of evil. What can I do to get rid of all of them? those fonts are loaded for math (and only once as fonts are shared) > My typescript: > \starttypescript [serif] [MinionPro] > \definefontsynonym [Serif][MinionPro-Regular.otf][features=default] > \definefontsynonym [SerifBold][MinionPro-Bold.otf][features=default] > \definefontsynonym [SerifItalic][MinionPro-It.otf][features=default] > \definefontsynonym > [SerifBoldItalic][MinionPro-BoldIt.otf][features=default] > \stoptypescript > > \starttypescript [MinionPro] > \definetypeface [MinionPro][rm][serif][MinionPro][default] > \stoptypescript this takes 2.5 seconds on my machine \starttext \usetypescript[palatino] \setupbodyfont[palatino] test\par \usetypescript[postscript] \setupbodyfont[postscript] test\par \usetypescript[cambria] \setupbodyfont[cambria] test\par \stoptext (there is a way to prevent initial loading but it does not save that much time) two cores is less important than a big 2 level cache (influences lua runtime) and memory (so that files are cached in mem) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________