Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-12 Thread Rudd, Kevin via ntg-context
{white}{black}{#3}% \fi\fi } \defineeffect[OuterEffect][alternative=outer,rulethickness=0.1pt] \defineeffect[InnerEffect][alternative=inner,rulethickness=0.1pt] \def\makeOutlinedText#1#2#3% {% \hbox% {% \rlap{\color[#1]{\effect[InnerEffect]{#3}}}% \color[#2]{\effect

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-08 Thread Rudd, Kevin via ntg-context
% Any feedback or suggestions would be appreciated. \defineeffect[MyEffect][alternative=outer,rulethickness=.1pt] \starttext start {\effect[MyEffect]{aaa}} \OutlinedText{aaa} and {\red \effect[MyEffect]{Bbb}} \OutlinedText{Bbb} and

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-08 Thread Hans Hagen via ntg-context
  \dp\uBox=\dp\tBox %     \unbox\uBox %     \autoinsertnextspace } Any feedback or suggestions would be appreciated. \defineeffect[MyEffect][alternative=outer,rulethickness=.1pt] \starttext start {\effect[MyEffect]{aaa}} \OutlinedTex

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Hans Hagen
(0,1) withshadecolors (red, blue) ; \stopuseMPgraphic \defineoverlay[MyShade][\useMPgraphic{MyShade}] \setupbackgrounds[page][background=MyShade] \startmakeup \definedfont[SerifBold*default @ 50pt] \setupinterlinespace \defineeffect[MyOutline][alternative=outer,rulethickness

[NTG-context] How to define a {\bf}-compatible fake-bold switcher?

2020-11-07 Thread Sylvain Hubert
Dear List, I'm using a weirdfont that does not have a pre-defined bold variant but still want to emboldening short extracts of text occasionally, so I've defined \defineeffect[thicker][alternative=both,rulethickness=0.3pt] \define\fakebf{\effect[thicker]} but in situations like

Re: [NTG-context] Different size points in ellipsis

2014-03-28 Thread Stéphane Goujet
\ell{{\def\periodswidth{.4em}\periods[5]}} i'd keep the period constant and mess with the ellipses: \defineeffect [ellipses] [alternative=both,rulethickness=.5pt] test \starteffect[ellipses]\textellipsis\stopeffect . Thanks, I did not know about \starteffect. But this make *bigger

Re: [NTG-context] Different size points in ellipsis

2014-03-28 Thread Hans Hagen
: \defineeffect [ellipses] [alternative=both,rulethickness=.5pt] test \starteffect[ellipses]\textellipsis\stopeffect . - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] glyph path

2014-02-20 Thread Hans Hagen
and the result still needs a manual clean-up. % macros=mkvi \definefont[RatherBig][Mono at 60pt] \defineeffect [justone] [alternative=outer,rulethickness=1pt] \defineeffect [justtwo] [alternative=inner] \starttexdefinition example #font#line#text \hbox { \framed [offset=\dimexpr#line/2

Re: [NTG-context] glyph path

2014-02-20 Thread Peter Rolf
to finally get a MP path. Time consuming and the result still needs a manual clean-up. % macros=mkvi \definefont[RatherBig][Mono at 60pt] \defineeffect [justone] [alternative=outer,rulethickness=1pt] \defineeffect [justtwo] [alternative=inner] \starttexdefinition example #font#line#text

Re: [NTG-context] Converting normal font into bold

2013-11-26 Thread Hans Hagen
out well with for instance cursive features) anyhow, as it's probably uses for a rare cases you can try \setupbodyfont[dejavu] \defineeffect [thicker] [alternative=both,rulethickness=0.3pt] \starttext test \starteffect[thicker]test\stopeffect \stoptext these pseudo slant and bold

Re: [NTG-context] Simplefonts

2013-10-13 Thread Zhichu Chen
to behave like that, by the way. Oh, and off the topic, can I use effect to assign the fonts? Like if I have defined = \defineeffect[mybold][alternative=both,rulethickness=\dimexpr\bodyfontsize/10\relax

Re: [NTG-context] Simplefonts

2013-10-13 Thread Wolfgang Schuster
= \defineeffect[mybold][alternative=both,rulethickness=\dimexpr\bodyfontsize/10\relax] = I would like to use this effect to apply to my bold fonts, maybe: = \setupfontfamily [serif] [DejaVu Serif

Re: [NTG-context] glyph outlines

2012-07-18 Thread Jan Kula
. 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

Re: [NTG-context] glyph outlines

2012-07-18 Thread Marco
On 2012-07-18 Jan Kula jano.k...@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

Re: [NTG-context] beta

2010-11-13 Thread Erik Margraf
important ones are \defineviewerlayer[name][options] \startviewerlayer[name]\stopviewerlayer \viewerlayer[name]{...} and \defineeffect[name][options] \starteffect[name]\stopviewerlayer \effect[name]{...} where we have predefined (as with former properties): \defineeffect [inner

[NTG-context] beta

2010-11-12 Thread Hans Hagen
]\stopviewerlayer \viewerlayer[name]{...} and \defineeffect[name][options] \starteffect[name]\stopviewerlayer \effect[name]{...} where we have predefined (as with former properties): \defineeffect [inner] [alternative=inner,rulethickness=.25pt] \defineeffect [outer] [alternative

Re: [NTG-context] beta

2010-11-12 Thread views63
\viewerlayer[name]{...} and \defineeffect[name][options] \starteffect[name]\stopviewerlayer \effect[name]{...} where we have predefined (as with former properties): \defineeffect [inner]   [alternative=inner,rulethickness=.25pt] \defineeffect [outer]   [alternative=outer,rulethickness=.25pt