From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49829 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Why searching fonts in xetex is so slow? Date: Sat, 25 Apr 2009 18:17:32 +0200 Message-ID: <49F3379C.1080706@wxs.nl> 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> <68bfdc900904250707u7d67fddex6946fb2614a4db3e@mail.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 1240676337 6792 80.91.229.12 (25 Apr 2009 16:18:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Apr 2009 16:18:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 25 18:20:15 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 1Lxkbu-0008R6-Op for gctc-ntg-context-518@m.gmane.org; Sat, 25 Apr 2009 18:20:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B95A11FADB; Sat, 25 Apr 2009 18:18:47 +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 32172-04-9; Sat, 25 Apr 2009 18:18:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B021C1FB6B; Sat, 25 Apr 2009 18:18:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0936A1FB6B for ; Sat, 25 Apr 2009 18:18:13 +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 32172-04-8 for ; Sat, 25 Apr 2009 18:17:42 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id D2F261FB74 for ; Sat, 25 Apr 2009 18:17:38 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3PDOgWB017632 for ; Sat, 25 Apr 2009 15:24:49 +0200 Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 4514-1840426 for ; Sat, 25 Apr 2009 18:17:31 +0200 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <68bfdc900904250707u7d67fddex6946fb2614a4db3e@mail.gmail.com> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=15; city=Almelo; latitude=52.3500; longitude=6.6667; http://maps.google.com/maps?q=52.3500,6.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 214684055 - 68ed3525e601 - 20090425 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:49829 Archived-At: Yue Wang wrote: > 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 it'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 name: uses the font database with file system fallback file: uses the file system with fontname fallback when the font cache is ok there is no difference in speed; ha snothign to do with the font or context (in mkiv there is a bit more clever searching going on) 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 ___________________________________________________________________________________