Article View: comp.lang.postscript
Article #442Re: Underline font
From: Vidiot
Date: Thu, 09 Apr 1992 16:59
Date: Thu, 09 Apr 1992 16:59
25 lines
1634 bytes
1634 bytes
In article <1992Apr7.024443.20428@serval.net.wsu.edu> hakimian@yoda.eecs.wsu.edu (Karl Hakimian - staff) writes:
<This may be a stupid question, but how do you under line a word in a particular
<font?
<
<What I hope the answer is not is to draw a line under it. Fonts seem to come
<with underline information built in (ie. underline postion and underline width).
<How do you use this information.
You draw a line under it. Sorry, but PostScript fonts do not have underline
stuff in them, only the info about the character itself.
<If this is an easy question and I overlooked the obvious, please give me the
<answer along with the flames. :-)
<
<BTW I looked in the three Adobe books to find an example of underlined text. I
<did not see any.
Since you know the starting point of the text, you determine the length of
the string, drop down a point or two and draw a line of string length. That
is a simple way of doing it.
--
harvard\ att!nicmad\ spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot ucbvax!uwvax..........!astroatc!vidiot!brown
rutgers/ INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
brown@wi.extrel.com
Technical Details
Message-ID:
<3245@vidiot.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!uwvax!astroatc!vidiot!brownReferences:
<1992Apr7.024443.20428@serval.net.wsu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!uwvax!astroatc!vidiot!brown From: brown@vidiot.UUCP (Vidiot) Newsgroups: comp.lang.postscript Subject: Re: Underline font Keywords: underline font faq Message-ID: <3245@vidiot.UUCP> Date: 9 Apr 92 16:59:02 GMT References: <1992Apr7.024443.20428@serval.net.wsu.edu> Reply-To: brown@vidiot.UUCP (Vidiot) Organization: Vidiot's Hangout Lines: 25