🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2532

ps2mf

#2532
From: Roger Horne
Date: Thu, 20 Aug 1992 12:36
53 lines
2458 bytes
This is a METAFONT problem.
 
I do not have access to a postscript printer and so I am interested in 
programs such as ps2mf. I found that this compiled without difficulty but I 
have had difficulty in using the mf file which it produces. 
 
The program takes a type1 postscript font and decompresses it and then 
converts it into (obscure) mf source. This reads in a file called hints.mf 
the code in which is even more obscure. When I run metafont on this it 
eventually, eg when it gets to letter W, crashes with a Metafont capacity 
exceeded, main memory size 65k or so, error.
 
I tried adding after each endchar the command showstats which showed that 
the memory was going down between characters; the log file contained the 
following---
 
**\mode=laserjet_high;input csrg
(adfs::4.$.MetaFont.Inputs.ps.mf.csrg 
(adfs::4.$.MetaFont.Inputs.ps.mf.hints)
exclam [33]
Memory usage unknown (21307 still untouched)
String usage 106&1201 (433&6695 still untouched)
numbersign [35]
Memory usage unknown (19307 still untouched)
String usage 106&1201 (433&6695 still untouched)
dollar [36]
Memory usage unknown (18307 still untouched)
String usage 106&1201 (433&6695 still untouched)
percent [37]
Memory usage unknown (18307 still untouched)
String usage 106&1201 (424&6189 still untouched)
ampersand [38]
Memory usage unknown (16307 still untouched)
String usage 106&1201 (424&6189 still untouched)
...
 
When it got to "W" the 'memory usage unknown still untouched' was down to a 
few hundred although the string usage remained more or less the same, and 
the error message appeared ....
 
I tried making the same alteration to romanu and running mf on cmr12 and 
noticed that the memory usage stayed the same throughout. 
 
I had assumed that since beginchar and endchar wrap each character in a 
begingroup and endgroup the mf memory usage would remain constant between 
characters. This appears to be wrong. Is there any way to restore the memory 
between characters? 
 
Roger Horne
7 New Square, Lincoln's Inn, London WC2A 3QS

roger@number7.demon.co.uk
rhorne@cix.compulink.co.uk
Technical Details
Message-ID: <memo.585707@cix.compulink.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!cix.compulink.co.uk!rhorne

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!cix.compulink.co.uk!rhorne
Newsgroups: comp.text.tex
From: rhorne@cix.compulink.co.uk (Roger Horne)
Subject: ps2mf
Reply-To: rhorne@cix.compulink.co.uk
Date: Thu, 20 Aug 1992 12:36:36 +0000
Message-ID: <memo.585707@cix.compulink.co.uk>
Sender: usenet@gate.demon.co.uk
Lines: 54