ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] framed: rounded corner oddity
@ 2023-12-05 20:16 Henning Hraban Ramm
  0 siblings, 0 replies; only message in thread
From: Henning Hraban Ramm @ 2023-12-05 20:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

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

[-- Attachment #2: framed-green.png --]
[-- Type: image/png, Size: 28959 bytes --]

[-- Attachment #3: framed-yellow.png --]
[-- Type: image/png, Size: 35039 bytes --]

[-- Attachment #4: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-05 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-05 20:16 [NTG-context] framed: rounded corner oddity Henning Hraban Ramm

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