Hi,

in my ConTeXt book, some examples for \framed with rounded corners look odd, as if the MetaPost calculation of rounded corners fails.

I can’t find a minimal example that shows the problem, and I can’t imagine which of the settings in my extensive environment would cause it.

Find below the code that works on its own, but causes the results as shown in the attachments within my book. There’s nowhere a \setupframed, and nothing that should influence MetaPost.

Do you have any clue for what I should look?

Hraban

\starttext

\framed[
  rulethickness=1pt,
  offset=0.5em,
  background=color,
  backgroundcolor=yellow,
  framecorner=13,
  backgroundcorner=07,
  backgroundoffset=0.5em,
]{Das Runde muss ins Eckige}

\blank

\framed[
  frame=on,
  corner=round,
  frameoffset=0.5em,
  framecolor=black,
  background=color,
  backgroundcolor=darkgreen,
  backgroundoffset=1em,
  foregroundcolor=white,
  foregroundstyle={\ss\bf},
]{Komm ins Grüne!}

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to