From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48102 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: Mon, 9 Mar 2009 10:14:16 +0800 Message-ID: <68bfdc900903081914n7897e6d0l5eedb5416a38ca5f@mail.gmail.com> References: <68bfdc900903032124u3f6df674lc36e82bb81be2795@mail.gmail.com> <49AE362B.3010506@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 1236564915 29981 80.91.229.12 (9 Mar 2009 02:15:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2009 02:15:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 09 03:16:29 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 1LgV2Y-0006lk-HF for gctc-ntg-context-518@m.gmane.org; Mon, 09 Mar 2009 03:16:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C0ABF1FB60; Mon, 9 Mar 2009 03:15:02 +0100 (CET) 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 31993-01-3; Mon, 9 Mar 2009 03:14:28 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F30CF1FADB; Mon, 9 Mar 2009 03:14:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F137D1FADB for ; Mon, 9 Mar 2009 03:14:26 +0100 (CET) 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 31993-01-2 for ; Mon, 9 Mar 2009 03:14:19 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id 94D841FA4C for ; Mon, 9 Mar 2009 03:14:19 +0100 (CET) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n292EHI0022566 for ; Mon, 9 Mar 2009 03:14:18 +0100 Original-Received: by wf-out-1314.google.com with SMTP id 24so1520596wfg.5 for ; Sun, 08 Mar 2009 19:14:16 -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=QIJYpgjbYTpsvOz5hYyKA2Eq1A65Cy2lbH8ljEu/PPs=; b=N+ohb2EUJPPnOaxSCbPRuzzdFFeU1N12mrYEVz92Ft/uWlXdkLCBgQcMlSWlhSZ4gi aJZPFHtwzBEfxGpXzoMUvIaEcm+RfvCj39UViVmqVIcX0cOXirhsYqHytBsgjlufEdEw hu49CGrMA8C4XNCC9BLTVShaCNEqDgt0P600c= 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=JzLR88GTd70L4g2YZkjA1GpBBUSftPVNc7787X0WH89Hf0eZGyQ9trEjbmtTxAqaka XNJGlrnXdXndKK84fdPJkK9o335sMYz4upFsF09Ezto/ioxUtWiN1jCHH/zz4fRfORBc MID6pRNDPD9Tc25rNWqsnyjJwFU7LKWIcBM5s= Original-Received: by 10.142.155.17 with SMTP id c17mr2298650wfe.223.1236564856238; Sun, 08 Mar 2009 19:14:16 -0700 (PDT) In-Reply-To: <49AE362B.3010506@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.200.171; 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: 190374250 - 059786235afc X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:48102 Archived-At: is that normal? %engine=3Dxetex \usetypescript[palatino] \setupbodyfont[palatino] \starttext $$\int_0^t$$ \stoptext uses (see the transcript file for additional information) Output written on test.pdf (1 page). Transcript written on test.log. TeXUtil | parsing file test.tui TeXUtil | shortcuts : 169 TeXUtil | expansions: 308 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 23 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 39.078 >Exit code: 0 (1 run) On Wed, Mar 4, 2009 at 4:04 PM, Hans Hagen wrote: > Yue Wang wrote: >> >> Hi, >> >> When I use XeTeX, font searching through texmf- tree is very slow. >> search font through fontconfig is very fast. >> plain TeX or LaTeX does not have that problem. >> why is that? anyway to improve it? > > afaik xetex perfers to look in the database first and then on the file > system > > context on the other hand prefers to look for a file first > > if you don't know what "whatever" stands for, prefixing with file: or nam= e: > might help, as in file:whatever > > 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 ___________________________________________________________________________= ________