Re: [NTG-context] drop shadow
On 9/7/2018 2:52 PM, Henning Hraban Ramm wrote:
Hi Hans, here's my drop shadow experiment.
The first output is good enough, but I'd like the shadow to adapt automatically to the current font size. I guess you know how to do that...
Even better would be some kind of drop shadow that follows arbitrary shapes, maybe even letters (like drop shadows e.g. in InDesign do). \startuniqueMPgraphic{mpnewshadow}{offset} MyOffset := \MPvar{offset} ; ... ... OverlayWidth ...
\defineoverlay[newshadow][\uniqueMPgraphic{mpnewshadow}{offset=.3em}] you use unique graphics ... so you need to make sure that offset is part of the uniqueness Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (1)
-
Hans Hagen