ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* glyph outlines
@ 2012-07-09  8:00 Jan Kula
  2012-07-18 18:40 ` Jan Kula
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kula @ 2012-07-09  8:00 UTC (permalink / raw)
  To: ntg-context

Hello to everybody,

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.

Thanks for the help,

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glyph outlines
  2012-07-09  8:00 glyph outlines Jan Kula
@ 2012-07-18 18:40 ` Jan Kula
  2012-07-18 19:21   ` Marco
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kula @ 2012-07-18 18:40 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glyph outlines
  2012-07-18 18:40 ` Jan Kula
@ 2012-07-18 19:21   ` Marco
  0 siblings, 0 replies; 3+ messages in thread
From: Marco @ 2012-07-18 19:21 UTC (permalink / raw)
  To: ntg-context

On 2012-07-18 Jan Kula <jano.kula@gmail.com> wrote:

> 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

Feel free to add this information to the wiki, since it remains
silent about this command until now.

Marco


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-18 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-09  8:00 glyph outlines Jan Kula
2012-07-18 18:40 ` Jan Kula
2012-07-18 19:21   ` Marco

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).