🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #18

Centering Text

#18
From: Ted_Weimer
Date: Fri, 23 Jan 2009 16:49
5 lines
946 bytes
Is there a way to code the line so it will center on the page without my recalculating the values (161.88 is the horizontal position of the moveto obviously) This particular line was origionally generated with Quark 3 and I use some moveto operators similar to this in my application. The vertical must be 410.05 as this text is 'envelope' sensitive.

161.88 410.05 m .5 5 24 175.25 (Certificate of Coverage)d

Thanks TGW
Technical Details
Message-ID: <59b7a6d8.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,fc8ee9deb0c99d17,start
X-Google-Attributes: gid10c61a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Ted_Weimer@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.postscript.programming
Subject: Centering Text
Message-ID: <59b7a6d8.-1@webcrossing.la2eafNXanI>
Date: Fri, 23 Jan 2009 08:49:20 -0800
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit