[tex-live] Manually unloading fonts preventing running out of memory
pander at users.sourceforge.net
Mon Oct 11 11:56:39 CEST 2010
When using many different fonts, in e.g. XeLaTeX, the following error will
! Font ... at 10.0pt not loaded: Not enough room left.
Will Robertson, the author from fontspec, proposed the following for me to
[[ begin quote ]]
Use a plain XeTeX document without fontspec and load lots of fonts with
commands like this:
\font#1="#2" at 12pt#1 A test of the font "#2"\par
You should see an increase in the memory numbers reported at the end of
the XeTeX run (in the log file if not on the console) the more fonts you
If you then write
the fonts may or may not be unloaded and the memory results will change.
You could also experiment with putting the font loading calls inside
groups and see if that changes things as well.
If this does save us the memory, then I'll be able to add a feature in
fontspec along the lines of
[[ end quote ]]
I, with my limited TeX knowledge, did not succeed in getting less memory
usage. Which TeX expert could please help us out?
More information about the tex-live