[metapost] is it possible to strike glyphs' paths?
Hans Hagen
pragma at wxs.nl
Fri Jan 28 20:34:49 CET 2011
On 28-1-2011 8:23, Dan Luecking wrote:
> At 06:49 PM 1/27/2011, Stephan Hennig wrote:
>
> [Oops, forgot to copy the list]
>
>> > My goal is to make a label on the complex picture more legible, but
>> > unfilling its bbox cuts too much.
>> > The way i use right now is drawing the same picture with white color
>> > shifting it slightly in several directions, but i hope there exists a
>> > correct way to do it.
>>
>> There is a LaTeX package 'contour' that does exactly that, AFAIU. Maybe
>> this helps.
>
> [I tried my best to find this package (using all sorts of searches
> on the word "outline" :) but failed.]
>
> This package does its work (when dvips is the backend driver)
> by embedding raw postscript code in the dvi file, which makes
> its way to the ps file and temporarily redefines the "show"
> command. It should surely be possible to do the same in metapost
> using the withprescript and withpostscript commands.
just make a small tex file and use pstoedit to turn the pdf into an mp
file with outlines (at least that's how it's done in context)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the metapost
mailing list