🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6120

letter height

#6120
From: Kris Lockyear
Date: Mon, 27 May 1991 11:43
16 lines
1167 bytes
This is a second attempt to mail this group so apologies if it appears
twice!

I want a short piece of code to find out the dimensions of a single
character. More specifically, the height from the baseline to the top
of the letter.  This is because I want to occaisionally invert a
letter in a word eg HELEN with the N upside down.  I have written the
code so that I can invert the letter, but not so I know how much
upwards I have to move it  ( the textheight used in scalefont is the
maximum height from the tail of a letter like y to the top of a
capital.)

I am not a PS hacker!  Please could you mail me direct.

Many thanks,   Kris Lockyear  kl88a@uk.ac.soton.ecs
			      kl88a@ecs.soton.ac.uk
Technical Details
Message-ID: <KL88A.91May27124328@cameron.ecs.soton.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!ukc!icdoc!sot-ecs!kl88a

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!ukc!icdoc!sot-ecs!kl88a
From: kl88a@ecs.soton.ac.uk (Kris Lockyear)
Newsgroups: comp.lang.postscript
Subject: letter height
Message-ID: <KL88A.91May27124328@cameron.ecs.soton.ac.uk>
Date: 27 May 91 11:43:28 GMT
Sender: news@ecs.soton.ac.uk
Distribution: comp.lang.postscript
Organization: Southampton University Computer Science
Lines: 16