ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jan Kula <jano.kula@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: glyph outlines
Date: Wed, 18 Jul 2012 20:40:57 +0200	[thread overview]
Message-ID: <ju6vvp$u3h$1@dough.gmane.org> (raw)
In-Reply-To: <jte32h$i0i$1@dough.gmane.org>

Hello to everybody,

On 07/09/2012 10:00 AM, Jan Kula wrote:
> how to draw character outlines for plotter to cut the letters out of the
> plate in mkiv? mmakempy.pdf is over 10 years old, so the situation could
> change since then.
>
> Anyway, even if I stick to the above method, the minimal example
>
> \starttext
> \startMPcode
> graphictext "Test";
> \stopMPcode
> \stoptext
>
> doesn't work as expected in mkiv. *.mpy file is empty.
>
> In mkii error is issued during the run. Ignoring it finally produces the
> outlines, so it seems, everything needed is available (gs, pdftops,
> pstoedit). Anyway, mkiv way is preferred.

Here is the mkiv answer:

% define the spot color for the plotter
\definecolor[CutContour][c=0,m=1,y=0,k=0]
\definespotcolor[Contour][CutContour][p=1]

% here is the outline feature
\defineeffect[outline][alternative=outer,rulethickness=.25pt]

\starttext
\startcolor[Contour]
\definedfont[Serif at 50pt]

\starteffect[outline]
And here is the magic.
\stopeffect

\stopcolor
\stoptext

In this case CutContour is the name of the spot color, which is usually 
used in the industry. Anyway, the plotter can require different spot 
color name, or sometimes you can assign the color to be cut off the 
plate in the plotter software. Consult at your printing house :)

Jano



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2012-07-18 18:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09  8:00 Jan Kula
2012-07-18 18:40 ` Jan Kula [this message]
2012-07-18 19:21   ` Marco

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='ju6vvp$u3h$1@dough.gmane.org' \
    --to=jano.kula@gmail.com \
    --cc=ntg-context@ntg.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).