Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!ra!jpensar From: jpensar@ra.abo.fi (Johan Pensar RT) Newsgroups: comp.lang.postscript Subject: Re: Variable characters Keywords: font, character size Message-ID: <385@ra.abo.fi> Date: 11 Oct 90 23:49:07 GMT References: <1902@fcs280s.ncifcrf.gov> <21131@well.sf.ca.us> <122961@linus.mitre.org> Organization: Abo Akademi University Lines: 23 In article <122961@linus.mitre.org> marsh@darwin.UUCP (Ralph Marshall 617 271-8784) writes: >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 all the usual >things such as scales and rotations, actual font, font size, etc., so >it should be suitable for most situations such as picking a scale size >that will allow the text to fit on a business card. > >Ralph Marshall >marsh@linus.mitre.org Ooohhh??, I have allways belived that stringwidth leaves (in a simplified vocabular) the changes of current point in x and y directions that would occur if the string was printed :-) That is, for normal characters, the lowest parameter left on the stack is allways zero, would be something else if japanese was printed (i guess they writes downwards?). Correct me if wrong. -------------------------------------------------------------------------- Johan Pensar Email: jpensar@ra.abo.fi Process Control Laboratory Abo Akademi University FINLAND