🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3564

Re: concat strings

#3564
From: John Stanley
Date: Mon, 05 Nov 1990 23:42
35 lines
1907 bytes
glenn@heaven.woodside.ca.us (Glenn Reid) writes:
> In article <DAVIS.90Oct31164243@pacific.mps.ohio-state.edu> davis@pacific.mps
> >Hi,
> >
> >   What is the easies way I can concatenate two strings of different fonts t
> >produce a third string?  I don't care if the two original strings are lost i
> >the process-- I only need the result.  An example would be greatly appreciat
> 
> Here's an example string-concatenating procedure that is in my new book,
> "Thinking in PostScript" (which I just saw lots of copies of in our local
> bookstore!); I'll leave out the error checking code that raises a typecheck
> if it isn't passed two strings.

   Is the font information stored with a string, or does the font
information come into play only at the time the string is converted to a
drawable form? (Either a show or charpath or like operation.)

   If the font information is not carried with the string, then
concatenating two strings will mean any drawing/pathing operators that
follow will produce the one resultant string in one font. In other words,
you could NOT concatenate two strings of two different fonts to produce
one string of two fonts. 

   The original post seemed to stress the two fonts combined on one
string. Is this really what the poster requested, or did I misread this?





<> "Aneth!  That's a charming place!" "You've been to Aneth?" 
<> "Yes, but not yet." -- The Doctor and Seth, "The Horns of Nimon".
><
<> "Sanity check!" "Sorry, we can't accept it, it's from out of state." - me
Technical Details
Message-ID: <F2s7R1w163w@phoenix.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wuarchive!udel!rochester!rutgers!cmcl2!uupsi!fozzie!stanley
References: <312@heaven.woodside.ca.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wuarchive!udel!rochester!rutgers!cmcl2!uupsi!fozzie!stanley
From: stanley@phoenix.com (John Stanley)
Newsgroups: comp.lang.postscript
Subject: Re: concat strings
Message-ID: <F2s7R1w163w@phoenix.com>
Date: 5 Nov 90 23:42:26 GMT
References: <312@heaven.woodside.ca.us>
Organization: One Man Brand
Lines: 35