ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Font memory issues ?
Date: Thu, 19 Jan 2006 21:28:33 +0100	[thread overview]
Message-ID: <43CFF671.8020107@elvenkind.com> (raw)
In-Reply-To: <2C0863F6-A6A2-42E8-A05A-968919750F11@trichotomic.net>



Oh, d**mn.
I just had a brainwave.

 From Web2c's tex.ch comes the following:

   @!inf_font_mem_size = 20000;
   @!sup_font_mem_size = 2000000;

So font_memory cannot be set larger than 2000000 and not smaller
than 20000. Out-of-bounds sizes are silently folded back in line,
but that happens after the variable expansion is complete. That's
why the debug switch still reports the values from texmf.cnf.

So the actual problem here is the web2c runtime code inside TeX.

You can recompile with a larger sup_font_mem_size, I guess. But
otherwise you are out of luck.

Cheers,
Taco

David Wooten wrote:
> Any more clues, patient ones?:
> 
>     texexec --pdf file.tex
> 
> Here is how much of TeX's memory you used:
> 1449181 words of font info for 262 fonts, out of 2000000 for 2000
> 
>     pdfetex --kpathsea-debug=65535 --ini --progname=context plain
> 
> kdebug:hash_lookup(font_mem_size.context) => 3000000
> kdebug:variable: font_mem_size = 3000000
> 
> Many thanks,
> David
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  parent reply	other threads:[~2006-01-19 20:28 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10 19:07 David Wooten
2006-01-10 19:17 ` Font memory issues ? : bib-module? David Wooten
2006-01-10 20:22   ` Taco Hoekwater
2006-01-10 21:54 ` Font memory issues ? Hans Hagen
2006-01-11  0:39   ` David Wooten
2006-01-11  8:16     ` Hans Hagen
2006-01-11 23:17       ` David Wooten
2006-01-12  7:25         ` Thomas A. Schmitz
2006-01-12  8:28         ` Hans Hagen
2006-01-12 19:04           ` David Wooten
2006-01-12 20:02             ` Taco Hoekwater
2006-01-12 22:49               ` David Wooten
2006-01-13  0:15                 ` Taco Hoekwater
2006-01-12 20:05             ` Hans Hagen
2006-01-12 22:48               ` David Wooten
2006-01-16 23:18                 ` David Wooten
2006-01-17 10:15                   ` Thomas A. Schmitz
2006-01-17 17:35                     ` David Wooten
2006-01-17 18:31                       ` Thomas A. Schmitz
2006-01-17 21:46                         ` David Wooten
2006-01-17 22:36                           ` Hans Hagen
2006-01-17 23:15                             ` David Wooten
2006-01-19 19:41                               ` David Wooten
2006-01-19 20:16                                 ` Taco Hoekwater
2006-01-19 20:28                                 ` Taco Hoekwater [this message]
2006-01-19 21:44                                   ` Hans Hagen
2006-01-19 22:37                                     ` Taco Hoekwater
2006-01-19 23:47                                     ` David Wooten

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=43CFF671.8020107@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).