angus@lfcs.ed.ac.uk (Angus Duggan) (05/19/89)
Does anyone know how to get NeWS1.1 to use more than ~100 fonts? When I define any more (using 'definefont'), I get 'dictfull' errors. I've tried altering the size of FontDirectory by replacing it with a larger dictionary in init.ps, before the directory is filled with font names, but this doesn't work. I need more fonts because I am using NeWS to preview the output of a dvi to postscript filter, which defines the TeX fonts as postscript bitmap fonts. On a related note, 'save' and 'restore' don't seem to delete fonts defined in the middle of a save/restore pair. Is this what the 'pseudo-implemented' comment in the NeWS1.1 manual means (page 151), or is there a way of doing this? I only have the binary distribution available, so please send postscript or binary patches. Thanks, Angus Angus Duggan, Department of Computer Science, | (C) AJCD 1989 University of Edinburgh, JCMB, | USENET: angus@lfcs.ed.ac.uk The King's Buildings, Mayfield Road, | JANET: angus@uk.ac.ed.lfcs Edinburgh, EH9 3JZ, Scotland. | OR: angus%lfcs.ed.ac.uk@nsfnet-relay.ac.uk
don@BRILLIG.UMD.EDU (Don Hopkins) (05/21/89)
Date: 19 May 89 11:22:50 GMT From: mcvax!ukc!etive!lfcs!angus@uunet.uu.net (Angus Duggan) Does anyone know how to get NeWS1.1 to use more than ~100 fonts? [...] Thanks, Angus Angus Duggan, Department of Computer Science, | (C) AJCD 1989 University of Edinburgh, JCMB, | USENET: angus@lfcs.ed.ac.uk The King's Buildings, Mayfield Road, | JANET: angus@uk.ac.ed.lfcs Edinburgh, EH9 3JZ, Scotland. | OR: angus%lfcs.ed.ac.uk@nsfnet-relay.ac.uk You can enlarge the FontDirectory dictionary by using the undocmented 'extend' primative. It takes as arguments a new size and a dictionary; it increases the maximum size, and returns the same dictionary. The following should do what you want: 500 FontDirectory extend pop -Don