I want to generate some graphics that contain framed texts with rounded corners that display correctly in the Working
and PrintOut
environment. For example,
Graphics[{Inset@Framed[Text[Foobar], RoundingRadius -> 15]}]
generates the first of the following two boxes in a notebook, which is what I want.
[![Framed Text in Working and PrintOut][1]][1]
However, when I export my notebook to pdf or print it then the frame will look like the second box in the picture, which I do not want. I can fix the second box by using a smaller RoundingRadius
but then the box looks almost like a rectangular frame in my notebook.
How can I get a frame with rounded corners that looks like the first example the Working
and PrintOut
environment?
(I do not want to use the Working environment when printing because then font sizes and such will also change.) [1]: https://i.sstatic.net/U8TiJ.png