From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49818 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Re: Why searching fonts in xetex is so slow? Date: Sat, 25 Apr 2009 22:07:17 +0800 Message-ID: <68bfdc900904250707u7d67fddex6946fb2614a4db3e@mail.gmail.com> References: <68bfdc900903032124u3f6df674lc36e82bb81be2795@mail.gmail.com> <49B4D328.6050503@wxs.nl> <68bfdc900904240433p3e47c85dj271b7452ceb0b94d@mail.gmail.com> <6faad9f00904241327i5d915157ue6e5b02805e01c3c@mail.gmail.com> <68bfdc900904241844h6d20e72bif1e9767b991612e1@mail.gmail.com> <6faad9f00904250239t3f3d5752qace5fdec7e9ef390@mail.gmail.com> <68bfdc900904250418v3882ca94u22b34fe167104f5b@mail.gmail.com> <49F3057C.3040600@wxs.nl> <68bfdc900904250633seadf672wf2e15deb8bd9e09@mail.gmail.com> <49F312EE.6020307@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240668509 18771 80.91.229.12 (25 Apr 2009 14:08:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Apr 2009 14:08:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 25 16:09:48 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LxiZf-0001aP-IT for gctc-ntg-context-518@m.gmane.org; Sat, 25 Apr 2009 16:09:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 95D341FB1D; Sat, 25 Apr 2009 16:08:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16214-02-4; Sat, 25 Apr 2009 16:07:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 177801FB1F; Sat, 25 Apr 2009 16:07:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2705A1FB1F for ; Sat, 25 Apr 2009 16:07:29 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16214-02-3 for ; Sat, 25 Apr 2009 16:07:20 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 6B4331FADF for ; Sat, 25 Apr 2009 16:07:20 +0200 (CEST) Original-Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.148]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3PE7IgJ015610 for ; Sat, 25 Apr 2009 16:07:19 +0200 Original-Received: by qw-out-1920.google.com with SMTP id 5so1526676qwc.38 for ; Sat, 25 Apr 2009 07:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Hfx8TgXdSz7+jfvHQNX9WOGxFo2XytNaYyH9guiMbbU=; b=cE+x4rU+HmDHM+xK201M/APf3SjJLSh5iNNow0s56yifplxZzkENSvnz4n7/KaFeyh Y+jFLsChjCU2vhBKVqe2Qrb+qd06HV8SG9YXxGY4zBdB2YHbrJKfriIh2IxeIL3RIyd0 WPWhcM+zP61QzB1smDwBGkH1ZjhRyxMxl5B7k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=MEIazn0rbo++b+gJ9zoYP93gIQYiRjzgiIy7IthT8JF9/dEupDr/VwFgKP0DPlHEPd m+aVzwLzryy7gAyA9O2m5pMXryV1zPODk/8HfvOOaUqa+Kd53ORnpFbRV7AraP7IJfC9 lF1tmYLr24qQEIU713+/GHPFfUWD+7aecN3p4= Original-Received: by 10.229.98.202 with SMTP id r10mr1831793qcn.68.1240668438061; Sat, 25 Apr 2009 07:07:18 -0700 (PDT) In-Reply-To: <49F312EE.6020307@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.92.148; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 214653895 - 69791ed1ced3 - 20090425 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49818 Archived-At: Hi, Hans On Sat, Apr 25, 2009 at 9:41 PM, Hans Hagen wrote: > Yue Wang wrote: >> >> I see, no font is defined when dumping the formats... pretty unlike plain >> TeX... >> then why so much time is used for iwona, while only 1.2 sec is used to >> load lm roman? > > see previous mail ... because xetex rebuilds the fc cache each time; so i= t's > not related to context as all name lookups suffer from the same > then if it tries to load lm, it will build fc cache too, why is the loading time too short? in short, can you please explain to us why %engine=3Dxetex \usetypescript[modern] [ec] \switchtobodyfont[modern, 10pt] \starttext \input zapf \stoptext uses TeXExec | runtime: 1.577 while %engine=3Dxetex \usetypescript[palatino] [ec] \switchtobodyfont[palatino, 10pt] \starttext \input zapf \stoptext uses TeXExec | runtime: 6.469 (most time) and even sometime uses TeXExec | runtime: 40.806 (disk is busy, maybe due to font caching ...) what's the difference between lm and palatino? (I think lm contains more fonts.....) Yue Wang > Hans > > > ----------------------------------------------------------------- > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0Hans Hagen | PRAGMA ADE > =A0 =A0 =A0 =A0 =A0 =A0 =A0Ridderstraat 27 | 8061 GH Hasselt | The Nether= lands > =A0 =A0 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 | 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: https://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________