Path: utzoo!attcan!uunet!decwrl!shelby!agate!linus!linus!marsh From: marsh@linus.mitre.org (Ralph Marshall) Newsgroups: comp.lang.postscript Subject: Re: Variable characters Keywords: font, character size Message-ID: <123112@linus.mitre.org> Date: 12 Oct 90 14:46:48 GMT References: <1902@fcs280s.ncifcrf.gov> <21131@well.sf.ca.us> <122961@linus.mitre.org> <293@heaven.woodside.ca.us> Reply-To: marsh@darwin.UUCP (Ralph Marshall 617 271-8784) Organization: The MITRE Corporation, Bedford MA Lines: 33 In an earlier incarnation, I misspoke myself as follows: >>Of course, you can also get the height of the string from stringwidth >>(despite the somewhat misleading name). It leaves both the width and >>height of the string on the stack, taking into account .... > To which Glenn pointed out that PostScript should only be used by professionals who know what they are doing, and not by those of us watching out in net-land who were bound to burn, shock, or lacerate ourselves due to the lack of proper training: >No. The "stringwidth" operator returns the amount by which the current >point will be displaced. It has nothing to do with the toner marks >made on the page and how big they might be. For essentially all Roman >fonts, "stringwidth" returns 0 for the Y component unless your coordinate >system is rotated or something. > >/Glenn --------------------------------------------------------------------------- Ralph Marshall (marsh@linus.mitre.org) Disclaimer: Often wrong but never in doubt... --------------------------------------------------------------------------- -- --------------------------------------------------------------------------- Ralph Marshall (marsh@linus.mitre.org) Disclaimer: Often wrong but never in doubt...