ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: another nice new metapost trick: outline fonts
Date: Fri, 15 Dec 2000 14:01:04 +0100	[thread overview]
Message-ID: <3.0.6.32.20001215140104.015161c0@pop.wxs.nl> (raw)
In-Reply-To: <3.0.6.32.20001214104932.01ad23e0@pop.wxs.nl>

Hi, 

After playing a bit with pstoedit i was able to cook up a utility that
enables metapost to handle outline fonts; think of: 

beginfig (1) ;
  graphictext
    "\framed[frame=off,width=10cm,align=normal]{\input tufte }"
    scaled 8
  % slanted .2
    withdrawcolor blue
    withfillcolor red
    withpen pencircle scaled 2pt ;
endfig ;

This also works in macros [like textext does] and uses makempy [a simple
perl script] to prepare a file suitable for mp. This is a rather generic
feature btw. An example can be found at:  

  http://www.pragma-ade.com/pragma-tmp/metafun/outline-1.pdf

The other trick, embedded graphics, can be found at:

  http://www.pragma-ade.com/pragma-tmp/metafun/metajoke.pdf

So, now we can make fancy titlepages, 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


      reply	other threads:[~2000-12-15 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3.0.6.32.20001213072304.0128f1d0@pop.wxs.nl>
     [not found] ` <Pine.LNX.4.30.0012130737160.31521-100000@simux.mecanica.up m.es>
2000-12-14  9:49   ` graphics inclusion in metapost (real weird metafun) Hans Hagen
2000-12-15 13:01     ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3.0.6.32.20001215140104.015161c0@pop.wxs.nl \
    --to=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).