[NTG-context] graphictext bug?

Thangalin thangalin at gmail.com
Fri Oct 11 06:41:11 CEST 2013


>From the October 8, 2010 context mkiv MetaFun manual (section 8.6),
the following example does not produce any output beyond the caption:

  picture one ;
  one := image(
    graphictext \MPstring{inputtext}
      scaled 1.5
      withdrawcolor .625blue
      withfillcolor .625white
      withpen pencircle scaled 1pt;
  picture two ;
  two := image(
    graphictext \MPstring{author}
      scaled 2
      withdrawcolor .625red
      withfillcolor .625white
      withpen pencircle scaled 2pt ;
    ) ;
  currentpicture := one ;
  addto currentpicture also two
    shifted lrcorner one
    shifted - 1.125 lrcorner two
    shifted (0, - 1.250 * ypart urcorner two) ;
  setbounds currentpicture to boundingbox currentpicture enlarged 3pt ;

  \setMPtext{inputtext} {\vbox{\hsize 8.5cm \input zapf }}
  \setMPtext{author}{\hbox{\sl Hermann Zapf}}

  \placefigure{A text does not need to be an outline in order to be
typeset in an outline font.}

Expected Results

Outlined text, as presented in section 8.6.

Actual Results

Mostly blank page. (Note, I changed "text" to "inputtext" to make sure
I wasn't using a keyword. The manual uses "text".)


$ context --version

mtx-context     | ConTeXt Process Management 0.60
mtx-context     |
mtx-context     | main context file:
mtx-context     | current version: 2013.10.10 17:47

64-bit Linux

Kindest regards.

More information about the ntg-context mailing list