ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* typescript and memory usage
@ 2008-05-01 18:59 Antoine Junod
  2008-05-02  6:58 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Antoine Junod @ 2008-05-01 18:59 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-02  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-01 18:59 typescript and memory usage Antoine Junod
2008-05-02  6:58 ` Hans Hagen

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).