ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Antoine Junod <toto@tots-ns.net>
To: ntg-context@ntg.nl
Subject: typescript and memory usage
Date: Thu, 01 May 2008 20:59:39 +0200	[thread overview]
Message-ID: <87d4o5kfz8.fsf@zapata.tots-ns.net> (raw)

Hello list,

Thanks to Hans, Hraban, Wolfgang and Aditya, I've successfully played
with typescripts and Garamond PP as provided by Adobe with luatex.

But I still have a little question :) By reducing my typescript to the
strict minimum, as below, I'm still using 232 Mo (sic) of ram. My
document test only contains nothing but a \switchtobodyfont but it
takes 8.7 seconds to compile on a 4000 bogomips machine (athlon
2400+).

For the C lover I am, that seems, errh, HUUUUUGE.

Is it normal?

Note that if I remove the [features=default] argument, mem is divided
by 2, and time by 3. Also note that if I use more faces, it can go to
2Go of ram and 2 minutes of computing.

Thanks for your reply,
-AJ

%% typescript
\starttypescript[serif][garamondpp]
    \definefontsynonym [GaramondPP-Roman][file:GaramondPremrPro]
\stoptypescript
\starttypescript[serif][garamondpp][name]
    \definefontsynonym [Serif][GaramondPP-Roman]
\stoptypescript
\starttypescript [GaramondPP]
    \definetypeface [GaramondPP][rm][serif][garamondpp][default]
\stoptypescript

%% minimal doc
\usetypescriptfile[type-garamondpp]
\usetypescript[GaramondPP]
\starttext
\setupbodyfont[GaramondPP]
\stoptext 
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2008-05-01 18:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-01 18:59 Antoine Junod [this message]
2008-05-02  6:58 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d4o5kfz8.fsf@zapata.tots-ns.net \
    --to=toto@tots-ns.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).