From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55359 Path: news.gmane.org!not-for-mail From: Changlin Ai Newsgroups: gmane.comp.tex.context Subject: Using Adobe Arno Pro in Mkiv Date: Sun, 27 Dec 2009 10:43:12 +0800 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1456404817==" X-Trace: ger.gmane.org 1261881889 27418 80.91.229.12 (27 Dec 2009 02:44:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2009 02:44:49 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 27 03:44:42 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 1NOj7Z-0003Vi-HT for gctc-ntg-context-518@m.gmane.org; Sun, 27 Dec 2009 03:44:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 718D6C9C50; Sun, 27 Dec 2009 03:44:31 +0100 (CET) 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 uYuXeZaMYvjj; Sun, 27 Dec 2009 03:44:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5354CC9C12; Sun, 27 Dec 2009 03:44:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1643BC9C12 for ; Sun, 27 Dec 2009 03:44:00 +0100 (CET) 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 0eOknrgGPNrk for ; Sun, 27 Dec 2009 03:43:16 +0100 (CET) Original-Received: from mail-vw0-f190.google.com (mail-vw0-f190.google.com [209.85.212.190]) by balder.ntg.nl (Postfix) with ESMTP id 5055CC9BF4 for ; Sun, 27 Dec 2009 03:43:13 +0100 (CET) Original-Received: by vws28 with SMTP id 28so3002976vws.16 for ; Sat, 26 Dec 2009 18:43:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Wd4t2VdKYEbM7TZMcXhYjtF+ZFeSrhZI95nHbXmkW7U=; b=ZUPfGViOMBDZt+kHV2KSTct01XrjG4C3IIkVS/eBLVTjeK4dQoZlpFsmsR/Af1Kn32 wwUUmItV36RtM9Ue8WgyaMVn+BmAptvpDO5y398TasG5UPv9PPPb56Acfl5jhIrbQmti cWnQNPfI3pVFU8Pn9x2w83dDBfKv9Nr3UZvVo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WiMpxnnM/OTnacT+asyPaYzhPSZuTjRhTU7gFxyZNzRWG7KuSIVyWZ3vZKsXf/PxN/ 0rJz4huIXqNEb2JS+c040m89jJYk/T10iB2bSO6PbPhHcI+L2j5Ah0eovk2VebuailSQ erihoNGPF1DL3lm5LKumWjw5GMiStBs4waqnY= Original-Received: by 10.220.123.230 with SMTP id q38mr6280495vcr.13.1261881792803; Sat, 26 Dec 2009 18:43:12 -0800 (PST) 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:55359 Archived-At: --===============1456404817== Content-Type: multipart/alternative; boundary=001636c59a5f0236e8047bacc06b --001636c59a5f0236e8047bacc06b Content-Type: text/plain; charset=ISO-8859-1 Hello, all When I used Adobe ArnoPro font in Mkvi with default font features, I found the memory useage of LuaTeX was very big. These are some tests: \starttypescript [serif] [arno] \definefontsynonym [SerifBold] [ArnoPro-Bold.otf] [features=default] \definefontsynonym [SerifBoldItalic] [ArnoPro-BoldItalic.otf] [features=default] \definefontsynonym [SerifItalic] [ArnoPro-Italic.otf][features=default] \definefontsynonym [Serif] [ArnoPro-Regular.otf] [features=default] \stoptypescript \starttypescript [arno] \definetypeface [arno] [rm] [serif] [arno] [default] \stoptypescript \usetypescript[arno] \setupbodyfont[arno, 11pt] \starttext \rm test\par \it test\par \bf test\par \bi test\par \stoptext and this is the information in log: mkiv lua stats : fonts load time - 25.328 seconds mkiv lua stats : result saved in file - cont-en.pdf mkiv lua stats : luatex banner - this is luatex, version beta-0.50.0-2009122521 mkiv lua stats : control sequences - 29946 of 165536 mkiv lua stats : current memory usage - 479 MB (ctx: 491 MB) mkiv lua stats : runtime - 27.828 seconds, 0 processed pages, 1 shipped pages, 0.036 pages/second SyncTeX written on lua.synctex.gzMTXrun | total runtime: 28.063 When I used these fonts without font feature, I got these: mkiv lua stats : fonts load time - 3.016 seconds mkiv lua stats : result saved in file - cont-en.pdf mkiv lua stats : luatex banner - this is luatex, version beta-0.50.0-2009122521 mkiv lua stats : control sequences - 29946 of 165536 mkiv lua stats : current memory usage - 84 MB (ctx: 86 MB) mkiv lua stats : runtime - 5.344 seconds, 0 processed pages, 1 shipped pages, 0.187 pages/second SyncTeX written on lua.synctex.gzMTXrun | total runtime: 5.484 How can I reduce the memory useage in such situation? --001636c59a5f0236e8047bacc06b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, all

When I used Adobe ArnoPro font in Mkvi with default font = features, I found the memory useage of LuaTeX was very big.

These ar= e some tests:
\starttypescript [serif]= [arno]

=A0=A0\defin= efontsynonym [SerifBold] [ArnoPro-Bold.otf] [features=3Ddefault]

=A0=A0\definefonts= ynonym [SerifBoldItalic] [ArnoPro-BoldItalic.otf] [features=3Ddefault]

=A0=A0\definefonts= ynonym [SerifItalic] [ArnoPro-Italic.otf][features=3Ddefault]

=A0=A0\definefonts= ynonym [Serif] [ArnoPro-Regular.otf] [features=3Ddefault]

\stoptypescript

\starttypescript [= arno]

=A0=A0\definetypef= ace [arno] [rm] [serif] [arno] [default]

\stoptypescript

\usetypescript[arn= o]

\setupbodyfont[arn= o, 11pt]

\starttext

\rm test\par=A0=A0= \it test\par=A0=A0 \bf test\par=A0 \bi test\par

\stoptext


and this is the= information in log:
mkiv lua stats : = fonts load time - 25.328 seconds

mkiv lua sta= ts : result saved in file - cont-en.pdf

mkiv lua stats : l= uatex banner - this is luatex, version beta-0.50.0-2009122521

mkiv lua stats : c= ontrol sequences - 29946 of 165536

mkiv lua stats : c= urrent memory usage - 479 MB (ctx: 491 MB)

mkiv lua stats : r= untime - 27.828 seconds, 0 processed pages, 1 shipped pag= es, 0.036 pages/second

SyncTeX written on= lua.synctex.gzMTXrun | total runtime: 28.063


When I used these fonts without font= feature, I got these:
mkiv lua stats : fonts load time = - 3.016 seconds

mkiv lua sta= ts : result saved in file - cont-en.pdf

mkiv lua stats : l= uatex banner - this is luatex, version beta-0.50.0-2009122521

mkiv lua stats : c= ontrol sequences - 29946 of 165536

mkiv lua stats : c= urrent memory usage - 84 MB (ctx: 86 MB)

mkiv lua stats : r= untime - 5.344 seconds, 0 processed pages, 1 shipped page= s, 0.187 pages/second

SyncTeX written on= lua.synctex.gzMTXrun | total runtime: 5.484


How can I reduce the memory useage in= such situation?



--001636c59a5f0236e8047bacc06b-- --===============1456404817== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1456404817==--