Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!rice!brazos.rice.edu!jiang From: jiang@hbar.rice.edu (Jun Jiang) Newsgroups: comp.lang.postscript Subject: IS there a way to know char sizes outside PostScript ? Message-ID: Date: 16 Jul 90 14:36:28 GMT Sender: root@rice.edu Distribution: comp Organization: Chemistry Department, Rice University Lines: 12 I need some information about the character sizes of all PostScript fonts. My problem is this has to be known outside PostScript. Is there a good way to get this information ? The only way I could think of right now is to printout the character sizes and then enter them into a data file (to build a font-width table). This involves a lot of tedious typing. I tried to use the _writestring_ command in PostScript, but failed to write the relevent information into a file. So if anyone could give me some instruction about how to read and write files in PostScript, it will be really appreciated.