ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Fonts loaded
Date: Tue, 22 Sep 2009 23:52:12 +0200	[thread overview]
Message-ID: <4AB9470C.8090005@wxs.nl> (raw)
In-Reply-To: <4AB9434C.80909@gmail.com>

Vyatcheslav Yatskovsky wrote:
> Hello Hans,
> 
> Sorry for my insistence, but...
> 
> mkiv lua stats : loaded fonts              - 37 files: 
> lmmono10-regular.otf lmmono12-regular.otf lmmono8-regular.otf 
> lmmono9-regular.otf lmroman10-bold.otf lmroman10-regular.otf 
> lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf 
> lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf 
> lmsans10-regular.otf lmsans12-regular.otf lmsans8-regular.otf 
> lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm 
> msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi10.tfm lmmi12.tfm 
> lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm 
> lmsy9.tfm minionpro-bold.otf minionpro-it.otf minionpro-regular.otf
> 
> How can I get rid of all of these fonts except last three?

- you can try --mode=*nofonts but keep in mind that this is meant for 
special cases where styles are loaded immediately on the command line

- it will not save much time; eventually we will have opentype lm math 
anyway; and half of those fonts are small anyway

- it will result in errors when you don't immediately load a typeface 
especially if spacing is being set up

- you need a math font because some symbols come from math (like bullets)

- delaying math setup would result in way more overhead as then it needs 
to be set up inside math (and then it happens grouped)

- also, reported problems resulting from not having load a base font set 
are unlikely to be looked into

- as i keep optimnizing code, i expect the reported times to drop a bit 
  in the future;

- a resident run might save some load time, but this is compensated by 
the need to reinitialize all subsystems (apart from a mess)

- computers will become faster anyway and in most runs the startup time 
is small compared to the other runtime

Hans

ps. it's no problem to get a 100-300 page per second througput for 
stupid documents but anything fancy will drop that to 1-20 pps

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


  reply	other threads:[~2009-09-22 21:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1876.1253647079.3069.ntg-context@ntg.nl>
2009-09-22 21:36 ` Vyatcheslav Yatskovsky
2009-09-22 21:52   ` Hans Hagen [this message]
     [not found] <mailman.1883.1253681946.3069.ntg-context@ntg.nl>
2009-09-23 10:52 ` Vyatcheslav Yatskovsky

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=4AB9470C.8090005@wxs.nl \
    --to=pragma@wxs.nl \
    --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).