Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1645

Re: Showing text along a path

From Mark Carroll <mtbc@bcs.org>
Newsgroups comp.lang.postscript
Subject Re: Showing text along a path
Date 2013-09-24 09:02 +0100
Organization none
Message-ID <87ppryprz8.fsf@ixod.org> (permalink)
References <f759025c-7e4a-42e0-a907-df0f73510733@googlegroups.com> <322836da-5d55-4454-800b-c1d85da13b4d@googlegroups.com>

Show all headers | View raw


luser- -droog <mijoryx@yahoo.com> writes:

>   /Courier 10 selectfont   %... must have a font set
>   (str) false charpath
>      flattenpath pathbbox  % left bottom right top
>      3 2 roll sub          % left right top-bottom
>      3 1 roll exch sub     % top-bottom right-left
>      exch                  % width height

Out of curiosity, can you also ask for the font metrics and find out the
height without actually processing the path? (It's been a while since I
looked at font stuff.)

-- Mark

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Showing text along a path buddymash67@gmail.com - 2013-09-23 12:58 -0700
  Re: Showing text along a path luser- -droog <mijoryx@yahoo.com> - 2013-09-23 21:50 -0700
    Re: Showing text along a path Mark Carroll <mtbc@bcs.org> - 2013-09-24 09:02 +0100
      Re: Showing text along a path luser- -droog <mijoryx@yahoo.com> - 2013-09-24 01:59 -0700
  Re: Showing text along a path buddymash67@gmail.com - 2013-09-25 11:49 -0700
    Re: Showing text along a path luser- -droog <mijoryx@yahoo.com> - 2013-09-26 00:18 -0700

csiph-web