🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4146

Can I calculate the size of a PostScript text?

#4146
From: Gerben Wierda
Date: Wed, 14 Oct 1992 11:09
12 lines
1038 bytes
For a treedrawing program I want to write, I want to draw a box depending on
the size of the text in that box. Is there a way (like in TeX) to get the size
of some piece of text in PostScript?

Thanks in advance,


-- 
wierda@ltb.bso.nl (Gerben Wierda)     ||    #include <std/disclaimer.h>. Support
NeXTmail: gerben@rna.indiv.nluug.nl   ||    the League for Programming Freedom!
    "If you don't know where you are going, any road will take you there."
    (From the Talmud(?), rephrased in) Lewis Carroll, "Alice in Wonderland".
Technical Details
Message-ID: <2105@ltb.ltb.bso.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!gatech!darwin.sura.net!jvnc.net!gmd.de!Germany.EU.net!mcsun!sun4nl!ltb!wierda

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!gatech!darwin.sura.net!jvnc.net!gmd.de!Germany.EU.net!mcsun!sun4nl!ltb!wierda
From: wierda@ltb.ltb.bso.nl (Gerben Wierda)
Newsgroups: comp.lang.postscript,comp.sys.next.programmer
Subject: Can I calculate the size of a PostScript text?
Message-ID: <2105@ltb.ltb.bso.nl>
Date: 14 Oct 92 11:09:15 GMT
Reply-To: gerben@rna.indiv.nluug.nl
Followup-To: comp.lang.postscript
Organization: BSO/LT, Baarn, The Netherlands
Lines: 12